Sometimes, for whatever reason, daemon processes survive phd stop. After killing daemons we know about, we should run ps auxwww or similar and look for still-living daemons, and warn the user:
WARNING: Some daemons seem to have survived:
2932 php ./launch_daemon.php PhabricatorGarbageCollectorDaemon --daemonize
--load-phutil-library=/core/arcanist/src
--load-phutil-library=/core/phabricator/src
--conduit-uri=https://secure.phabricator.com/api/
--log=/var/tmp/phd/log/daemons.log --phd=/var/tmp/phd/pid
Use `phd stop --force` to forcibly kill these processes.Then, with --force, we should kill them.