projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f726dd
)
sleep so it doesn't go haywire
author
Peter Amstutz <peter.amstutz@curoverse.com>
Mon, 13 Oct 2014 17:18:15 +0000
(13:18 -0400)
committer
Peter Amstutz <peter.amstutz@curoverse.com>
Mon, 13 Oct 2014 17:18:15 +0000
(13:18 -0400)
crunch_scripts/run-command
patch
|
blob
|
history
diff --git
a/crunch_scripts/run-command
b/crunch_scripts/run-command
index 2af422fbd5a615d83e61e8072388b16fd86ae2df..609572eac38ec23790bbb6e7b8bce9ac5b43f1c4 100755
(executable)
--- a/
crunch_scripts/run-command
+++ b/
crunch_scripts/run-command
@@
-316,7
+316,9
@@
try:
if e.errno == errno.ECHILD:
# child already exited
print "got ECHILD"
- pass
+ time.sleep(1)
+ for s in subprocesses:
+ print s.poll()
else:
raise
active = sum([1 if s.poll() is None else 0 for s in subprocesses])