Re: your mail

From: Jacob Elder (no email)
Date: Thu Dec 20 2001 - 02:29:53 EST


On Thu, Dec 20, 2001 at 09:11:41AM +0200, Meron Brandes wrote:
>
> Hello there,
>
> My postfix seems to be exhausted over iowait .
>
> In order to ease it up a little, i'm trying to make it quit writing this
> huge logfile that describes virtually every session its going through.
>
> this is written to syslog on mail.debug .
>
> I haven't found nothing on postfix configuration to make it stop (or lower
> debug level) .

postconf | grep debug

>
> Are there such definitions?
> Will handling it through the syslog help? it wont change the daemon
> behavior, so i didn't see any point in trying...

Putting the logs on another disk (or using a remote log host) can help.
Quoting LINUX_README from the postfix source:

LINUX SYSLOGD PERFORMANCE
=========================

LINUX syslogd uses synchronous writes by default. Because of this,
syslogd can actually use more system resources than Postfix. To
avoid such madness, disable synchronous mail logfile writes by
editing /etc/syslog.conf and by prepending a - to the logfile name:

    mail.* -/var/log/mail.log

Send a "kill -HUP" to the syslogd to make the change effective.

-- 
Jacob Elder
http://www.lucidpark.net/
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD