SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Remote Job Freezing and blocking 24x7

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Remote Job Freezing and blocking 24x7
Author Message
Mauricio



Joined: 31 Dec 2002
Posts: 6

Post Remote Job Freezing and blocking 24x7 Reply with quote

Hi,

I have been having a recurring problem. I have a 24x7 job that runs as a remote job. The master scheduler (A) launches this job to run in server B. I have a monitor that checks if server B is alive. Every now and then (not particular conditions identified so far) the job freezes while running on B, therefore holding the process in A (I run it as detached synchronous job). The 24x7 in B doesn't respond anymore, and the job that monitors if it is still alive, hangs too.

So, there are two problems we have:
(1) The job that runs and hangs (blocking the 24x7)
(2) The monitor job for B hangs in the queue (this monitor runs every 30 min, so it starts running about 10 min. after the other job has been running)

Any ideas?
Is there a way to monitor the queues so we know when a job has been in the queue for more than X minutes?

Thanks,

-Mauricio

Thu Mar 24, 2005 12:38 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Remote Job Freezing and blocking 24x7 Reply with quote

I would like to suggest a worker-runner method for this situation. Create another job, let call it a "runner", let's call your current job a "worker". Set the schedule of the runner job to much your worker job and then set the schedule of the worker to none [no schedule]

The runner job could be a simple program type job with a command line like "24x7 /JOB worker" and it should be set to run synchronous and have a timeout of let's say 30 minutes. This way if the worker job hangs the runner will kill it 30 minutes after job start. You can of course configure email notification action in the runner job so it can email you whenever it has to terminate the worker job.

: Hi,

: I have been having a recurring problem. I have a 24x7 job that runs as a
: remote job. The master scheduler (A) launches this job to run in server B.
: I have a monitor that checks if server B is alive. Every now and then (not
: particular conditions identified so far) the job freezes while running on
: B, therefore holding the process in A (I run it as detached synchronous
: job). The 24x7 in B doesn't respond anymore, and the job that monitors if
: it is still alive, hangs too.

: So, there are two problems we have: (1) The job that runs and hangs (blocking
: the 24x7)
: (2) The monitor job for B hangs in the queue (this monitor runs every 30 min,
: so it starts running about 10 min. after the other job has been running)

: Any ideas?
: Is there a way to monitor the queues so we know when a job has been in the
: queue for more than X minutes?

: Thanks,

: -Mauricio

Thu Mar 24, 2005 12:51 pm View user's profile Send private message
Mauricio



Joined: 31 Dec 2002
Posts: 6

Post Re: Remote Job Freezing and blocking 24x7 Reply with quote

Thanks,

Is there a reason why it hangs?
I have about 50 jobs that do similar things so, chances that it happens again are high.

: I would like to suggest a worker-runner method for this situation. Create
: another job, let call it a "runner", let's call your current job
: a "worker". Set the schedule of the runner job to much your
: worker job and then set the schedule of the worker to none [no schedule]

: The runner job could be a simple program type job with a command line like
: "24x7 /JOB worker" and it should be set to run synchronous and
: have a timeout of let's say 30 minutes. This way if the worker job hangs
: the runner will kill it 30 minutes after job start. You can of course
: configure email notification action in the runner job so it can email you
: whenever it has to terminate the worker job.

Thu Mar 24, 2005 1:17 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Remote Job Freezing and blocking 24x7 Reply with quote

So far we don't know anything about the job or the system. For beginning please check the schedule.log on the B for any error messages. Also check Windows Application Event Leg for related events or problems reported in there. If nothing obvious comes up, turn on the tracing option in Tools/Options menu (Log page) on B and let it run until it hangs. Check the trace and let us know what it was dong last.

: Thanks,

: Is there a reason why it hangs?
: I have about 50 jobs that do similar things so, chances that it happens again
: are high.

Thu Mar 24, 2005 1:53 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.