SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Semaphore Ignored : already queued

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Semaphore Ignored : already queued
Author Message
Don Macary



Joined: 13 Aug 2003
Posts: 51

Post Semaphore Ignored : already queued Reply with quote

I'm having an intermittent problem where
jobs that start from a file trigger are
receiving the message

semaphore file is ignored because the
job is already queued.

The jobs that receive this error are all
run async (their BAT files),
using the default queue.

Most of the time it works fine (and it never
fails except at one customer site) . Once
it fails , it takes a restart of the 24x7
service to get things running again.

can you shed any light on this problem?
thanks

Tue Sep 02, 2003 11:55 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Semaphore Ignored : already queued Reply with quote

Let's say you setup a file watch job to check for certain files every 3 minutes.

When 24x7 finds that file it submits the job to the queue; 3 minutes later it checks for the file again and finds it again, but the submitted job is still waiting in the queue. To avoid multiple instances of the same job 24x7 ignores this event and simply writes a warning to the job log.

: I'm having an intermittent problem where
: jobs that start from a file trigger are
: receiving the message

: semaphore file is ignored because the
: job is already queued.

: The jobs that receive this error are all
: run async (their BAT files),
: using the default queue.

: Most of the time it works fine (and it never
: fails except at one customer site) . Once
: it fails , it takes a restart of the 24x7
: service to get things running again.

: can you shed any light on this problem?
: thanks

Tue Sep 02, 2003 1:11 pm View user's profile Send private message
Don Macary



Joined: 13 Aug 2003
Posts: 51

Post Re: Semaphore Ignored : already queued Reply with quote

: Let's say you setup a file watch job to check for certain files every 3
: minutes.

: When 24x7 finds that file it submits the job to the queue; 3 minutes later it
: checks for the file again and finds it again, but the submitted job is
: still waiting in the queue. To avoid multiple instances of the same job
: 24x7 ignores this event and simply writes a warning to the job log.

Ok, I understand that. I guess I'm wondering why in this instance the
jobs don't just start. Most of the time the job starts running right
after the trigger file is found. In this case , the jobs don't start
and I get the already queued message but there isn't an instance of the
job currently running.

Could it be the queue size is being exceeded. Would changing the
queue size help prevent this?


Tue Sep 02, 2003 2:51 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7963

Post Re: Semaphore Ignored : already queued Reply with quote

The default queue size normally can fit hundreds and hundres of jobs.

I still think you have other jobs running at that time that cause delays.

You can simply create another queue (Tools/Job Queues menu) and put those file watch jobs into the new queue if you don't want them to be delayed by other jobs.

: Ok, I understand that. I guess I'm wondering why in this instance the
: jobs don't just start. Most of the time the job starts running right
: after the trigger file is found. In this case , the jobs don't start
: and I get the already queued message but there isn't an instance of the
: job currently running.

: Could it be the queue size is being exceeded. Would changing the
: queue size help prevent this?

Tue Sep 02, 2003 4:23 pm View user's profile Send private message
Don Macary



Joined: 13 Aug 2003
Posts: 51

Post Re: Semaphore Ignored : already queued Reply with quote

I started 24x7 on the desktop and left the queue monitor
open so I could monitor this situation. What I found is this:
periodically a job completes but its status is still listed as
"RUNNING". All other jobs in that queue are left waiting.
Can you tell me why a completed job would be left in a "RUNNING"
state?
This problem:
a) doesn't happen at other customers sites running the same
application and 24x7 setup;
b) only started happening when this one customer moved

24x7 to its own server

Thanks for any help.

: The default queue size normally can fit hundreds and hundres of jobs.

: I still think you have other jobs running at that time that cause delays.

: You can simply create another queue (Tools/Job Queues menu) and put those
: file watch jobs into the new queue if you don't want them to be delayed by
: other jobs.

Mon Sep 22, 2003 11:04 am 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.