Thread View: news.software.nntp
6 messages
6 total messages
Started by Ron Pepper
Thu, 15 Apr 1999 00:00
inn 2.2 and expire
Author: Ron Pepper
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
80 lines
2206 bytes
2206 bytes
Hi All,
I recently upgraded to inn 2.2 with about 20 gigs of space for
news. I am using Solaris 7 with cnfs and am sending binaries to trash
(although I shouldn't be getting any anyway.) Everything is running
great except for 2 things.
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.
2. Clients pull headers at a very slow rate...this is caused by
overview, right? What can I do to speed this up?
cycbuff.conf
------------
cycbuff:ONE:/cycbuff/news:15728640
cycbuff:TWO:/cycbuff/altbin:10240000
metacycbuff:NEWS:ONE
metacycbuff:ALT:TWO
storage.conf
------------
method trash {
newsgroups: alt.binaries.*
}
method trash {
newsgroups: alt.sex*
}
method cnfs {
newsgroups: alt.*
class: 1
options: ALT
}
method cnfs {
newsgroups: comp.*
class: 2
options: NEWS
}
method cnfs {
newsgroups: dell.*
class: 5
options: NEWS
}
method cnfs {
newsgroups: *
class: 0
options: NEWS
}
expire.ctl
----------
/remember/:14
## Keep for 1-10 days, allow Expires headers to work.
*:A:1:10:never
## New added by RP 04/02/99
0:1:7:10
1:1:5:7
2:3:5:7
5:10:20:30
--
Please remove the asterisk and pound sign from my
my email address to reply.
ron_pep*per@de#ll.com
Re: inn 2.2 and expire
Author: Ron Pepper
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
50 lines
2754 bytes
2754 bytes
Thanks for the info, a few questions though: 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. 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. > > 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. I didn't put spaces betweeen the numbering scheme, have to remember that for next time. > Try not to use TOO many uniover files. Limit yourself a bit, but try > to generate as even a spread as possible. > Put groups like control.cancel and other groups that no humans read > (well, except you, Perry) in their own buffers. Having "c*" means > that all control.* postings unified overviews end up mixed with > comp.*, and the latter will become sloow. Thanks again, Ron. -- Please remove the asterisk and pound sign from my my email address to reply. ron_pep*per@de#ll.com
Re: inn 2.2 and expire
Author: Arthur Hagen
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
26 lines
1696 bytes
1696 bytes
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. > 2. Clients pull headers at a very slow rate...this is caused by > overview, right? What can I do to speed this up? Try not to use TOO many uniover files. Limit yourself a bit, but try to generate as even a spread as possible. Put groups like control.cancel and other groups that no humans read (well, except you, Perry) in their own buffers. Having "c*" means that all control.* postings unified overviews end up mixed with comp.*, and the latter will become sloow. Regards, -- *Art
Re: inn 2.2 and expire
Author: Arthur Hagen
Date: Fri, 16 Apr 1999 00:00
Date: Fri, 16 Apr 1999 00:00
102 lines
3937 bytes
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
Re: inn 2.2 and expire
Author: Arthur Hagen
Date: Sun, 18 Apr 1999 00:00
Date: Sun, 18 Apr 1999 00:00
32 lines
2250 bytes
2250 bytes
In article <MPG.1183b2e8a0a5412998968b@news-server.austin.rr.com>, bob@none.com writes: > When I set up overview.ctl though I numbered by 5's so I could > always add something inbetween ranges in the future and have it still > look nice ;) I also broke out the *jobs*, alt.binaries*, > news.lists.filters, and control*. In the future, would it be a better > idea to put the high volume ones first? I kinda did it, but I didn't put > the control and news.lists.filters up top. Yes, it will help. But by *very* little, and only during article writes. The pattern matching for overviews isn't taking much of the total write time, so I wouldn't really bother. I'd also remove the 3-4 least used letters here, and let them go in the * bin, to save on the number of open mmapped files. You probably have a finite amount of RAM, resources and disk cache, and splitting up in too many groups will hurt performance. But check your client stats too. If everybody reads soc.* groups, it would speed up client reads if you split up s*, and bunched some other groups that noone reads together. Doing what you've already done, splitting out the noisiest no-read groups, is what helps most though. It can be really noticable when fetching overviews. Regards, -- *Art
Re: inn 2.2 and expire
Author: Ron Pepper
Date: Sun, 18 Apr 1999 00:00
Date: Sun, 18 Apr 1999 00:00
65 lines
2238 bytes
2238 bytes
Hi Art, Thanks for all the help. I was able to incorporate most of your suggestions when I reinstalled this weekend (upgraded space.) When I set up overview.ctl though I numbered by 5's so I could always add something inbetween ranges in the future and have it still look nice ;) I also broke out the *jobs*, alt.binaries*, news.lists.filters, and control*. In the future, would it be a better idea to put the high volume ones first? I kinda did it, but I didn't put the control and news.lists.filters up top. overview.ctl ------------ 0:alt.binaries* 1:*jobs* 5:alt.nocem.misc 10:a* 15:b* 20:control* 25:c* 30:d* 35:e* 40:f* 45:g* 50:h* 55:i* 60:j* 65:k* 70:l* 75:m* 80:news.lists.filters 85:n* 90:o* 95:p* 100:q* 105:r* 110:s* 115:t* 120:u* 125:v* 130:w* 135:x* 140:y* 145:z* 254:* I did find the -c in news.daily that it passed to expire. I wish they would put that in someplace a bit more obvious. Thanks again, Ron. In article <op26f7.gj44.ln@flying.broomstick.com>, art@flying.broomstick.com says... > "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.
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