🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #35283

Inn 2.1 expire+history woes

#35283
From: Neale Banks
Date: Wed, 10 Feb 1999 00:00
53 lines
2891 bytes
Scanning this group I get the impression I am not alone with inn-2.x 
expire problems.

Running inn 2.1 on Debian(hamm) Linux with Kernel 2.0.36 expire is taking
a *long* time and history is *large* (probably one and the same problem?).

Expire is running now and we currently have:

$ ls -l db/hist*
-rw-rw-r--   1 news     news     495920962 Feb 10 21:38 db/history
-rw-rw-r--   1 news     news          110 Feb 10 21:37 db/history.dir
-rw-rw-r--   1 news     news     127470372 Feb 10 21:38 db/history.hash
-rw-rw-r--   1 news     news     84980248 Feb 10 21:38 db/history.index
-rw-rw-r--   1 news     news     38563840 Feb 10 21:37 db/history.n
-rw-rw-r--   1 news     news          104 Feb 10 02:46 db/history.n.dir
-rw-rw-r--   1 news     news            0 Feb 10 02:46 db/history.n.hash
-rw-rw-r--   1 news     news            0 Feb 10 02:46 db/history.n.index

We have a almost 500MB history, expire has been running for nearly 19
hours and is still furiously grinding the system to a snails pace :-(

Running tail on history.n:

[F7BADD8F665B3619D2E7633940DF8D56]      916792625~-
[8463C188A10FC29F802665E3608944D2]      916792625~-
[D68C66956456EB4F7EBEBA3B969E0CE5]      916792625~-
[D5EDAAAFE38F8B03F68B92CCAD33FDE8]      916792625~-
[3AF373723FAC8BD889D85C96C16D0D72]      916792626~-

And feeding 916792625 through ctime we get "Wed Jan 20 11:37:05 1999"

If I understand the docs correctly, for CNFS (all storage on this system
is CNFS, 6BG a.b.* + 4GB for rest) history entries like the above are for
no-longer-present articles.  But, in etc/expire.ctl, remember is set:

	/remember/:10

So, it appears that the system is remembering articles from 20 days ago
when remember is set to 10 days - a possibly significant contributor to
the history size. Is there something else I might have missed here?

While on the subject of expire.ctl: in a wholly-CNFS system, the rest of
expire.ctl is irrelevant as there is not traditional expiry type deletion
of articles - correct?

Also, the expire process has grown to >200MB.  Is this "normal"?

Thanks,
Neale.



Technical Details
Message-ID: <Pine.LNX.4.05.9902102208440.31512-100000@marina.lowendale.com.au>
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: <Pine.LNX.4.05.9902102208440.31512-100000@marina.lowendale.com.au>
Subject: Inn 2.1 expire+history woes
Date: Wed, 10 Feb 1999 00:00:00 +0000
From: Neale Banks <neale@lowendale.com.au>
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: 442781501
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: usenet@mercury.planet.net.au
X-Trace: mercury.planet.net.au 918650032 28793 203.26.242.120 (10 Feb 1999 12:33:52 GMT)
Organization: Planet Internet
Mime-Version: 1.0
NNTP-Posting-Date: 10 Feb 1999 12:33:52 GMT
Newsgroups: news.software.nntp