Re: Log rotation

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Log rotation
Дата
Msg-id 200403220935.10283.scrawford@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: Log rotation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: markw@osdl.org
Дата:
Сообщение: Re: [PERFORM] fsync method checking
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: [PATCHES] UnixWare/CVS Tip/initdb.c needs to use