add segfault detection to TQM

* prevents indefinite hangs when a worker segfaults
(cherry picked from commit 569377e951)
pull/24893/head
Matt Davis 9 years ago committed by Brian Coca
parent ac8cb2a106
commit c7b3e420b7

@ -333,7 +333,7 @@ class TaskQueueManager:
defunct = False
for idx,x in enumerate(self._workers):
if hasattr(x[0], 'exitcode'):
if x[0].exitcode in [-9, -15]:
if x[0].exitcode in [-9, -11, -15]:
defunct = True
return defunct

Loading…
Cancel
Save