[Buildbot-commits] [Buildbot] #2396: RFC: Allow for alternate location of twistd.pid?
Buildbot
nobody at buildbot.net
Mon Nov 5 14:22:45 UTC 2012
#2396: RFC: Allow for alternate location of twistd.pid?
------------------------+--------------------------------
Reporter: clepple | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.6p1 | Keywords: twisted, stale PID
------------------------+--------------------------------
This is idea is a bit rough around the edges - feel free to suggest
alternate approaches.
During some recent power outages, I had a number of buildslaves shut down
in an unclean fashion, and the twistd.pid files were referring to
processes from the last boot. I don't have the exact error message, but
the subsequent buildbot/buildslave start command did not complete since it
could not check the old PID.
I'm wondering if it would be better to allow storing the PID files
somewhere else like /var/run that would get cleared at reboot time. This
might get complicated in situations where the twistd process might not
have write permission. Also, multiple twistd processes would need a way to
distinguish which file is theirs (subdirectories?)
--
Ticket URL: <http://trac.buildbot.net/ticket/2396>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list