On Tue, Oct 28, 2008 at 09:12:34PM +0100, Francis SOUYRI wrote: > >Is syslog configured to not log each line synchronously??? On Linux systems > >with syslogd make sure that the log file has "-/var/log/maillog" not > >"/var/log/maillog". Otherwise syslog can't keep up and the queue manager > >is blocked trying to syslog... > > Yes... I changed the syslog config. > # Log all the mail messages in one place. > mail.* /opt/pmx/postfix/var/log/maillog > by > # Log all the mail messages in one place. > mail.* -/opt/pmx/postfix/var/log/maillog > > See you tomorrow at this time there is less activity on the server. > > I hope the problem is solved, because since we activated the RDNS/HELO/IP > checks and put the server on internet the system log activity increase a lot > of... > > Just one question how can the qmgr blocked be by the syslog ? >
The queue manager writes a log entry every time it moves a file from "incoming" to "active". If syslog is not servicing the log socket in a timely fashion, these writes will block. With smtpd and cleanup and spam filters wring piles of logs in parallel, the qmgr does not stand a chance... Also make sure your log socket is a datagram socket, not a stream socket, otherwise logs are recorded (badly) out of order, and syslogd does not scale to hundreds/thousands of processes (smtpd, cleanup, delivery agents) connecting via stream sockets at the same time. -- 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:[EMAIL PROTECTED]> 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.