From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6f9a5b6c4933525399ea551b15eae843.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199707102159.XAA04964@nostromo.ens.fr> Date: Thu, 10 Jul 1997 18:01:08 -0400 From: Jason Lavoie Subject: Re: Syslog going crazy In-Reply-To: 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