🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41051

Re: whats up with overview? (2.2.1)

#41051
From: Tommy van Leeuwen
Date: Fri, 22 Oct 1999 00:00
57 lines
2490 bytes
On 21 Oct 1999, Russ Allbery wrote:

> Tommy van Leeuwen <tommy@support.nl> writes:
> 
> > We're having trouble with overview currently. Yesterday i switched the
> > mmap option in inn.conf off and overview became really fast.
> 
> What operating system?

Linux 2.2.13 (really, i'm talking 2-3 times faster without mmap)

> 
> > Now the problem is that there are nnrpd processes eating up 100% cpu and
> > 64+mb memory.
> 
> The memory doesn't surprise me; with mmap turned off, they're reading the
> overview directly into memory. 

Makes sense indeed.

 The 100% CPU surprises me, though.  If
> your operating system supports it, can you provide a system call trace
> (strace or truss) or take a core file with something like gcore and give
> us a backtrace so that we know what part of the code is executing?

I found out that the overview is missing lots of articles. nnrp then reads
every article for its headers and apparantly it seems that 2 fstat's per
article takes up all the cpu.

> 
> > What can be the problem? Should i completely rebuild overview after
> > switching mmap on/off?
> 
> You shouldn't have to.

Thanks. After i've fixed overview the problem will be gone probably.

Regards,

Tommy

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


-----------------------------------------------------
  Support Net NL -  Your Partner in Internetworking
 Tel +31-20-6935454  Fax +31-20-6686166  Icq 1101682
business beheer@support.nl personal tommy@chiparus.nl

Zoek je werk? Kijk op http://www.support.nl


Technical Details
Message-ID: <Pine.BSI.4.05L.9910221125210.27741-100000@unit11.support.nl>
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: <Pine.BSI.4.05L.9910211147420.6292-100000@unit11.support.nl> <ylbt9sccxe.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSI.4.05L.9910221125210.27741-100000@unit11.support.nl>
Subject: Re: whats up with overview? (2.2.1)
Date: Fri, 22 Oct 1999 00:00:00 +0000
From: Tommy van Leeuwen <tommy@support.nl>
References: <Pine.BSI.4.05L.9910211147420.6292-100000@unit11.support.nl> <ylbt9sccxe.fsf@windlord.stanford.edu>
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: 539194516
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: abuse@news-service.com
X-Trace: news2.support.nl 940584621 15971 193.78.164.8 (22 Oct 1999 09:30:21 GMT)
Organization: news-service.com
Mime-Version: 1.0
NNTP-Posting-Date: 22 Oct 1999 09:30:21 GMT
Newsgroups: news.software.nntp