[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] condor_rm not killing subprocesses

Hi.  I have a number of users who have taken to wrapping their jobs
within shell scripts.  Often, they'll use a for or while loop to execute
a single command with various permutations.  When such a job is removed
with condor_rm, the main script is killed, but subprocesses spawned from
inside a loop will not be killed and will continue to run on the compute
machine.  This naturally interferes with jobs which are later assigned
to that machine.

Does anyone know of a way to force bash subprocesses to be killed along
with the parent upon removal with condor_rm?  (This behavior is not
unique to condor_rm.  A kill to the parent also leaves the subprocess