Clearing the PBS Queue

  1. kill the processes that correspond to the problem job (on the nodes they are running on) if they still are running (ps aux to check).
  2. delete the job from /var/spool/PBS/mom_priv/jobs (there should be a file and a directory, so if no PBS jobs should be running on the node just use rm -r *, but be sure you are in the right directory).
  3. on the node, if pbs is executed from /etc/init.d/ or a similar directory (don't know which linux you use), then execute the commands:
    /etc/init.d/pbs stop
    /etc/init.d/pbs start
    (pbs restart probably won't work).
  4. If you have tried to qdel the job from the front end, the job should be stopped when the MOM restarts on the node.
  5. If that doesn't work, then try to qsig rather than qdel.
  6. If you try all the above without it working, send e-mail to: central@astron.


To suggest changes, additions, clarifications in this documentation, contact Central Services: central@astro.