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'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1277655

Title:
  Monit fills logs when reading 0 byte pid file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monit/+bug/1277655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to