Re: Log rotation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Log rotation
Дата
Msg-id 24916.1079298026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Log rotation  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Log rotation  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-hackers
I wrote:
>> strace'ing syslogd on my HPUX box shows that it doesn't issue explicit
>> fsync calls either, but I don't know of any way to tell whether it's got
>> the log files opened O_SYNC.

It occurred to me to SIGHUP syslogd and watch it reopen its log files
with strace.  No O_SYNC.

So it seems fairly likely that the fsync-by-default business is indeed
a Linux-ism not shared by other Unixen.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: listening addresses
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Log rotation