Re: Log rotation - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Log rotation
Date
Msg-id 200403141850.i2EIo5J01407@candle.pha.pa.us
Whole thread Raw
In response to Re: Log rotation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Log rotation
List pgsql-hackers
Tom Lane wrote:
> Fernando Nasser <fnasser@redhat.com> writes:
> > Lamar Owen wrote:
> >> Third, it seems that you don't have enough profiling data to support
> >> a 'syslog is bad' position.
> 
> > That is true.  It is from hearsay, from people who run production 
> > environments.  It may be a belief based on old experiences though.
> 
> I think it's pretty well established that syslog sucks for high log
> volume if you run it in the mode where it fsyncs its log after every
> message.  But I don't believe we have any data that says it's a problem
> even if you avoid that pitfall.

What versions of syslog fsync, and where is the syslog.conf option. I
don't see it on FreeBSD or Linux.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: Log rotation
Next
From: Tom Lane
Date:
Subject: Re: Log rotation