Page 1 of 1

Job Run delayed

Posted: Tue Jul 21, 2009 8:56 am
by abhishekachrekar
Hi,

One of our sequence takes 1 hour to complete in production.
The sequence contains 3 jobs and 2 routines.

After investigating why it takes so long to complete, I saw that the sequence halts for half an hour after it finishes a routine and before calling the next job.

The sequence is run 5 times a day and in all the runs the same thing is observed. It halts for half an hour at the same area in all the runs.

I was thinking that it might be a server issue but the question (why it halts at the same point and for the same duration and in all the runs) is troubling me.

Has anyone encountered similar issue before?

Posted: Tue Jul 21, 2009 8:59 am
by ArndW
Identify which UNIX process is running the sequence and, while it is "hanging" use the UNIX "truss" command to see what, if anything, it might be doing. This generates a lot of output, but important is to see if it is actually doing stuff (like seeks) or waiting (sleep).

Posted: Wed Jul 22, 2009 5:22 am
by abhishekachrekar
Hi,

The issue is fixed now. The job whose call was delayed by half an hour had huge logs. Hence it was taking time to span it in the sequence.
Now we have cleared the logs of that job, reimported the job again and now the sequence finishes in less than a minute.

Thanks for the help ArndW.