🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76240

Re: Overview accessing article spool?

#76240
From: Frank Fegert
Date: Sun, 15 Jul 2007 10:29
71 lines
4283 bytes
On 2007-07-14, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> En réponse à Frank Fegert :
>> Let my try to explain the original problem, maybe there's another
>> solution i'm not seeing. We recently updated our server:
>>  Solaris 8 -> Solaris 10
>>  INN 2.3.2 -> 2.4.3
>
> Well, I do not know whether my post will be of help but according
> to what you say, I have checked what changed regarding overview:
>
> [2.4.0] A new option, tradindexedmmap, has been added to inn.conf. If set to true
> (the default), then the tradindexed overview method will use mmap() to access
> its overview data (in 2.3 you couldn't control this; it always used mmap).
>
> -> perhaps you do not currently use it.  Check if it is set to false
>    (the default is true so, if you changed nothing, it is not the problem)

No, we're using ovdb which in itself is pretty fast: 30k article
overview with "nnrpdcheckart: false" in ~5 sec. With "nnrpdcheckart:
true" well over 4 Min. :-(

> [2.4.3] Previous versions of INN had an optimization for handling XHDR Newsgroups
> that used the Xref header from overview. While this does make the command much faster,
> it doesn't produce accurate results and breaks the NNTP protocol, so this optimization
> has been removed.
>
> -> do you send XHDR requests?

I didn't see those in truss/strace, but that doesn't necessarily
mean they weren't sent ;-)

> Other things to check would be overcachesize (I for one put 384, instead of the
> default 15) and nfsreader if you use NFS storage.

The storage is directly attached and according to the inn.conf man-
page overcachesize seems only to be used for tradindexed: "This
setting is ignored unless ovmethod is set to tradindexed."

>> Might this be an Solaris oddity, or has someone similar experiences?
>
> Regarding Solaris, did you check the file descriptor limit?
>
> http://www.eyrie.org/~eagle/software/inn/docs/install.html#S12

The default FD-limit for Solaris has been 256 for quite a while now.
Since Solaris would complain very much about running out of FDs and
since during the overview the timecaf files are accessed in a serial
manner rather than parallel, i'd think FDs aren't the cause of the
problem.

> I am not sure whether my suggestions can solve your problem (and even if they
> are linked to it) but I believe it is better to say it.

Thanks for your hints. Even if they don't apply directly it's a
good thing to make sure and double check ;-)

In the meantime i talked to some newsadmins running similar sized
servers. Some have set "nnrpdcheckart: false" a long time ago,
others (also) use other storage methods. Since ZFS (being a flat
nonbalanced tree) *should* perform way better on a large number
of files than the old Solaris UFS, i think i'll go ahead and do
a comparison of the different storage methods. Even if that does
not yield good results, i always have the option to go ahead and
turn off nnrpdcheckart.

Still, if someone has a bright idea on the subject please don't
hesitate to followup ;-)

Thanks,

	Frank
Technical Details
Message-ID: <f7csti$msp$00$1@news.t-online.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
References: <f766ad$ons$03$1@news.t-online.com> <f767kd$9nh$1@saturn.z74.net> <f774am$jo1$02$1@news.t-online.com> <f77cff$u5r$1@saturn.z74.net> <f7ai3k$js5$03$1@news.t-online.com> <f7b4a2$4ib$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <f7csti$msp$00$1@news.t-online.com>
Subject: Re: Overview accessing article spool?
Date: Sun, 15 Jul 2007 12:29:06 +0200
From: Frank Fegert <fra.nospam.nk@gmx.de>
References: <f766ad$ons$03$1@news.t-online.com> <f767kd$9nh$1@saturn.z74.net> <f774am$jo1$02$1@news.t-online.com> <f77cff$u5r$1@saturn.z74.net> <f7ai3k$js5$03$1@news.t-online.com> <f7b4a2$4ib$1@news.trigofacile.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: T-Online
Lines: 71
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1184495346 00 23449 iuv06CCL9f5iKio 070715 10:29:06
X-Complaints-To: usenet-abuse@t-online.de
X-ID: bQ+FUrZvZe0921uEYdepJp02h4kV+ZtFovJzFuYZOh-y+U84es8gwF
User-Agent: slrn/0.9.8.1 (Debian)