SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Jobs Stuck "Running" in [default] qu

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Jobs Stuck "Running" in [default] qu
Author Message
Merrick Stemen



Joined: 08 Jul 2003
Posts: 11

Post Jobs Stuck "Running" in [default] queue Reply with quote

I am running 24x7 version 3.4.5 registered on a Windows XP Pro system. I have a scheduled JAL script that runs 8 separate VB script jobs.
(I also have a similar one that runs 20 VB script jobs.)

Some of the VB script jobs are marked to run detached, others are not. None of the jobs run asynchronous. When run on this system, everything works fine; however, when they are run on our test server, which has 24x7 version 3.4.10a, the JAL job goes into the queue and sits there with a status of "Running".
The queue monitor says:
Queue |Job#|Time Queued |Priority|Status |JobID|Job Name |Time Job Started |Size |Size in Q|Ratio|
[default]|1 |7/15/2003 15:15:00|Normal |Running|134 |Run Weekly Report|7/15/2003 15:15:01|1,706|762 |55.3%|

The job started 7/15/2003 15:15:00; it is currently 7/16/2003 08:45:00, and this job is still in there with a whole lot of other ones behind it.

The server is a Windows 2000 SP 3 1.6 GHz Xeon Server dual processors with 3 GB RAM.

I have been having this problem regularly. I will schedule a job, 24x7 will be counting down to execution, the time will reach zero, there's a pause, and then that's it: job in queue forever until I kill 24x7. If I click Run Now, everything works fine on both systems, but that kind of defeats the purpose of scheduling...

Do you have any ideas?

Wed Jul 16, 2003 9:56 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Jobs Stuck "Running" in [default] qu Reply with quote

24x7 is waiting for the operation system (more specifically from the Windows Scripting Host) to report that the process is completed, but it does not get that message. As a result the job state remains running and the job itself remains staying in the queue.

Here is what I would like to suggest as a workaround:

1. Copy scripts from your VBS jobs to external files with .VBS extension
2. Change type of each of these jobs from "run script" to "run program or document file". Select saved .VBS files as documents to run.
3. Set each job to synchronous and set some reasonable timeout value. In case if your VBScript hangs the job will kill it after the specified timeout value.

This should get your going and make your system more reliable than it is now.

: I am running 24x7 version 3.4.5 registered on a Windows XP Pro system. I have
: a scheduled JAL script that runs 8 separate VB script jobs.
: (I also have a similar one that runs 20 VB script jobs.)

: Some of the VB script jobs are marked to run detached, others are not. None
: of the jobs run asynchronous. When run on this system, everything works
: fine; however, when they are run on our test server, which has 24x7
: version 3.4.10a, the JAL job goes into the queue and sits there with a
: status of "Running".
: The queue monitor says: Queue |Job#|Time Queued |Priority|Status |JobID|Job
: Name |Time Job Started |Size |Size in Q|Ratio|
: [default]|1 |7/15/2003 15:15:00|Normal |Running|134 |Run Weekly
: Report|7/15/2003 15:15:01|1,706|762 |55.3%|

: The job started 7/15/2003 15:15:00; it is currently 7/16/2003 08:45:00, and
: this job is still in there with a whole lot of other ones behind it.

: The server is a Windows 2000 SP 3 1.6 GHz Xeon Server dual processors with 3
: GB RAM.

: I have been having this problem regularly. I will schedule a job, 24x7 will
: be counting down to execution, the time will reach zero, there's a pause,
: and then that's it: job in queue forever until I kill 24x7. If I click Run
: Now, everything works fine on both systems, but that kind of defeats the
: purpose of scheduling...

: Do you have any ideas?

Wed Jul 16, 2003 2:28 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.