[gridengine users] Signal sent to processes on requeue
reuti at staff.uni-marburg.de
Tue Jan 31 21:45:59 UTC 2012
Am 31.01.2012 um 21:00 schrieb Hugh Macdonald:
> I've got a python script here that is run through Grid. When I requeue the job,
what do you mean by requeue: resubmit or reschedule? Or a plain submission?
> I want to catch the signal in the script, to do a bit of cleanup before exiting. I don't seem to be able to catch the signal, making me assume that it's SIGKILL that is being sent. Am I right in this assumption,
What did you do in detail to catch it?
> and, if so, is there any way to change it to SIGTERM?
No. But you can submit with -notify and can catch this warning signal (`man qsub`), this signal can even be redefined (`man sge_conf`).
More information about the users