How to cleanup daemons?


#1

Hello,

Although phd/status shows daemon, they don’t seem to exist.

$ phabricator@phabricator:~/phabricator$ bin/phd status
Log Daemon       Host        Overseer Started                 Class                                Arguments
13  2516:gyp7sxz phabricator 2516     Nov 20 2018, 5:33:15 PM PhabricatorTaskmasterDaemon
12  2516:f7kqiy4 phabricator 2516     Nov 20 2018, 5:33:15 PM PhabricatorTriggerDaemon
11  2516:xxezuy4 phabricator 2516     Nov 20 2018, 5:33:15 PM PhabricatorRepositoryPullLocalDaemon
7   3793:ne3o5y6 phabricator 3793     Nov 20 2018, 4:45:57 PM PhabricatorTaskmasterDaemon
6   3793:rhccrqn phabricator 3793     Nov 20 2018, 4:45:57 PM PhabricatorTriggerDaemon
5   3793:tajbx34 phabricator 3793     Nov 20 2018, 4:45:57 PM PhabricatorRepositoryPullLocalDaemon

How can I clean them up?

Thanks,


#2

After about an hour, their status are changed to ‘dead’.
I restart deamons, but when I checked on console, their status is Waiting.

|29|phabricator|2411|PhabricatorTaskmasterDaemon| Waiting|Tue, Nov 20, 6:50 PM|
|28|phabricator|2411|PhabricatorTriggerDaemon| Waiting|Tue, Nov 20, 6:50 PM|
|27|phabricator|2411|PhabricatorRepositoryPullLocalDaemon| Waiting|Tue, Nov 20, 6:50|

Is this an expected behavior?


#3

Yes, “waiting” is the normal state for daemons not currently doing any work.


#4