Operating System - OpenVMS
1748209 Members
2804 Online
108759 Solutions
New Discussion юеВ

Re: 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 11
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