Thread View: news.software.nntp
6 messages
6 total messages
Started by Kueh, Anthony
Mon, 07 Apr 1997 00:00
Expire still takes days!
Author: Kueh, Anthony
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
30 lines
1914 bytes
1914 bytes
I still can't figure this out. I have a news server running Linux 2.0.29 with INN 1.5.1. The system is a Pentium 166 with 64 megs ram. I have /var/lib, /var/spool, /var/log each on its own disk, and /var/spool is actually a stripe set of disks using the MD driver in Linux. During the nightly news.daily, it still takes forever! I am using delayrm and assigning EXPDIR to /tmp, which is also its own disk. I had rebuilt the system from scratch, and the server seems to be running well when the history file was small. (Only about 2-3 days of history).. With that, it usually expired within 30-40 minutes.. but when the history file starts to get big, (now it's about 10 days, at about 190 megs), the system almost never finishes. I always end-up just killing the process after 2 or 3 days. Does anyone have ANY idea what might be causing this? By the way, I am running Redhat 4.1 with the INND 1.5.1 RPM. -Tony +------------------------------------------------------------+ Anthony Kueh Department of Computer Sciences kueh@uiuc.edu Univ. of Illinois-Urbana/Champaign Nearly all men can stand adversity, but if you want to test a man's character, give him power. -- Abraham Lincoln +------------------------------------------------------------+
Re: Expire still takes days!
Author: Bruce Esquibel
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
32 lines
1974 bytes
1974 bytes
Kueh, Anthony (kueh@students.uiuc.edu) wrote: : I still can't figure this out. I have a news server running Linux 2.0.29 : with INN 1.5.1. The system is a Pentium 166 with 64 megs ram. I have : /var/lib, /var/spool, /var/log each on its own disk, and /var/spool is : actually a stripe set of disks using the MD driver in Linux. During : the nightly news.daily, it still takes forever! I am using delayrm and : assigning EXPDIR to /tmp, which is also its own disk. : I had rebuilt the system from scratch, and the server seems to be running : well when the history file was small. (Only about 2-3 days of history).. : With that, it usually expired within 30-40 minutes.. but when the history : file starts to get big, (now it's about 10 days, at about 190 megs), the : system almost never finishes. I always end-up just killing the process : after 2 or 3 days. With only 64 megs of ram I'm surprised it's running at all. Expire, and probably everything else is likely running from swap. When we migrated from Cnews to INN, 64M was fine for Cnews with 40-50 readers. Firing up INN on that made 'cannot fork' a common console message. INN seems to fit into 128 meg comfortably but if you have a lot of readers I'd get at least 256 meg. I have a similar history (190-200 meg) and the innd hovers between 45-52 megs by itself. -bruce bje@ripco.com
Re: Expire still takes days!
Author: Alec H. Peterson
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
38 lines
2471 bytes
2471 bytes
In article <Pine.SOL.3.91.970407014245.13428A-100000@ux4.cso.uiuc.edu>, Kueh, Anthony <kueh@students.uiuc.edu> wrote: >I still can't figure this out. I have a news server running Linux 2.0.29 >with INN 1.5.1. The system is a Pentium 166 with 64 megs ram. I have >/var/lib, /var/spool, /var/log each on its own disk, and /var/spool is >actually a stripe set of disks using the MD driver in Linux. During >the nightly news.daily, it still takes forever! I am using delayrm and >assigning EXPDIR to /tmp, which is also its own disk. > >I had rebuilt the system from scratch, and the server seems to be running >well when the history file was small. (Only about 2-3 days of history).. >With that, it usually expired within 30-40 minutes.. but when the history >file starts to get big, (now it's about 10 days, at about 190 megs), the >system almost never finishes. I always end-up just killing the process >after 2 or 3 days. > >Does anyone have ANY idea what might be causing this? By the way, I am >running Redhat 4.1 with the INND 1.5.1 RPM. Yes, several. Try using the -z option to expire (I believe it's the delayrm option to news.daily). When you do that, make sure you sort the output file before passing it to expirerm, that way things will go _much_ faster. If you have your spool all on one disk (or virtual disk), you can also pass fastrm another option that will tell it to use relative references when doing a chdir(). Alec -- +------------------------------------+--------------------------------------+ |Alec Peterson - ahp@hilander.com | Erols Internet Services, INC. | |Network Engineer | Springfield, VA. | +------------------------------------+--------------------------------------+
Re: Expire still takes days!
Author: Alan Brown
Date: Tue, 08 Apr 1997 00:00
Date: Tue, 08 Apr 1997 00:00
27 lines
1702 bytes
1702 bytes
In article <5ibe2s$1f5$1@gail.ripco.com>, Bruce Esquibel <bje@ripco.com> wrote: >Kueh, Anthony (kueh@students.uiuc.edu) wrote: >With only 64 megs of ram I'm surprised it's running at all. Expire, and >probably everything else is likely running from swap. 64Mb is fine on a Linux box with a 150Mb history file and only a few readers. MMAP has to be used however. It's fixed in 2.0.x and it's a good idea to use it and one of the various nnrpd patches. (I use shared active and have 1.2Mb shared out of a 1.5Mb process footprint on average) >I have a similar history (190-200 meg) and the innd hovers between 45-52 >megs by itself. Sounds like you're not running with MMAP support compiled in. AB -- o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html o Junk email returned, in bulk, back to sender; w/copies to all postmasters. o Received junkmail constitutes a request for aggressive site security probing.
Re: Expire still takes days!
Author: Jeff Garzik
Date: Tue, 08 Apr 1997 00:00
Date: Tue, 08 Apr 1997 00:00
13 lines
1043 bytes
1043 bytes
Alan Brown wrote: > MMAP has to be used however. It's fixed in 2.0.x and it's a good idea to > use it and one of the various nnrpd patches. (I use shared active and > have 1.2Mb shared out of a 1.5Mb process footprint on average) Setting DBZCFLAGS to -DMMAP has also gives expire and innd a performance boost. For some reason MMAP isn't enabled at all in the sample Linux 2.0 config. Jeff
Re: Expire still takes days!
Author: James Youngman
Date: Tue, 08 Apr 1997 00:00
Date: Tue, 08 Apr 1997 00:00
40 lines
2297 bytes
2297 bytes
In article <Pine.SOL.3.91.970407014245.13428A-100000@ux4.cso.uiuc.edu>, kueh@students.uiuc.edu says... > >I still can't figure this out. I have a news server running Linux 2.0.29 >with INN 1.5.1. The system is a Pentium 166 with 64 megs ram. I have >/var/lib, /var/spool, /var/log each on its own disk, and /var/spool is >actually a stripe set of disks using the MD driver in Linux. During >the nightly news.daily, it still takes forever! I am using delayrm and >assigning EXPDIR to /tmp, which is also its own disk. Make sure that partition is big enough. Also, check that the sort of expire.rm is successful. If not, an unsorted list is used and that takes ages. It'd be helpful to know what phase of operation is taking all this time. If you could post the relevant sections of the oputput of "pstree -l -a" that would be great. >I had rebuilt the system from scratch, and the server seems to be running >well when the history file was small. (Only about 2-3 days of history).. >With that, it usually expired within 30-40 minutes.. but when the history >file starts to get big, (now it's about 10 days, at about 190 megs), the >system almost never finishes. I always end-up just killing the process >after 2 or 3 days. This is definitely too long! When you post the pstree argument could you also post the full news.daily command line you're using and the output of df source /usr/lib/news/innshellvars echo $TMPDIR $SORT Thanks. -- 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