Operating System - OpenVMS
1823198 Members
4141 Online
109648 Solutions
New Discussion юеВ

Re: Queeu stopping at VMS 7.1-2

 
SOLVED
Go to solution
Alon Jacob
Frequent Advisor

Queeu stopping at VMS 7.1-2

Hello All.

I came across a problem that one of my batch queues goes to a "stop pending" state.
I stopped it with "stop/queue/reset" command, but after starting it, it goes back to previous state.
Temporarily I moved all jobs from that queue to another folder, which solved it.

My question is - how can I find which job caused that problem?
10 REPLIES 10
Lokesh_2
Esteemed Contributor

Re: Queeu stopping at VMS 7.1-2

Was your batch queue working properly before ?
What does $SHO QUE/ALL/FULL displays ?

Create a simple command procedure, and submit it to batch queue and see what happens. For example

$type a.com
$set veri
$sho time
$exit

Then submit it :
$submit/que= a.com/noprint/log=a.log

Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
Antoniov.
Honored Contributor

Re: Queeu stopping at VMS 7.1-2

Hi,
queue goes into stop pending when current execution entry doesn't never end. Before stop/queue/reset you have to see all entries in queue typing:
$ SHOW QUEUE SYS$BATCH /ALL

Best regards
Antonio Vigliotti
Antonio Maria Vigliotti
Ian Miller.
Honored Contributor

Re: Queeu stopping at VMS 7.1-2

is something else stopping the queue (you may be able to use auditing to find this).
Is there a problem with other queues on the same node?
____________________
Purely Personal Opinion
Martin P.J. Zinser
Honored Contributor

Re: Queeu stopping at VMS 7.1-2

Hi,

also how many jobs can execute in the queue (job_limit)?

Greetings, Martin
Alon Jacob
Frequent Advisor

Re: Queeu stopping at VMS 7.1-2

Hello all.

I'll try to answer your questions in order :

1. Yes, the queue is working perfectly for years.
2. it went into "stop pending" state on it's own. No one entered the "stop/queue" command.
3. At that specific time there were 25 executing jobs on it, and about 50 pending, probably because the executing job won't finish.
4. After all entries were deleted the queue was OK. the same 3 jobs that run from time to time were run again, and came-out OK.

I'll try to better explain my question : can I check some log file (like operator.log) to see which job caused the problem?
Wim Van den Wyngaert
Honored Contributor

Re: Queeu stopping at VMS 7.1-2

Found this :

---
If there are no PBCs when a batch
job tries to start, the queue manager shuts down the queue. This was well
documented in the operator log file.
---

Check if there were many processes e.g. with accountning or performance advisor.

Wim

Wim
Lokesh_2
Esteemed Contributor

Re: Queeu stopping at VMS 7.1-2

Probably Accounting file can give you some clue.

$accounting/que=

Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
Antoniov.
Honored Contributor

Re: Queeu stopping at VMS 7.1-2

Alan,
if you have patience and you know DCL you cna read follow ask the wizard
http://h71000.www7.hp.com/wizard/wiz_3951.html
where you can find some clue to kwnow more info about your batch.
It's very low help but I've not any idea at moment.

Antonio Vigliotti
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: Queeu stopping at VMS 7.1-2

Just tested it on 7.3 and indeed the queue stops when all available slots are taken.

This can be a serious problem on production systems !!!

Wim
Wim
Wim Van den Wyngaert
Honored Contributor
Solution

Re: Queeu stopping at VMS 7.1-2

And 2 messages are given in operator log :

failed to create batch job, queue will be stopped
+
no PCB available

Wim
Wim