SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Queue blocking on badly populated RAconnect statement

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Queue blocking on badly populated RAconnect statement
Author Message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Queue blocking on badly populated RAconnect statement Reply with quote
We experienced an issue with a job blocking the queue it was in entirely until the scheduler was restarted some time later, it did not show in queue monitor but no other scheduled jobs ran in that queue.

The problem appears to have been due to the following statement

RAConnect( agent, agentport, username, pwd )

all of the arguments are variables populated previously, notably the 'agent' one. That is pulled in using inifilegetkey from a config file but at the time the entry did not exist in the config file causing the issue.

The schedule.log reported the following
An error occurred while executing automation script: Line 10: Line 65: Remote Access Error: recv call failed.

I'm not concerned about the failure itself more the queue blocking behaviour. I've set the job up to run asynch in case it happens again for another reason
Wed Aug 13, 2008 6:10 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Reply with quote
I think the remote connection error somehow made the job to hang. It is possible that one of the DLLs used in the middleware didn't unload and the job got stuck. To avoid this in the future, please set the job to run detached.

In case the job is already running detached and started from a service, it is possible the process crashed, but you couldn't see the system error that on the screen. The invisible message could also hang the queue, because from the queue point of view the process haven't completed yet and still running. You may want to check Windows event logs log for occurrences of "...Application…" error around the time that job failed.

In any case, please ensure the job is set to run detached.


FYI. The next maintenance release will support timeouts for detached script type jobs. This could also be helpful in the situations like your, because a job with timeout can be forcedly terminated in case it hangs.
Wed Aug 13, 2008 6:47 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Reply with quote
Just case, version 3.4.33 is now available. This can help you to deal with stagnant script type jobs.
Fri Aug 15, 2008 12:27 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.