🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by joe Fri, 04 Dec 1998 00:00
Benefit of using dash in Linux syslog.conf
#33544
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads