From: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Fernando Nasser <fnasser(at)redhat(dot)com>, Lamar Owen <lowen(at)pari(dot)edu>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Log rotation |
Date: | 2004-03-22 17:35:10 |
Message-ID: | 200403220935.10283.scrawford@pinpointresearch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sunday 14 March 2004 1:00 pm, Tom Lane wrote:
...
> So it seems fairly likely that the fsync-by-default business is
> indeed a Linux-ism not shared by other Unixen.
Excerpt from the Postfix 2.0.8 README_FILES/LINUX_README file in case
it proves interesting:
-----------------
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.
-----------------
Cheers,
Steve
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2004-03-22 17:38:24 | Re: [PATCHES] UnixWare/CVS Tip/initdb.c needs to use |
Previous Message | markw | 2004-03-22 17:33:59 | Re: [HACKERS] fsync method checking |