From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13178 invoked from network); 8 Jul 1998 21:47:39 -0000 Received: from canoe.roc.servtech.com (HELO xcski.com) (ptomblin@204.181.4.141) by mail2.redhat.com with SMTP; 8 Jul 1998 21:47:39 -0000 Received: (from ptomblin@localhost) by xcski.com (8.8.7/8.8.7) id RAA02253; Wed, 8 Jul 1998 17:47:22 -0400 Message-ID: <19980708174722.D508@xcski.com> Date: Wed, 8 Jul 1998 17:47:22 -0400 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: klogd/syslogd and automount problem References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; 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