Page MenuHomePhabricator

Stop writing PID files in daemons
ClosedPublic

Authored by epriestley on Jun 20 2019, 10:05 PM.
Tags
None
Referenced Files
F13046092: D20607.id49144.diff
Thu, Apr 18, 6:25 AM
F13044793: D20607.diff
Wed, Apr 17, 6:10 PM
Unknown Object (File)
Wed, Apr 10, 8:11 PM
Unknown Object (File)
Mon, Apr 1, 7:32 PM
Unknown Object (File)
Sat, Mar 30, 8:14 AM
Unknown Object (File)
Feb 24 2024, 4:36 PM
Unknown Object (File)
Jan 20 2024, 4:44 PM
Unknown Object (File)
Jan 16 2024, 5:51 PM
Subscribers
None

Details

Summary

Ref T13321. There are no more PID file readers, so we can stop writing them.

Test Plan

Ran bin/phd start, saw daemons doing stuff.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

thumbsup.gif (320×300 px, 6 MB)

src/daemon/PhutilDaemonOverseer.php
124–125

One thing we're losing here is that daemons will no longer crash instantly on startup if they don't have permissions or the disk is full.

This revision is now accepted and ready to land.Jun 20 2019, 10:51 PM
src/daemon/PhutilDaemonOverseer.php
124–125

Haha, yes. All told, I think I deleted like four blocks of // TODO: It would be nice if this wasn't a horrible, fragile mess. code.

This revision was automatically updated to reflect the committed changes.