Hi, 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. Joerg.
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. -- Regards, Sergey Afonin asy@kraft-s.ru
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
On Monday 09 September 2002 18:51, Balazs Scheidler wrote:
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.
Hm... I'm not understend. Table 3-5. Available options for file() fsync() yes or no Forces an fsync() call on the destination fd after each write. Note: this may degrade performance seriously Is this about system file otput ? Isn't it ? I say about it: Table 3-8. List of supported global options in syslog-ng sync() number The number of lines buffered before written to file -- Regards, Sergey Afonin asy@kraft-s.ru
participants (3)
-
Balazs Scheidler
-
Joerg Sommer
-
Sergey Y. Afonin