Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

QUEUEwith /job_limit=15 has only 5 jobs running ?

 
SOLVED
Go to solution
Chaim Budnick
Regular Advisor

QUEUEwith /job_limit=15 has only 5 jobs running ?

I have a batch queue with a job_limit of 15 yet there are ONLY 5 jobs executing and the rest of the jobs are PENDING?

Chaim
11 REPLIES
Uwe Zessin
Honored Contributor
Solution

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

Does a SHOW QUEUE/FULL show the reason?
.
Chaim Budnick
Regular Advisor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

You are correct, I didn't notice that the queue is "avaikable, stop pending"!

How do I get it out of this state?

Chaim
Uwe Zessin
Honored Contributor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

I think a 'START/QUEUE' will fix it.
.
Volker Halle
Honored Contributor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

Chaim,

someone seems to have done a STOP/QUE/NEXT on that queue. The queue will automatically go from 'stop pending' to 'stopped' state, if the last executing batch job has terminated.

You can issue a START/QUEUE command and the 'stop pending' state will disappear, so pending batch jobs can start executing (up to /JOB_LIMIT).

Volker.
Chaim Budnick
Regular Advisor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

START/QUE doesn't seem to help!

The queue returns to the "stop pending" state. This is after either stiop/que or stop/que/res command.

Chaim
Bojan Nemec
Honored Contributor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

Chaim,

Maybe a DISABLE AUTOSTART was issued and the queue is autostart.

Bojan
Volker Halle
Honored Contributor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

Chaim,

did you also check with SHOW QUEUE/FULL/ALL ? They may be other jobs executing in that queue from other users (not in your UIC group).

Enable your terminal as an OPERATOR terminal and re-try the START/QUEUE command - maybe there is some error causing the job to fail and causing the queue to be set to 'stop pending'.

Volker.
Chaim Budnick
Regular Advisor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

The queue contained some 400 jobs pending!

What I did was to create a temporary batch queue and with assig/merge xferred all the jobs to that queue. Then restarted the sys$batch.

Afterwaeds I requeued several jobs which required being executed. After which I deleted the temp queue.

The sys$batch now seems to be in good shape.

Is there any other way a queue can get into this state other than by a stop/next command?

Chaim
Chaim Budnick
Regular Advisor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

I checked before and the queue was NOT with /AUTO

Chaim
Antoniov.
Honored Contributor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

Chaim,
may be retained entries in queue; some entry terminated with error and queue manager hold it in queue; see HELP SET QUE /RETAIN.

Antonio Vigliotti
Antonio Maria Vigliotti
Chaim Budnick
Regular Advisor

Re: QUEUEwith /job_limit=15 has only 5 jobs running ?

No, there are no retained jobs. What there is is a process runnung all the time which submits a job to this queue every somany seconds. Since the queue was stopped pending nothing new was running and the queue was vasically stalled since there are 5 jobs on the queue which run :forever".

Chaim