🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33544

Benefit of using dash in Linux syslog.conf

#33544
From: joe
Date: Fri, 04 Dec 1998 00:00
27 lines
1522 bytes
After bringing up a new Linux box with the latest INN 2.2 stable snapshot,
I was disappointed by its performance (subjectively, and as measured by
nntpTime), and top showed syslog occupying a disproportionately large
portion of the CPU.

RTFM'ing the syslog man page, I noticed that it casually mentions in passing 
that syslog will sync after each write by default, UNLESS the log-to filename 
is prefixed with a dash. 

I'd strongly suggest using the dash for news.notice, particularly if you log 
verbose for despam tracking or other purposes.

With the dash:

nntpTime -server <name omitted> -loop 5
DNS + Connect: 7 msec
Welcome Message: 2 msec
Average IHAVE Response (5 trys) : 1 msec
Average Article Response (5 x 4171 byte articles): 1 msec

The dash is the difference between night and day, at least on this box.

Regards,

Joe

Technical Details
Message-ID: <747du1$lh8$1@pith.uoregon.edu>
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

Show Full Headers
Complete Article Headers
Message-ID: <747du1$lh8$1@pith.uoregon.edu>
Subject: Benefit of using dash in Linux syslog.conf
Date: Fri, 04 Dec 1998 00:00:00 +0000
From: joe@oregon.uoregon.edu
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: 418448818
X-Complaints-To: usenet@news.uoregon.edu
X-Trace: pith.uoregon.edu 912734977 22056 (None) 128.223.214.20
Organization: University of Oregon, Eugene
Newsgroups: news.software.nntp
Originator: joe@decoy.uoregon.edu (Joe St Sauver)