Comment 8 for bug 1277655

Revision history for this message
Arkadiy Kulev (eth-ethaniel) wrote :

This bug is still here (monit 5.20.0).

http://stackoverflow.com/questions/41773333/monit-is-continuously-throwing-error-reading-pid-from-file

In my case, the whole startup is slowed down because monit is "initializing" the failing service which has an empty .pid file. It catches itself into a loop.

[MSK Feb 19 21:21:41] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:41] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:42] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:44] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:45] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:46] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:47] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:48] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:49] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:50] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:51] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:52] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:53] error : Error reading pid from file '/var/run/sphinx/searchd.pid'
[MSK Feb 19 21:21:54] error : Error reading pid from file '/var/run/sphinx/searchd.pid'