Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jason Lavoie <jason@mint.net>
Subject: Re: Syslog going crazy
Date: Thu, 10 Jul 1997 18:01:08 -0400	[thread overview]
Message-ID: <6f9a5b6c4933525399ea551b15eae843.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.91.970710162213.18823B-100000@ns2.cmpu.net>

On Thu, Jul 10, 1997 at 04:23:09PM -0500, Anthony Pardini wrote:
> 
> How large were the log files?
> 
> What type of system config?

How much data was logging?

syslog, by default does a fsync() for every entry of every file.  This
will easily drive the load up on a small machine under moderate load.
Our central syslog machines have a '-' prepended to the target filename
in syslog.conf, making use of your system buffers.  A lot less load.
Check the manpage...

I must mention the one drawback... you will lose any data that isn't
written to disk before a crash. (obviously)  But for remote logging,
etc. that is usually a non-issue.  Since you can do it on a per-file
basis, this lessens the problem, as well.

Just an idea.

-j

> 
> On Thu, 10 Jul 1997, John Banghart wrote:
> 
> > 
> > Has anyone else had problems with syslog taking up as much a %99 percent
> > of CPU time?
> > 
> > I finally had to just shut it off to keep the machine running a good pace.
> > 
> > --
> > John Banghart
> > Systems Administrator
> > Red Rose SuperNet
> > 
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> ------------------------------------------------------------------------------
> Tony Pardini
> Systems Engineer
> CompuNet, INC.
> tony@cmpu.net
> pgr 2145817737
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
"What is the sound of Perl?  Is it not the sound of a        | Jason Lavoie 
 wall that people have stopped banging their heads against?" | jason@mint.net
     --Larry Wall in <1992Aug26.184221.29627@netlabs.com>    | 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-07-10 22:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.91.970710162213.18823B-100000@ns2.cmpu.net>
1997-07-10 22:01 ` Jason Lavoie [this message]
     [not found] <Pine.LNX.3.95.970710165422.6019A-100000@future.success.net>
1997-07-10 21:23 ` Syslog going crazy Anthony Pardini
1997-07-10 20:54 John Banghart
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox