#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
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits