[Buildbot-commits] [SPAM] Re: [Buildbot] #931: SIGKILL doesn't kill children processes

Buildbot buildbot-devel at lists.sourceforge.net
Thu Jul 29 19:49:53 UTC 2010


#931: SIGKILL doesn't kill children processes
------------------------+---------------------------------------------------
Reporter:  acanis       |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  major        |   Milestone:  0.8.+
 Version:  0.8.0        |    Keywords:       
------------------------+---------------------------------------------------
Changes (by dustin):

  * type:  undecided => enhancement
  * milestone:  undecided => 0.8.+


Comment:

 This has remained a major, unsolved problem for a long time, because there
 really is no complete solution.  Iterating over children requires some
 access to the kernel's process table, and even then will miss "daemonized"
 children (those whose parents have already exited).  There's an ordering
 constraint, too - if Buildbot makes a list of all processes to kill before
 killing them, then new processes may be spawned in the interim.

 The code is in slave/buildslave/runprocess.py, if you want to take a look.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/931#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list