On Wed, Aug 26, 2009 at 12:52:39PM -0700, Jeroen van Aart wrote:

> Wietse Venema wrote:
>> Jeroen van Aart:
>>> Yes I did:
>>> egrep '(warning|error|fatal|panic):' /var/log/mail.* | grep qmgr
>>> gunzip -c /var/log/mail.*.*.gz | egrep '(warning|error|fatal|panic):' | 
>>> grep qmgr
>> How much time is between the LAST qmgr[9582] logfile record BEFORE    the 
>> master warning? If the distance is large, then you have a
>
> Aug 15 02:41:20 prod101 postfix/qmgr[9582]: EF86A239E8B: 
> from=<exam...@example.com>, size=8105, nrcpt=1 (queue active)
>
> Aug 15 02:55:06 prod101 postfix/master[9402]: warning: process 
> /usr/lib/postfix/qmgr pid 9582 exit status 1
>
> About 14 minutes, I assume that's not a long time?
>
> We have since moved a few services over and restarted a long running 
> process. This did solve most issues though there were occasionally 
> incidents that postfix would still become unresponsive, but it wouldn't 
> quit.
>
>> mis-configured Postfix / syslog setup, which is unfortunately common.
>> To fix logging DO NOT chroot the qmgr in master.cf.
>
> It's never been chrooted.
>
>> Once the logging is fixed, we can find out WHY the qmgr exits with
>> status 1.
>
> Other log entries show processes which segfaulted at times. Judging from 
> all the symptons I believe now that there is a memory problem which acted 
> up due to a combination of a long running process and other services 
> causing a regular, but normal, spike in load. If so there is nothing really 
> that can be done with regards to postfix.

exit(1) is NOT a segfault. The queue manager exited voluntarily. Such
voluntary exists are typically (i.e. Postfix always tries) logged.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to