|
From: | Len Conrad |
Subject: | [monit] postgrey pid and postgrey.pid out of sync |
Date: | Tue, 26 Aug 2008 08:56:15 -0500 |
The process postgrey is running fine, although in peak periods, it can fall behind non-fatally and cause monit timeouts. I can lengthen the monit timeout, sure.
So monit tries to restart postgrey, but somewhere the monit efforts cause the postgrey pid and postgrey.pid to get out of sync.
As result, monit is checking the false postgrey.pid and shows a permanent failure for permanently working postgrey.
The postgrey control script is that delivered with the FreeBSD package and used by Monit for start/stop has these lines with pid:
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"} postgrey_flags=${postgrey_flags:- "--pidfile=${postgrey_pidfile} ... suggestions? Len
[Prev in Thread] | Current Thread | [Next in Thread] |