1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/daemon
epriestley a0f0ba6acd 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
2013-08-12 11:20:22 -07:00
..
application Allow long daemon log messages to be expanded 2013-07-23 16:58:02 -07:00
controller Surface task queue temporary failure rate in Daemon console 2013-07-23 16:58:22 -07:00
event Use events rather than Conduit to report daemon status in Phabricator 2013-07-23 12:10:02 -07:00
management Improve phd help 2013-08-06 09:10:53 -07:00
query Stop using process/filesystem-based checks to determine if daemons are running 2013-08-12 11:20:22 -07:00
storage Use a real Query class to load daemon information 2013-07-23 12:11:34 -07:00
view Allow long daemon log messages to be expanded 2013-07-23 16:58:02 -07:00