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

I'd vote for "inefficiency in the fsync() implementation". What it does is
fsync the entire disk that the file is on.
Is this a worth-while problem? If so, I'm already messing around with code
in that area, and I'd be willing to look into it.
Anybody know what free-BSD does?

Regards,
Ray




>
> Ron
>
> --
> Ron Holt <ron@caldera.com> Caldera, Inc.
>

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