🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
18 messages
18 total messages Started by Panagiotis Christias Fri, 20 Aug 1999 00:00
Poor overview performance on FreeBSD/INN2.2
#39309
Author: Panagiotis Christias
Date: Fri, 20 Aug 1999 00:00
32 lines
2040 bytes
Hello,

we've recently upgraded our news server to a PII 450Mhz, with 512MB RAM
and 4x4.5GB UW-SCSI disks for news (one for news binaries/history/overview
and the rest for news spool) spread over 3 UW-SCSI controllers. We're
using FreeBSD 3.2-CURRENT and a recent INN 2.2-STABLE snapshot with
CNFS and the following inn.conf options:

  hiscachesize:           16384
  nnrpdoverstats:         true
  nnrpdcheckart:          true
  extendeddbz:            true
  storageapi:             true
  articlemmap:            true
  overviewmmap:           true

We're currently receiving about 2.5GB/day and have no more than 40
concurrent news readers. Although the load of server is minimal, our
news readers are facing an extremely poor overview performance. The
XOVER command cannot send more than 40-50 lines per second resulting
a delay of several minutes for newsgroups with several thousand
articles :(. The previous server was an old sun with old disks and
old inn (1.5.1 with traditional storage) but had never such a problem.

Any ideas? 
Panagiotis

--
Panagiotis J. Christias    Network Management Center
P.Christias@noc.ntua.gr    National Technical Univ. of Athens, GREECE

Re: Poor overview performance on FreeBSD/INN2.2
#39306
Author: Miquel van Smoorenburg
Date: Fri, 20 Aug 1999 00:00
22 lines
1611 bytes
In article <37BD70F9.ACE89163@noc.ntua.gr>,
Panagiotis Christias  <christia@noc.ntua.gr> wrote:
>We're currently receiving about 2.5GB/day and have no more than 40
>concurrent news readers. Although the load of server is minimal, our
>news readers are facing an extremely poor overview performance. The
>XOVER command cannot send more than 40-50 lines per second resulting
>a delay of several minutes for newsgroups with several thousand
>articles :(. The previous server was an old sun with old disks and
>old inn (1.5.1 with traditional storage) but had never such a problem.
>
>Any ideas? 

Yes. The overview performance of INN 2.2 sucks. Don't use it on
a reader box, you'll have to wait for 2.3. Fix: go back to
1.7.2-insync.

Mike.
-- 
... somehow I have a feeling the hurting hasn't even begun yet
	-- Bill, "The Terrible Thunderlizards"

Re: Poor overview performance on FreeBSD/INN2.2
#39326
Author: Russ Allbery
Date: Sat, 21 Aug 1999 00:00
13 lines
1111 bytes
Panagiotis Christias <christia@noc.ntua.gr> writes:

> I'm not totally conviced that's entirely INN 2.2 fault.

I am; the way in which 2.2 was storing overview information was really
inefficient for readers (great for writing, though).  Kondou's got some
potentially great stuff in the works for 2.3, though, as well as Clayton's
fixes that make it fly for readers but are fairly slow for transit again.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Poor overview performance on FreeBSD/INN2.2
#39332
Author: Panagiotis Christias
Date: Sat, 21 Aug 1999 00:00
39 lines
2491 bytes
Miquel van Smoorenburg wrote:
> 
> In article <37BD70F9.ACE89163@noc.ntua.gr>,
> Panagiotis Christias  <christia@noc.ntua.gr> wrote:
> >We're currently receiving about 2.5GB/day and have no more than 40
> >concurrent news readers. Although the load of server is minimal, our
> >news readers are facing an extremely poor overview performance. The
> >XOVER command cannot send more than 40-50 lines per second resulting
> >a delay of several minutes for newsgroups with several thousand
> >articles :(. The previous server was an old sun with old disks and
> >old inn (1.5.1 with traditional storage) but had never such a problem.
> >
> >Any ideas?
> 
> Yes. The overview performance of INN 2.2 sucks. Don't use it on
> a reader box, you'll have to wait for 2.3. Fix: go back to
> 1.7.2-insync.

I'm not totally conviced that's entirely INN 2.2 fault. I've seen
other 2.2 installations that worked fine (based on Solaris with 2G
RAM and RAID subsystems carrying full feeds and a lot more concurrrent
users).

I've enabled overstats and I got result like these:

Aug 20 18:18:45 foo nnrpd[24069]: bar overstats count 1 hit 4928 miss 0 time 394363 size 1281618 read 1281618 dbz 266838 seek 2 get 82247 artcheck 52

It seems that the major delay is in the dbz opoterations. I'm confused...
 
> Mike.
> --
> ... somehow I have a feeling the hurting hasn't even begun yet
>         -- Bill, "The Terrible Thunderlizards"

--
Panagiotis J. Christias    Network Management Center
P.Christias@noc.ntua.gr    National Technical Univ. of Athens, GREECE

Re: Poor overview performance on FreeBSD/INN2.2
#39342
Author: meow
Date: Sun, 22 Aug 1999 00:00
15 lines
1509 bytes
hume spamfilter <hume.spamfilter@bofh.halifax.ns.ca> wrote:

> Here's a loaded question... would YOU (or anybody else reading this) run 2.3
> on a ~ 20 readers average box, moving 380k articles/750M a day?  As you watch
> the development happen, how often do you figure such a machine would do Bad 
> Things?

Urrgh.  Just running and feeding and serving readers, it's been pretty
happy.  I've been seeing a weird problem where innd (not consistently,
that would be too easy, and no coredumps of course) dies when feeds
get flushed (lots of ctlinnd commands do this, for example).  There
have been some leaks lurking in there, and I'm hoping they are
related.

Re: Poor overview performance on FreeBSD/INN2.2
#39351
Author: Russ Allbery
Date: Sun, 22 Aug 1999 00:00
33 lines
2167 bytes
hume spamfilter <hume.spamfilter@bofh.halifax.ns.ca> writes:

> Here's a loaded question... would YOU (or anybody else reading this) run
> 2.3 on a ~ 20 readers average box, moving 380k articles/750M a day?  As
> you watch the development happen, how often do you figure such a machine
> would do Bad Things?

Sure.  I think Marc is, and Clayton's running a version of the current
code in production at Erols, I believe.  I don't think I'd choose it over
1.7.2 for my site right now, but my 1.7.2 installation is having almost no
problems and has been quite stable for two years, so I'm not in a hurry to
change it.

> Where would one find Clayton's fixes?

Any INN-CURRENT snapshot.  It's been rolled into the tree.

> I'm in a position where the initial tests of INN2.2 seemed great, "sure
> overview seems a bit slower, but the other wins seem worth it...".
> Then, of course, it had time to build up to more than 2k retained
> articles per group, and it started to hurt.  :)  We don't have the spare
> machinery to back out of CNFS, so I'm looking to either stall until 2.3
> is ready, or risk running 2.3 as it is, depending on how often I can
> expect to bounce it.

The main problem right now is lack of documentation, plus the high
probability that some things (like maybe token format and the like) could
change before 2.3 is actually released to fix other things.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Poor overview performance on FreeBSD/INN2.2
#39361
Author: hume.spamfilter
Date: Mon, 23 Aug 1999 00:00
24 lines
1970 bytes
Russ Allbery <rra@stanford.edu> wrote:
: inefficient for readers (great for writing, though).  Kondou's got some
: potentially great stuff in the works for 2.3, though, as well as Clayton's

Here's a loaded question... would YOU (or anybody else reading this) run 2.3
on a ~ 20 readers average box, moving 380k articles/750M a day?  As you watch
the development happen, how often do you figure such a machine would do Bad 
Things?

Where would one find Clayton's fixes?

I'm in a position where the initial tests of INN2.2 seemed great, "sure
overview seems a bit slower, but the other wins seem worth it...".  Then,
of course, it had time to build up to more than 2k retained articles per
group, and it started to hurt.  :)  We don't have the spare machinery to
back out of CNFS, so I'm looking to either stall until 2.3 is ready, or
risk running 2.3 as it is, depending on how often I can expect to bounce
it.

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
                       -> Solaris Snob and general NOCMonkey

Re: Poor overview performance on FreeBSD/INN2.2
#39378
Author: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
21 lines
1544 bytes
bill davidsen <davidsen@tmr.com> writes:

> Sad but true, use 2.2 for a transit machine and 2.3 for a reader
> machine. Of course I have not tried to use 2.3 as a transit machine with
> overview off, so I don't know if that would be faster (seems likely) or
> changed in stability.

I have, and it's even faster than 2.2 if you're using Perl filters.

> Although I have had pretty good luck with 2.3, every once in a while
> innd does die when a ctlinnd command is given. The obvious solution is
> to feed news on the nntps (433) port and run nnrpd in daemon mode on the
> nntp port. The disadvantage is that ctlinnd doesn't seem to cope with
> that in terms of options enabling and disabling readers, etc.

Any idea what could be killing it?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Poor overview performance on FreeBSD/INN2.2
#39411
Author: bill davidsen
Date: Tue, 24 Aug 1999 00:00
29 lines
2190 bytes
In article <yllnb51uaw.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Panagiotis Christias <christia@noc.ntua.gr> writes:
| 
| > I'm not totally conviced that's entirely INN 2.2 fault.
| 
| I am; the way in which 2.2 was storing overview information was really
| inefficient for readers (great for writing, though).  Kondou's got some
| potentially great stuff in the works for 2.3, though, as well as Clayton's
| fixes that make it fly for readers but are fairly slow for transit again.

Sad but true, use 2.2 for a transit machine and 2.3 for a reader
machine. Of course I have not tried to use 2.3 as a transit machine with
overview off, so I don't know if that would be faster (seems likely) or
changed in stability.

Although I have had pretty good luck with 2.3, every once in a while
innd does die when a ctlinnd command is given. The obvious solution is
to feed news on the nntps (433) port and run nnrpd in daemon mode on the
nntp port. The disadvantage is that ctlinnd doesn't seem to cope with
that in terms of options enabling and disabling readers, etc.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Poor overview performance on FreeBSD/INN2.2
#39417
Author: hume.spamfilter
Date: Wed, 25 Aug 1999 00:00
46 lines
2320 bytes
N <niels@usenet.bakker.net> wrote:
: Solaris?  Their libc SEGV's when you try to printf("%s", NULL).

Yup.

: that links it to an auth statement.  The <..> stuff is done to avoid
: potential clashes with existing names.

Well, the following config SEGVs nnrpd as well:

auth "localhost" {
        # Allow reading/posting from the local host.
        hosts: "stdin,localhost,127.0.0.1"
        default: "<localhost-user>"
        default-domain: "BOFH.Halifax.NS.Ca"
}

auth "UCIS-user" {
        key:            "UCIS-user"
        hosts:          "*.UCIS.Dal.Ca"
        default:        "UCIS-user"
        default-domain: "UCIS.Dal.Ca"
        res:            "domain ucis.dal.ca"
}

# ordinary users
access "UCIS-user" {
        key:            "UCIS-user"
        users:          "*@UCIS.Dal.Ca"
        newsgroups:     "*"
        access:         "Read Post"
}

#0  0x1f9e4 in strip_accessgroups () at perm.c:992
992         for (i = 0; auth_realms[i]; i++) {

All I'm trying to do is allow all of *.UCIS.Dal.Ca to be able to connect
and read everything, in the style of nnrp.access.

I should grab a new snapshot, as well.

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
                       -> Solaris Snob and general NOCMonkey

Re: readers.conf
#39425
Author: Brad Knowles
Date: Wed, 25 Aug 1999 00:00
14 lines
1588 bytes
In article <7q1b63$78i$1@News.Dal.Ca>, hume.spamfilter@bofh.halifax.ns.ca wrote:

> (How does one enable Clayton's overview patches for INN 2.2?  I've grabbed
> the latest INN 2.2 STABLE snapshot and there's no mention of it.)

    It's my understanding that his changes are only in the development
version of INN 2.3, and they won't be found in the code for any previous
version.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: readers.conf
#39428
Author: hume.spamfilter
Date: Wed, 25 Aug 1999 00:00
18 lines
1612 bytes
N <niels@usenet.bakker.net> wrote:
: Try:
: auth "localhost" {
....
: If that doesn't work something would be seriously broken in nnrpd.

This config cores nnrpd.  I think something is broken.  :)

This is the 1999/08/23 snapshot, I'll update to /25 shortly and try again.

(How does one enable Clayton's overview patches for INN 2.2?  I've grabbed
the latest INN 2.2 STABLE snapshot and there's no mention of it.)

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
                       -> Solaris Snob and general NOCMonkey

Re: readers.conf
#39430
Author: hume.spamfilter
Date: Wed, 25 Aug 1999 00:00
10 lines
1440 bytes
Russ Allbery <rra@stanford.edu> wrote:
: Yeah, the merger was a pretty massive change.

Well, that was easier than I thought it'd be.  :)

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
                       -> Solaris Snob and general NOCMonkey

Re: readers.conf
#39445
Author: Russ Allbery
Date: Wed, 25 Aug 1999 00:00
17 lines
1413 bytes
Brad Knowles <brad@shub-internet.org> writes:
> hume.spamfilter@bofh.halifax.ns.ca wrote:

>> (How does one enable Clayton's overview patches for INN 2.2?  I've
>> grabbed the latest INN 2.2 STABLE snapshot and there's no mention of
>> it.)

> It's my understanding that his changes are only in the development
> version of INN 2.3, and they won't be found in the code for any previous
> version.

Yeah, the merger was a pretty massive change.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Poor overview performance on FreeBSD/INN2.2
#39448
Author: hume.spamfilter
Date: Wed, 25 Aug 1999 00:00
14 lines
1548 bytes
bill davidsen <davidsen@tmr.com> wrote:
: Sad but true, use 2.2 for a transit machine and 2.3 for a reader
: machine. Of course I have not tried to use 2.3 as a transit machine with

I've got 2.3 running now on my workstation... by no means a real test, but
depending on how painful the main machine gets reading I may end up switching
to it.  I haven't noticed too many bugs... xover without arguments SEGVs
nnrpd, and readers.conf is hurting my head.

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
                       -> Solaris Snob and general NOCMonkey

Re: Poor overview performance on FreeBSD/INN2.2
#47000
Author: Russ Allbery
Date: Tue, 20 Jun 2000 00:00
13 lines
1441 bytes
hume spamfilter <hume.spamfilter@bofh.halifax.ns.ca> writes:

> Thanks for following up, though.  :)

I'm plowing through all the stuff I had marked in news.software.nntp in
the process of building an initial TODO file for INN.  There were a whole
bunch of questions from late last year and earlier this year that I was
going to answer and never got to, I see.  :/

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Poor overview performance on FreeBSD/INN2.2
#47003
Author: Russ Allbery
Date: Tue, 20 Jun 2000 00:00
21 lines
1548 bytes
hume spamfilter <hume.spamfilter@bofh.halifax.ns.ca> writes:

> Well, the following config SEGVs nnrpd as well:

[...]

> #0  0x1f9e4 in strip_accessgroups () at perm.c:992
> 992         for (i = 0; auth_realms[i]; i++) {

> All I'm trying to do is allow all of *.UCIS.Dal.Ca to be able to connect
> and read everything, in the style of nnrp.access.

> I should grab a new snapshot, as well.

In case you're still having problems with this, a lot of stuff with the
new readers.conf parsing was recently fixed in CURRENT and BETA.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Poor overview performance on FreeBSD/INN2.2
#47013
Author: hume.spamfilter
Date: Tue, 20 Jun 2000 00:00
13 lines
1494 bytes
Russ Allbery <rra@stanford.edu> wrote:
> In case you're still having problems with this, a lot of stuff with the
> new readers.conf parsing was recently fixed in CURRENT and BETA.

Long since fixed, I think I submitted a patch for it.  

Thanks for following up, though.  :)

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
                       -> Solaris Snob and general NOCMonkey

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