lkml.org 
[lkml]   [1996]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syslog spiral death
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_______


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.042 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site