Operating System - OpenVMS
1753329 Members
5214 Online
108792 Solutions
New Discussion юеВ

Re: QUEUE enters a "Stopped Pending" state

 
SOLVED
Go to solution
Chaim Budnick
Regular Advisor

QUEUE enters a "Stopped Pending" state

OpenVMS V7.1-2

At one of our customer sites, over the last week the sys$batch queue has entered a "Stopped Pending" state, and I am absolutely certain that NOONE has entered any STOP/QUEUE command whatsoever.

The job_limit on the queue is 15, and there are several jobs which run perpetually on this queue, such that once the state is entered the queue basically starts accumulating jobs since it will NEVER get to a stopped state as long as the "perpetual" jobs are still executing.

Chaim
22 REPLIES 22
Ian Miller.
Honored Contributor

Re: QUEUE enters a "Stopped Pending" state

Is it this queue again?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=715621

You could try setting an alarm ACE on the queue to see if there is something doing a STOP/QUEUE.
____________________
Purely Personal Opinion
Uwe Zessin
Honored Contributor
Solution

Re: QUEUE enters a "Stopped Pending" state

Is it possible that you are running out of process slots? (just a guess)

I would check OPERATOR.LOG for any messages.
.
Ian Miller.
Honored Contributor

Re: QUEUE enters a "Stopped Pending" state

I thought Id post the syntax as its a bit odd.

$ set sec/class=queue sys$batch/acl=(audit=security,access=manage+succ+fail)
____________________
Purely Personal Opinion
Bojan Nemec
Honored Contributor

Re: QUEUE enters a "Stopped Pending" state

Chaim,

Follow Ians suggestion.

Check the sys$manager:operator.log file for any errors regarding the queue manager. For a fast scan jou can do a search sys$manager:operator.log JBC . Most of queue errors are reported by the Job controller.

Bojan
Chaim Budnick
Regular Advisor

Re: QUEUE enters a "Stopped Pending" state

BINGO!

%%%%%%%%%%% OPCOM 18-OCT-2004 12:45:06.19 %%%%%%%%%%%
Message from user JOB_CONTROL on ALFMEN
%JBC-E-FAILCREPRC, job controller could not create a process

%%%%%%%%%%% OPCOM 18-OCT-2004 12:45:06.19 %%%%%%%%%%%
Message from user JOB_CONTROL on ALFMEN
-SYSTEM-F-NOSLOT, no PCB available
***************
-SYSTEM-F-NOSLOT, no PCB available

Increase MAXPROCESSCNT ?

Chaim
Bojan Nemec
Honored Contributor

Re: QUEUE enters a "Stopped Pending" state

Chaim,

Yes, increase MAXPROCESSCNT. Be aware MAXPROCESSCNT is not dynamic so you must do a reboot!

Bojan
Bojan Nemec
Honored Contributor

Re: QUEUE enters a "Stopped Pending" state

Ups, I hit submit to early.
The same error was probably for this thread http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=715621

Bojan
Chaim Budnick
Regular Advisor

Re: QUEUE enters a "Stopped Pending" state

How can I determine how many slots are currently in use?

Chaim
Bojan Nemec
Honored Contributor

Re: QUEUE enters a "Stopped Pending" state

Chaim,

Do a SHOW MEMORY command. There is a section named "Slot Usage (slots):"

Bojan