🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by test Sat, 01 Nov 1997 00:00
stop feeding binaries to overchan disaster!!!
#22851
Author: test
Date: Sat, 01 Nov 1997 00:00
22 lines
1204 bytes
Hi, 

On the recommendation of many, I stopped feeding alt.binaries*,
alt.sex*, and control* to overchan in the newsfeeds file.

A few hours later I see that the server is throttled cause the load ave
is like 94!!!!!  So I looked at the proccess list and almost every
friggin nnrpd proccess says "XOVER" next to it! Were did I go wrong? I
assume that means the newsreader proccess is hanging on trying to read
the overview? Should I have deleted the overview files also? 

I started feeding them to overchan again, rebooted. I see the average
starting to rise again. I will run expireover -s I guess.


Any ideas will be most welcome. 

Thanks in advance =)
todd

Re: stop feeding binaries to overchan disaster!!!
#22837
Author: Jeff Garzik
Date: Sat, 01 Nov 1997 00:00
35 lines
1808 bytes
(cc'd to author)

test wrote:
> On the recommendation of many, I stopped feeding alt.binaries*,
> alt.sex*, and control* to overchan in the newsfeeds file.

> A few hours later I see that the server is throttled cause the load ave
> is like 94!!!!!  So I looked at the proccess list and almost every
> friggin nnrpd proccess says "XOVER" next to it!


nnrpd will generate the XOVER record for any article without a
pre-generated one from .overview.

Obviously you have a lot of clients reading binaries groups, which
forces each and every nnrpd to open each and every article file,
generate an NOV record on the fly, and send it to the client.

MMAP'd overview is a much better solution if you want to improve NOV
speed.  Otherwise, you're re-generating the same data two, three, four
times.



Try feeding alt.* to a file, and then processing that file every five
minutes or so.  Be sure to add a "@alt.*" to your normal overchan line.

I'm pretty sure multiple overchans can be run at once.  (Confirmation?)
-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
Spinne USENET News Service	        Fast and efficient news feeds
http://www.spinne.com/usenet/	           News tuning and consulting

Re: stop feeding binaries to overchan disaster!!!
#22849
Author: brian moore
Date: Sat, 01 Nov 1997 00:00
41 lines
2546 bytes
In article <345B6F3C.2E83@cgrdc.com>,
	test <pcsc@cgrdc.com> writes:
> On the recommendation of many, I stopped feeding alt.binaries*,
> alt.sex*, and control* to overchan in the newsfeeds file.

You would want to do that for a pure feeder machine, or a machine where
people didn't read alt.binaries and alt.sex.  Certainly around here I
need to run overchan on those groups.  I kill it for others, though. :)

> A few hours later I see that the server is throttled cause the load ave
> is like 94!!!!!  So I looked at the proccess list and almost every
> friggin nnrpd proccess says "XOVER" next to it! Were did I go wrong? I
> assume that means the newsreader proccess is hanging on trying to read
> the overview? Should I have deleted the overview files also? 

No, the problem is that the clients want the overview data.  They will
either get it from the server or build it themselves.  You don't want
them building it themselves, since this will basically involve HEAD'ing
every post in the group.  You WANT them to get it from the server and
you WANT to prebuild the overview, especially in busy groups.

Remember, without the .overview file, to simulate it it, innd has to
open each and every article to grab the info.  In the alt.binaries.*,
if your readers are at all like mine, that's repeated a zillion times
a day for each user.  Build it once and be done with it.

> I started feeding them to overchan again, rebooted. I see the average
> starting to rise again. I will run expireover -s I guess.

expireover -a, actually.  You want to -add- to .overview.

Look at your reader report in news.daily.  Heirarchies that don't get
read, you can skip giving to overchan.  If they start getting readership,
let overchan build the overview.

-- 
Brian Moore                      Kill A Spammer For Jesus
Sysadmin, C/Perl Hacker

Re: stop feeding binaries to overchan disaster!!!
#22871
Author: Brian Tao
Date: Mon, 03 Nov 1997 00:00
24 lines
1748 bytes
In article <345DF653.7CF2@moreinfo.com>, Danhiel  <danhiel@moreinfo.com> wrote:
>Brian Tao wrote:
>> 
>>     Wouldn't this miss articles whose first newsgroup is non-alt, but
>> are also crossposted to an alt group?  What is your ME entry?
>
>Not to my knowledge, unless I've been misunderstanding the newsfeeds
>entries.  "*,@alt.*" should match anything not posted to any alt
>groups.  alt.* should match anything posted to any alt groups.  If
>only the first group in the list is being checked I'll be very
>disappointed!

    Yeah, you're right... it will match any newsgroup in the list.  I
tested this by creating three dummy file feeds to /tmp.  One grabbed
all messages, one was *,@alt.* and the last was !*,alt.*.  I expected
the second and third feeds to add up to the first one, but there were
duplicate entries.  I imagine control messages might play a role in
the discrepancy?
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: stop feeding binaries to overchan disaster!!!
#22895
Author: Danhiel
Date: Mon, 03 Nov 1997 00:00
21 lines
1427 bytes
Brian Tao wrote:
     Yeah, you're right... it will match any newsgroup in the list.  I
> tested this by creating three dummy file feeds to /tmp.  One grabbed
> all messages, one was *,@alt.* and the last was !*,alt.*.  I expected
> the second and third feeds to add up to the first one, but there were
> duplicate entries.  I imagine control messages might play a role in
> the discrepancy?

Dunno - what was duplicate between the 2nd two, and what was in * that
wasn't in the alt/non-alt feeds?  "!*" is my default (as "*" in the ME
is a hassle IMO), so that may be part of the difference.

Danhiel

--
Danhiel Baker
Chief SysAdmin,
Supernews, Inc.

Re: stop feeding binaries to overchan disaster!!!
#22936
Author: Another Victim of the Usenet Maf...
Date: Tue, 04 Nov 1997 00:00
38 lines
2401 bytes
On 3 Nov 1997, Brian Tao wrote:

> >Not to my knowledge, unless I've been misunderstanding the newsfeeds
> >entries.  "*,@alt.*" should match anything not posted to any alt
> >groups.  alt.* should match anything posted to any alt groups.  If
> >only the first group in the list is being checked I'll be very
> >disappointed!
> 
>     Yeah, you're right... it will match any newsgroup in the list.  I
> tested this by creating three dummy file feeds to /tmp.  One grabbed
> all messages, one was *,@alt.* and the last was !*,alt.*.  I expected
> the second and third feeds to add up to the first one, but there were
> duplicate entries.  I imagine control messages might play a role in
> the discrepancy?

    Bingo.  I got burned by this (as did one site feeding me) in a fit of
what I will claim is unclear thinking.  No jury would ever convict me.

    Control messages (including cancels) propagate both by the group to
which they are posted, and also to control or control.action (action being
cancel or newgroup or whatever, if they are present in your active file).

    This means that any time you have the wildcard * included in a feed
(excluding it via !* is safe), you're feeding all control messages for all
groups, as well as junk.  So anytime you're excluding part of a full feed,
you need to explicitly exclude control/control.* as appropriate.

*,!alt.* will still send cancels for alt.sex.cancel as it matches the
pseudo-group control.cancel.  You want *,!alt.*,!bofh.*,!net.*,!control.*
in order to stop sending control messages for all these groups.


Barry Bouwsma
I wuz asleep at the time, m'lud


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