[torqueusers] epilogue script runs twice

Kevin Van Workum vanw at sabalcore.com
Mon Dec 21 14:35:23 MST 2009


On Sun, Dec 20, 2009 at 12:40 PM, Kevin Van Workum <vanw at sabalcore.com>wrote:

Sometimes, my epilogue script runs twice. This happens if a user
> qdel's the job, but the job takes a while to exit, so a sigkill is
> sent. The epilogue runs again when the sigkill is sent. However, after
> some testing, this doesn't happen consistently. About 1 in 10 times.
> Is this the expected behavior? How can I force torque to run the
> epilogue script only once? Or maybe I can check from within my
> epilogue that it has already run for this job? This is causing issues
> with our internal accounting system.
>

It doesn't seem my message got posted, so I'm trying again.

-Kevin

-- 
Kevin Van Workum, PhD
Sabalcore Computing Inc.
Run your code on 500 processors.
Sign up for a free trial account.
www.sabalcore.com
877-492-8027 ext. 11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20091221/4314f0e3/attachment-0001.html 


More information about the torqueusers mailing list