Editing
Scanco Administration
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Kill many jobs on a queue=== Sometimes somebody can submit a recursive job that when executing can resubmit the job. It results in an endless loop and backs up the whole system with jobs. It is hard to delete the jobs one at a time if there are millions of jobs. So the solution is to create a temporary queue, merge the jobs that need to be killed onto that queue, then delete the temporary queue. In this example, we had >1000000 jobs on <code>sys$fast</code> so first I stopped all the queues: <pre> stop/queue/next SCEVA1_FAST stop/queue/next SCEVA2_FAST stop/queue/next SCEVAL_FAST stop/queue/next SCSRV1_FAST stop/queue/next SCSRV2_FAST stop/queue/next SCSRV3_FAST </pre> Then I created the temporary queue, merged, then deleted: <pre> initialize/queue/OWNER=[SYSTEM] /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START JUNKQ assign/merge JUNKQ sys$fast stop/queue/next JUNKQ delete/queue JUNKQ </pre> Then restart the stopped queues: <pre> start SCEVA1_FAST start SCEVA2_FAST start SCEVAL_FAST start SCSRV1_FAST start SCSRV2_FAST start SCSRV3_FAST </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']]
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information