SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Job hangs - leads other jobs to wait in the qu

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Job hangs - leads other jobs to wait in the qu
Author Message
Thahseen Mohammed



Joined: 11 Nov 2004
Posts: 3

Post Job hangs - leads other jobs to wait in the queue Reply with quote

We are facing the following issue. Sometimes a job just hangs ( does not exit after completion )
which makes other jobs to wait in the queue , until we shutdown and restart the program itself.
What can be done to prevent this from happening ?

Thu Nov 11, 2004 9:56 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Job hangs - leads other jobs to wait in the qu Reply with quote

Set the job to run detached to physically separate it from the scheduler.

If by itself this doesn't solve the problem create another helper job that will launch this one and then kill it after certain time in cases if it hangs. You can use RunAndWait "24x7 /JOB [job id] ...." for this purpose. Please search this message board for detailed "how-to" instructions. This issues has been discussed several times.

: We are facing the following issue. Sometimes a job just hangs ( does not exit
: after completion )
: which makes other jobs to wait in the queue , until we shutdown and restart
: the program itself.
: What can be done to prevent this from happening ?

Thu Nov 11, 2004 11:01 am View user's profile Send private message
Thahseen Mohammed



Joined: 11 Nov 2004
Posts: 3

Post Re: Job hangs - leads other jobs to wait in the qu Reply with quote

It is not possible to single out a job which hangs.
Any job could hang at any time. How can RunAndWait help in this case ?
We had selected detached in the past , it didn't help.
The Asynchronous option - says that it will help other jobs in the sames Queue
run simultaneously , we have tried that too, why doesn't it work ?
We will try to create a separate queue for this job

: Set the job to run detached to physically separate it from the scheduler.

: If by itself this doesn't solve the problem create another helper job that
: will launch this one and then kill it after certain time in cases if it
: hangs. You can use RunAndWait "24x7 /JOB [job id] ...." for this
: purpose. Please search this message board for detailed "how-to"
: instructions. This issues has been discussed several times.

Thu Nov 11, 2004 11:43 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Job hangs - leads other jobs to wait in the qu Reply with quote

From your description I can guess that the job hungs while executing notification action, that's why nether async. or detached help. What do you do on the job completion?

: It is not possible to single out a job which hangs.
: Any job could hang at any time. How can RunAndWait help in this case ?
: We had selected detached in the past , it didn't help.
: The Asynchronous option - says that it will help other jobs in the sames
: Queue
: run simultaneously , we have tried that too, why doesn't it work ?
: We will try to create a separate queue for this job

Thu Nov 11, 2004 1:23 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.