> spews this error to the syslog:
> monit: Error reading pid from file

Is this is the only error you have seen in the log file?  Or there are
others?

I think, there is - e.g. monit tries to restart this service.   If this is the 
case - this is expected.  You should limit the number of restarts for this 
service, like this:
-->8--
if 2 restarts within 3 cycles then unmonitor
-->8--
And you should fix this service - pid file shouldn't be empty!

-- 
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