Thread View: news.software.nntp
2 messages
2 total messages
Started by Todd Romero
Tue, 13 May 1997 00:00
Expire crawling
Author: Todd Romero
Date: Tue, 13 May 1997 00:00
Date: Tue, 13 May 1997 00:00
63 lines
2338 bytes
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
Re: Expire crawling
Author: James Youngman
Date: Thu, 15 May 1997 00:00
Date: Thu, 15 May 1997 00:00
25 lines
1538 bytes
1538 bytes
In article <33787C4E.296E@mnsinc.com>, toddr@mnsinc.com says... > >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. Check that the list of files to be deleted is sorted. If it is not, this can often be due to the sort command failing, for example because /tmp is not big enough to hold the intermediate files. Try setting TMPDIR in innshellvars or editing news.daily to pass -T to sort(1). -- James Youngman VG Gas Analysis Systems The trouble with the rat-race Before sending advertising material, read is, even if you win, you're http://www.law.cornell.edu/uscode/47/227.html still a rat.
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