🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36683

Re: inn 2.2 and expire

#36683
From: Arthur Hagen
Date: Fri, 16 Apr 1999 00:00
102 lines
3937 bytes
In article <MPG.118013965c19ca4989681@galaxy.us.dell.com>, pepper@nospam.com writes:

> In article <sig5f7.f0r3.ln@flying.broomstick.com>, 
> art@flying.broomstick.com says...
> > In article <MPG.117fc324904a4fb8989680@galaxy.us.dell.com>, pepper@nospam.com writes:
> 
> > > 1.  Articles are getting expired at a high rate.  Attached at the bottom 
> > > of this message are my config files.  Inncheck complains about 
> > > expire.ctl, but I think it is right.  It says the class lines are 
> > > malformed.
>  
> > By default, news.daily will run with the -c option.  That means having
> > the expire.ctl in the old format.
> 
> I looked at the man page on news.daily.  It doesn't look like it runs 
> with -c if none are present.  And it isn't present in my crontab.  I also 
> checked the news.daily script and the only option passed to expire was -
> v1.  I added -s to get reports on actual k-byte freed.

Check your {news}/log/expire.log file.  It will list the full options
to expire that was used during the news.daily run.

> If I have both standard entries in expire.ctl and class based ones, which 
> one wins?  How does expire determine which to use.  I know the -c tells 
> it to use the standard entry, but I didn't see an option to force class 
> entries.

No, the absence of either -c or overview data should tell it to use the
class based ones.  Use -N, and it will use neither.

> > > 2.  Clients pull headers at a very slow rate...this is caused by 
> > > overview, right?  What can I do to speed this up?
>  
> I changed the entry from 2:c* to 2:!control.*  This should push the 
> control stuff to 26:*, hopefully this won't interfere with anything else.

Unfortunately, it will.  2:!control.* means anything except control.*,
so 3-25 will now be unused.
If you don't want to mess up the numbers (it's not dangerous), you can
instead change it to:

..
3:control*
..
24:c*
..
26:*

That will put y* into 26 too, if you've set it up with one letter per
slot.  But y* is rather empty, most places.
Remember to do 'ctlinnd reload overview.ctl "Minor fix"' after editing.

Other prime candidates for splitting are news.lists.filters and n*
(XOVER on this group will become a *lot* faster), and a threeway
split for alt.nocem.misc, alt.binaries* and a*

If you still don't want to expand on the numbers being used, this
shouldn't be too bad for a start:

0:alt.binaries*
1:alt.nocem.misc
2:a*
3:b*
4:control*
5:c*
6:d*
7:e*
8:f*
9:g*
10:h*
11:i*
12:j*
13:k*
14:m*
15:news.lists.filters
16:n*
17:o*
18:p*
19:r*
20:s*
21:t*
22:u*
23:v*
24:w*
25:z*
26:*

If you don't run alt.binaries*, substitute with *jobs*, which is
also pretty big and useless.

"du -sk * | sort -n" in the uniover directory may give you an
indication on what to split and what to merge, and "du -sk *" in the
overview directory may give you an indication on just where to split.
But getting the really bad high volume / no readers groups split out
seems to be the most important thing.

Regards,
-- 
*Art

Technical Details
Message-ID: <op26f7.gj44.ln@flying.broomstick.com>
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
References: <MPG.117fc324904a4fb8989680@galaxy.us.dell.com> <sig5f7.f0r3.ln@flying.broomstick.com> <MPG.118013965c19ca4989681@galaxy.us.dell.com>

Show Full Headers
Complete Article Headers
Message-ID: <op26f7.gj44.ln@flying.broomstick.com>
Subject: Re: inn 2.2 and expire
Date: Fri, 16 Apr 1999 00:00:00 +0000
From: art@flying.broomstick.com (Arthur Hagen)
References: <MPG.117fc324904a4fb8989680@galaxy.us.dell.com> <sig5f7.f0r3.ln@flying.broomstick.com> <MPG.118013965c19ca4989681@galaxy.us.dell.com>
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: 466946448
X-Complaints-To: abuse@globalone.no
X-Trace: bone.globalone.no 924225386 28475 194.52.172.70 (16 Apr 1999 01:16:26 GMT)
Organization: Broomstick Net Services
Reply-To: art@broomstick.com
NNTP-Posting-Date: 16 Apr 1999 01:16:26 GMT
Newsgroups: news.software.nntp