[syslog-ng]file buffer flushing

Balazs Scheidler bazsi@balabit.hu
Mon, 9 Sep 2002 15:51:05 +0200


On Mon, Sep 09, 2002 at 06:28:28PM +0500, Sergey Y. Afonin wrote:
> On Monday 26 August 2002 21:28, Joerg Sommer wrote:
> 
> > can syslog-ng delay the flush of a file buffer? I have noflushd running
> > and if syslog-ng flushes his buffers, my disc spins up. But I will see
> > new messages in the log files. Is it possible, that syslog writes the
> > messages in the file, but don't call flush() on this file.
> 
> I interested by it too. :-)
> I think that forcesynctime(N) parameter come in handy when rate of messages
> unsteady.

IIRC there's an fsync() option that controls flushing.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1