Page MenuHomePhabricator

Allow the Fact daemon to hibernate
ClosedPublic

Authored by epriestley on Jul 1 2020, 1:27 PM.
Tags
None
Referenced Files
F13044302: D21389.diff
Wed, Apr 17, 3:14 PM
Unknown Object (File)
Thu, Apr 11, 7:23 AM
Unknown Object (File)
Thu, Apr 4, 12:00 AM
Unknown Object (File)
Fri, Mar 29, 9:31 AM
Unknown Object (File)
Tue, Mar 26, 6:26 AM
Unknown Object (File)
Tue, Mar 19, 3:34 PM
Unknown Object (File)
Tue, Mar 19, 3:34 PM
Unknown Object (File)
Tue, Mar 19, 3:34 PM
Subscribers

Details

Summary

See PHI1801. A handful of Phacility production shards have run into memory pressure issues recently. Although there's no smoking gun, and at least two other plausible contributors, one possible concern is that the Fact daemon was written before hibernation and can not currently hibernate. Even if there's no memory leak, this creates unnecessary memory pressure by holding the processes in memory.

Allow the Fact daemon to hibernate, like other daemons do.

Test Plan

Ran "bin/phd debug fact", saw the Fact daemon hibernate.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jul 1 2020, 1:33 PM
This revision was automatically updated to reflect the committed changes.