Re: syslog spiral death

Jon Lewis (jlewis@inorganic5.fdt.net)
Thu, 24 Oct 1996 22:54:13 -0400 (EDT)


On Thu, 24 Oct 1996 ron@caldera.com wrote:

> I've seen a similar problem also. Running strace showed that syslogd
> was doing fsync() quite often. As the log files grow, fsync() takes
> longer and longer to complete. I don't know whether to consider this
> an inefficiency in the fsync() implementation or poor behavior on the
> part of syslogd for calling fsync() so often... We avoid this problem
> by keeping our log files trimmed (via chklogs).

If it hurts to do something, don't do it. Either hack your syslogd to not
fsync, or upgrade to sysklogd 1.3 or greater and you can tell it which log
files you don't want fsync'd.

------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/hr.
________Finger jlewis@inorganic5.fdt.net for PGP public key_______