🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Mike Loseke Wed, 11 Sep 1996 00:00
expire drags when rebuilding history
#10814
Author: Mike Loseke
Date: Wed, 11 Sep 1996 00:00
30 lines
1886 bytes
This just started this past weekend: when expire runs (in any way, shape,
or form) it will cruise pretty quickly through the first ~20MB of the
history file  then crawl (24+ hours) through the next ~80MB. Once it's
past this, it will cruise through the remainder of the file (30MB+) and
finish up without a problem. This is for expire run for the entire spool.
If I expire /usr/spool/news/alt/binaries *only* then it works fine.
Here's df:

Filesystem  1024-blocks  Used Available Capacity Mounted on
/dev/hda1      148804  125515    15605     89%   /
/dev/hda3      761633  231364   486699     32%   /usr/lib/news
/dev/sdd1     4052132  918737  2923749     24%   /usr/spool/news
/dev/sdc1     2028098  800625  1122651     42%   /usr/spool/news2
/dev/sdb1     1880987 1249307   524008     70%   /usr/spool/news/alt
/dev/sda1     1880987 1241107   532208     70%   /usr/spool/news/alt/binaries

Has anyone ever seen behavior like this? There's plenty of room on
/usr/lib/news so it isn't there (although it is IDE...). This really
sucks having expire take longer than 24 hours.

I've also seen 'ctlinnd <anything>' hang all over the place. Could these
two be related?
-- 
       Mike Loseke        |
   System Administrator   | OK, so you're a Ph.D.
  Verinet Communications  | Just don't touch anything.
     mike@verinet.com     |

Re: expire drags when rebuilding history
#11250
Author: Joe Schofield
Date: Mon, 30 Sep 1996 00:00
35 lines
2002 bytes
mike@bamboo.verinet.com (Mike Loseke) wrote:

>This just started this past weekend: when expire runs (in any way, shape,
>or form) it will cruise pretty quickly through the first ~20MB of the
>history file  then crawl (24+ hours) through the next ~80MB. Once it's
>past this, it will cruise through the remainder of the file (30MB+) and
>finish up without a problem. This is for expire run for the entire spool.
>If I expire /usr/spool/news/alt/binaries *only* then it works fine.
>Here's df:


>Has anyone ever seen behavior like this? There's plenty of room on
>/usr/lib/news so it isn't there (although it is IDE...). This really
>sucks having expire take longer than 24 hours.

Yes - As a matter of fact, I was going to post a similar question, but
my server died!  I am hoping my problem is (was) the following:

	I am running Linux 2.0.0 with 5 scsi drives.... I was getting many
filesystem errors, and it the os finally siezed up - had to re-do
everything from scratch (except mt *.ctl files).  I think I had a
termination power problem with 4 drives on the outside, I don't think
it was getting enough termination power... I'm learning the system
myself... If I come up with anything else, I'll let you know... One
more thing, I was getting a 'can't reserve server' from expire, and
'can't pause server' too. I think my os was so screwed, it just was a
metter of time....

Joe




Re: expire drags when rebuilding history
#11344
Author: Tim Rosmus
Date: Wed, 02 Oct 1996 00:00
32 lines
2034 bytes
joes@keycomp.net (Joe Schofield) writes:

>mike@bamboo.verinet.com (Mike Loseke) wrote:

>>This just started this past weekend: when expire runs (in any way, shape,
>>or form) it will cruise pretty quickly through the first ~20MB of the
>>history file  then crawl (24+ hours) through the next ~80MB. Once it's
>>past this, it will cruise through the remainder of the file (30MB+) and
>>finish up without a problem. This is for expire run for the entire spool.

Don't know if this is the problem but I just found out last week that
if your run the "news.daily" script with the "delayrm" option, but without
the "expdir=/whatever", then expire runs as...
    "expire -r -z/whatever/expire.rm"

This causes expire to pause the server with a "REASON" of
   "-z/whatever/expire.rm"

It will not even use a "expire.rm" file or the fastrm command.  This would
slow down expire greatly as it will have to unlink each file it comes
across in the history file as needed.

The fix is to always use the "expdir=/whatever" option to news.daily
or edit the news.daily file and add something to the "REASON=" line.
-- 
 Internet:    <tim@mdd.comm.mot.com> |    Tim Rosmus (Sys Analyst)
 Mot-X400-ID: <ctr001@email.mot.com> | Motorola - Wireless Data Group
 UUCP:        <....uunet!mdisea!tim> |    19807 North Creek Parkway
 FAX:         <  206 - 487 - 5800  > | Bothell, WA USA (206) 487-5928

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