From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31613 invoked from network); 8 Jan 1999 00:40:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Jan 1999 00:40:19 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA01959 for ; Thu, 7 Jan 1999 19:20:34 -0500 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with ESMTP id SAA25096 for ; Thu, 7 Jan 1999 18:20:08 -0600 Date: Thu, 7 Jan 1999 18:20:08 -0600 (EST) From: Bob McElrath To: axp-list@redhat.com Subject: Re: syslogd revisited In-Reply-To: <199901080002.BAA19213@noc.spin.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 8 Jan 1999, furio ercolessi wrote: > Again on syslogd. > > I am not reporting the problem so often reported in the past > (syslogd and klogd eating all CPU, "select: Bad file descriptor", > "last message repeated 79172 times" , etc). I am not suffering of > this problem with my current setup (RH 5.2, 2.0.36, sysklogd-1.3-26). > > However, I am rather unhappy with the amount of CPU which > syslogd seems to use under normal circumstances. > For instance, right now I observe a syslogd using about 60-70% > of a 533MHz LX to write about 13kB per minute on a file. > This is ridiculous. Heck, in this case the messages are generated > by sendmail, which does that while cruising along at 0.1% CPU. > > syslogd therefore appears as the principal bottleneck in > our systems' performance. Is anybody else observing that? 1) Turn off mail reporting (it generates high volume...) 2) configure sendmail to NOT sync after a write. This may be where the CPU usage is coming from. Not from sendmail, but from the forced disk write (via sync). -- Bob Bob McElrath (mcelrath@draal.physics.wisc.edu) Univ. of Wisconsin at Madison