HomePhorge

Stop using process/filesystem-based checks to determine if daemons are running

Description

Stop using process/filesystem-based checks to determine if daemons are running

Summary:
We currently check if daemons are running using the filesystem and process list. These checks reach the wrong result for a lot of users because their webservers can't read the filesystem or process list. They also reach the wrong result for daemons running on other machines.

Instead, query the active daemon list to see if daemons are running. This should be significantly more reliable.

(We didn't do this before because the running daemon list mechanism didn't exist when the check was written, and at the time it was more complex than doing a simple filesystem/process list thing.)

Test Plan: Viewed /repositories/ with and without daemons running, saw appropriate warning or lack of warning.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D6722

Details

Provenance
epriestleyAuthored on Aug 12 2013, 11:20 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP262475d15136: Clean up a couple more doc references to the old MetaMTA application
Branches
Unknown
Tags
Unknown

Event Timeline