🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23909

Re: syslog cpu hogging

#23909
From: Joe Greco
Date: Tue, 02 Dec 1997 00:00
14 lines
1135 bytes
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.

... JG

Technical Details
Message-ID: <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
References: <Pine.LNX.3.96.971201215535.29021A-100000@mercury.shreve.net> <6605ja$s7r@osh1.datasync.com>

Show Full Headers
Complete Article Headers
Message-ID: <661gcu$no0$1@earth.execpc.com>
Subject: Re: syslog cpu hogging
Date: Tue, 02 Dec 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <Pine.LNX.3.96.971201215535.29021A-100000@mercury.shreve.net> <6605ja$s7r@osh1.datasync.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: 294575715
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp