gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <>
Subject Issue: dist_ant... timout
Date Thu, 23 Oct 2003 14:58:10 GMT
Hmm, interesting....

Exit Code: 9 ... means I zapped it after 30 minutes. That said, so did
covalent (after 20 minutes):

BUT: It says BUILD SUCCESSFUL Total time: 36 minutes 22 seconds

Basically even though we stop waiting on it, it does (soon after) build to

I wrote code (the Nth time, Python wasn't my friend here) to timeout after a
period. It uses a timer thread. Trouble was the thread was a new child PID
on Linux, and when I tried to pkill -KILL -P ${gumpPID} I was killing the
thread & leaving a mess. I used pgrep -P ${gumpPID} -l and manually killed
everything that wasn't 'python', but this has the effect of killing the
shell that runs java to run ant, and not killing the latter two -- since
they are grandchildren of Gumpy, and so forth. Anybody know a way I can kill
a child and those below it, or do I have to write that code? [Sorry, my Unix
is rusty at best, and pre-Linux & toys like pkill/pgrep.]

Q: Ought we allow per-project timeouts? I can code it quite easily.
Something like timeout="N" (in minutes) on the ant/script tag.


Experience Sybase Technology...

View raw message