Easy to reproduce. Here's syslog-ng on Ubuntu 12.04: monit/conf.d/syslog-ng: check process syslog-ng with pidfile /var/run/syslog-ng.pid start program = "/etc/init.d/syslog-ng start" stop program = "/etc/init.d/syslog-ng stop"
make sure monit status is running echo > /var/run/syslog-ng.pid Wait for monit to notice, then logs fill with: monit: Error reading pid from file '/var/run/syslog-ng.pid' Not the best example because syslog-ng will notice the empty pid file and start a new instance so this will not fill the logs entirely but any application that does not actively check the state of its PID file will. ** Changed in: monit (Ubuntu) Status: Incomplete => New -- 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