[Buildbot-devel] Master shutting down when slave detaches?
dank at kegel.com
Thu Dec 27 17:30:18 UTC 2012
On Thu, Dec 27, 2012 at 6:59 AM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> Is there some kernel-level debugging tool that could tell you about
> who's sending signals? That's pretty weird..
I used systemtap to monitor who was sending the signal:
sudo apt-get install systemtap
ps augxw | grep twistd
sudo stap -x 5314 sigmon.stp SIGTERM
then triggered a build. And the culprit was...
SPID SNAME RPID RNAME SIGNUM SIGNAME
1 init 5314 twistd 15 SIGTERM
... init, just as you suspected earlier.
Why would upstart do that? Well, to get it to start automatically, I had
start on (started network-interface or started network-manager or
stop on (stopping network-interface or stopping network-manager or
And lxc certainly is starting and stopping network interfaces.
So I guess I have to be more careful where I point that gun.
Thanks for the nudge!
More information about the devel