🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23897

Re: syslog cpu hogging

#23897
From: Brian
Date: Tue, 02 Dec 1997 00:00
40 lines
1914 bytes
Joe Greco wrote:
> 
> In news.software.nntp article <6605ja$s7r@osh1.datasync.com>, rocker@datasync.com (Ray Rocker) wrote:
> :This is INN logging raw control commands, and ncmspool does a LOT of that!
> :My quick fix was to set syslog.conf to log news.info (which is what I
> :have L_CC_CMD set to) to /dev/null. syslogd now eats 1-2% of the CPU.
> 
> Eh, why not simply NOT log news.info to anything?
> 
> Saves you the overhead of write() calls to discard data.  Simply discarding
> it is cheaper and easier.
> 

Well, I had *.info going to messages.  I added news.none as per someone
on this list to the line for /var/log/messages, I suppose this should
take care of it.....

Brian


> ... JG

-- 
/-------------------------- signal@shreve.net
-----------------------------\
| Brian Feeny                | USR TC Hubs | ShreveNet Inc.
(318)222-2638  |
| Systems Administrator      | Perl, Linux | Web hosting, online
stores,   |
| ShreveNet Inc.             |  USR Pilot  | Dial-Up 14.4-56k, ISDN &
LANs |
| 89 CRX DX w/MPFI, lots of  |-=*:Quake:*=-|
http://www.shreve.net/        |
| mods/Homepage coming soon  |LordSignal/SN| Quake server:
208.206.76.3    |
\-------------------------- 318-222-2638 x109
-----------------------------/

Technical Details
Message-ID: <3484A849.17CB@shreve.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <Pine.LNX.3.96.971201215535.29021A-100000@mercury.shreve.net> <6605ja$s7r@osh1.datasync.com> <661gcu$no0$1@earth.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <3484A849.17CB@shreve.net>
Subject: Re: syslog cpu hogging
Date: Tue, 02 Dec 1997 00:00:00 +0000
From: Brian <signal@shreve.net>
References: <Pine.LNX.3.96.971201215535.29021A-100000@mercury.shreve.net> <6605ja$s7r@osh1.datasync.com> <661gcu$no0$1@earth.execpc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 294684478
To: Joe Greco <jgreco@ns.sol.net>
Organization: ShreveNet
Newsgroups: news.software.nntp