🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Michael Schwager Tue, 26 Oct 1999 00:00
Expire/INND 2.2.1 problems
#41126
Author: Michael Schwager
Date: Tue, 26 Oct 1999 00:00
63 lines
2664 bytes
Hi,
We're seeing some not-quite-right behavior with innd and expire on our 
News servers.  First, my News partitions are set up:

/dev/.../vol02  468462  213237  254757  46%  /usr/local/news
/dev/.../vol01 2882788 1255891 1624015  44%
                              /usr/local/news/spool/articles

Last week I noticed that our /usr/local/news partition had an extra 100 
Meg or so inexplicably used.  I kill and restart innd on a daily basis, 
and the problem is gone.  We do not rotate the logs from news.daily, we 
have another log rotator program.  But then, the logs are written to by 
syslog anyways so restarting innd should not affect it, no?

As part of this, we have weird expire problems that don't even seem to be 
problems, as my news spool is not growing.  We kill innd at 12:29 am 
every day, and get this message in cron:

Date: Tue, 26 Oct 1999 00:29:11 -0500 (CDT)
From: News Administrator <news>
To: news
Subject: Boot-time Usenet warning on newshost

System shut down during expire. Unlinking articles listed in
/usr/local/news/log/expire.rm.16440


BUT, we start expire later.  Notice when the "date" command prints:

From news Tue Oct 26 02:52:44 1999
Date: Tue, 26 Oct 1999 02:52:44 -0500 (CDT)
From: News Administrator <news>
To: news
Subject: Output from "cron" command

Your "cron" job on newshost
/usr/local/news/bin/news.daily expdir=/usr/local/tmp delayrm expireover 
norotate ; /usr/local/bin/rotate_log expire.log -L /usr/local/news/log -s 
-c -n 7 -m 644 -B /usr/local/news/log/OLD; date

produced the following output:

Tue Oct 26 02:51:43 CDT 1999


...and finally, from innreport I see:

Expire messages:
expire begin Tue Oct 26 00:37:53 CDT 1999: (-v1 '-d/usr/local/tmp' '-
rExpiring 4006 on /usr/local/tmp' -z/usr/local/news/log/expire.rm)
...
        expirerm start Tue Oct 26 00:46:42 CDT 1999
        expirerm end Tue Oct 26 02:44:02 CDT 1999

Can anyone explain this?  I'm baffled.  Expirerm should start from 
news.daily, no?

-- 
-Mike Schwager                         -o)
 schwager@enteract.com                 /\\
                                      _\_v

Re: Expire/INND 2.2.1 problems
#41131
Author: Paul Tomblin
Date: Tue, 26 Oct 1999 00:00
20 lines
1711 bytes
In a previous article, schwager@enteract.com (Michael Schwager) said:
>Last week I noticed that our /usr/local/news partition had an extra 100 
>Meg or so inexplicably used.  I kill and restart innd on a daily basis, 

Look for nnrpd processes that are just sitting there doing nothing since the
last expire.  Under inn 1.4 I had a big problem with these, since they would
keep an old copy of the history file "alive" (ie. open but unlinked) which
meant even though you could only see one (or two during expires) copies of the
history file, there was another one there.  I started running a script every
night that killed any nnrpds older than 12 hours old, and the problem went
away.



-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

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