🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17738

Expire crawling

#17738
From: Todd Romero
Date: Tue, 13 May 1997 00:00
63 lines
2338 bytes
Hi all, if anyone has the time to look at this and maybe give some
suggestions if you have expirienced a similar problem, it would be
greatly appeciated. The problem and history is somewhat outlined for
easier absorbtion. =)


PROBLEM:
as of late expire is taking up to 6 hours to run. I use the delayrm
flag, so that seems way to long, especially since it used to take 30-60
minutes. 

SYSTEM:
I have 23 gigs of scsi drives, powered by 3 PCI controllers. This is on
a bsdi 2.1 (INND 1.4) systems with 256Mb ram, and a P166. 

BACKGROUND:
A few weeks ago, I was having a problem of expire exiting with "cant
alloc 257876902 bytes, history file not updated" So, I ran "fixhist.pl"
and it *fixed that problem* =)

Also, I changed the rc.news file to bash, and used the 'ulimit' command.
I also changed news.daily to bash with the 'ulimit' command. 

In addition I added the following to the kernel:

options         "KMEMSIZE=\(16*1024*1024\)"
options         "DFLDSIZ=\(64*1024*1024\)"
options         "DFLSSIZ=\(4*1024*1024\)"
options         "MAXDSIZ=\(256*1024*1024\)"

options         CHILD_MAX=512
options         OPEN_MAX=256
options         NMBCLUSTERS=2048


The server is NOT swapping at all.

QUESTIONS:

1) The MAXDSIZ *used* to be 128*1024*1024, could upping it cause a
slowdown in expire?

2) could the history file still be slightly out of whack in a way that
"fixhist" couldnt fix? 



NOTE: our feeder box is a P120 with 64Mb ram, with 2 4gig scsi, each on
their own controller. On THAT machine expire takes 10minutes! =)


Any input is very welcome, for I am a networking/routing guy who has
been given the side task of news admin.

Thanks in advance =)

Todd Romero
Network Operations
Monumental Network Systems
todd@monumental.com

Technical Details
Message-ID: <33787C4E.296E@mnsinc.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

Show Full Headers
Complete Article Headers
Message-ID: <33787C4E.296E@mnsinc.com>
Subject: Expire crawling
Date: Tue, 13 May 1997 00:00:00 +0000
From: Todd Romero <toddr@mnsinc.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: 241282971
Distribution: inet
Organization: Monumental Network Systems
Reply-To: todd@monumental.com
Newsgroups: news.software.nntp