[GE users] Problem with timing of cleanup when "qdel" is called

maritac marita_christiansen at mentor.com
Thu Jun 18 23:15:13 BST 2009

I have a user who has set up a signal handler to get a SIGUSR2 call when
qdel is called on a grid job.  Inside the signal handler, he has code
that needs to read some data in the grid tmpdir location.  The problem
is when a qdel is run, the deletion of the grid tmpdir is being done at
the same time as the SIGUSR2 interrupt handler code is being called,
causing the files to not be available.  FYI - the grid tmpdir is a local
directory on the execution host in our cluster.

Anyone have any ideas about how he can delay the removal of the tmpdir
until his signal handling code is done, or another way this can be



To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list