Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: klogd/syslogd and automount problem
Date: Wed, 8 Jul 1998 17:47:22 -0400	[thread overview]
Message-ID: <19980708174722.D508@xcski.com> (raw)
In-Reply-To: <Pine.SGI.3.91.980708120530.7204E-100000@Poptart.McRCIM.McGill.EDU>; from Francesco Callari on Wed, Jul 08, 1998 at 12:17:56PM -0400

Quoting Francesco Callari (franco@cim.mcgill.ca):
> 
> On Wed, 8 Jul 1998, Dan Roscigno wrote:
> 
> > Under heavy NFS load the automounter on my PC164LX machines
> > generates so many messages that klogd and syslogd are using
> > all of the CPU!
> > 
> 
> My take is that it's a /proc filesystem bug.
> 
> My fix (it works for me, YMMV) is to force klogd to use the
> system call interface ( syslog(2) ) to the log ring, insted
> of accessing it via /proc, by starting it with the -s option.
> 
> If you are using RH, apply the following medicine to 
> /etc/rc.d/init.d/syslog:
> 
> @@ -19,7 +19,7 @@
>    start)
>         echo -n "Starting system loggers: "
>         daemon syslogd
> -       daemon klogd
> +       daemon klogd -s
>         echo
>         touch /var/lock/subsys/syslog
>         ;;

Nope, it didn't help.  I just tried it, and I got:

Jul  8 17:45:18 canoe syslogd: select: Bad file descriptor
Jul  8 17:45:49 canoe last message repeated 31756 times

-- 
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls.  It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett


  reply	other threads:[~1998-07-08 21:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-08  1:25 fetchmail needs waking! Weiping Hu
1998-07-08 14:01 ` Matt Kimmel
1998-07-08 14:31   ` klogd/syslogd and automount problem Dan Roscigno
1998-07-08 14:54     ` furio ercolessi
1998-07-08 14:54     ` Brian E.W. Wood
1998-07-08 16:17     ` Francesco Callari
1998-07-08 21:47       ` Paul Tomblin [this message]
1998-07-08 14:57   ` fetchmail needs waking! Pablo A. Godel
1998-07-08 16:56     ` Mark Hansel
1998-07-10 22:56   ` K.Garloff
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