Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Francesco Callari <franco@cim.mcgill.ca>
To: axp-list@redhat.com
Cc: Dan Roscigno <ddr@phys.ufl.edu>,
	"Brian E.W. Wood" <beww@intac.com>,
	furio ercolessi <furio@spin.it>
Subject: Re: klogd/syslogd and automount problem
Date: Wed, 8 Jul 1998 12:17:56 -0400 (EDT)	[thread overview]
Message-ID: <Pine.SGI.3.91.980708120530.7204E-100000@Poptart.McRCIM.McGill.EDU> (raw)
In-Reply-To: <Pine.OSF.3.96.980708102819.25058H-100000@hee.phys.ufl.edu>


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
        ;;


Hope this helps
Ciao
Franco


-------------------------------------------------------------------------
Franco Callari                          
Centre for Intelligent Machines       "Beati coloro che hanno fame e sete
McGill University, 3480 University     di giustizia, perche` saranno
Montreal, Quebec, Canada, H3A 2A7      giustiziati."      (P. Bellocchio)
                                    
franco@cim.mcgill.ca | phone: +(514) 398-3371 | fax: +(514) 398-7348
WWW: <a href="http://www.cim.mcgill.ca/~franco/Home.html> Franco </a>
-------------------------------------------------------------------------




  parent reply	other threads:[~1998-07-08 16:18 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 [this message]
1998-07-08 21:47       ` Paul Tomblin
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