🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23573

Re: 23-bit history patch?

#23573
From: David Carmean
Date: Mon, 24 Nov 1997 00:00
63 lines
3154 bytes
Requests for Further Spamming <abuse@coredump.int.tele.dk> wrote:
: On 21 Nov 1997, David Carmean wrote:

: > I'm working with snap.971012 on Solaris 2.5.1.  I compiled DBZ (the 
: > bundled version) with -DMMAP, but somewhere in the night when history 
: > grew larger than 2^23 bytes, it appears, the hishave() times went 
: > all to hell, increasing by about ten times.  

:     I've run conventional 32-bit DBZ compiled both with and without -DMMAP
: and noted the difference on the old Linux machine.  

Didn't seem to help here, or whatever help it might have been was lost 
within my other problem.

:     Do you really mean 2^23 bytes?  That's pretty small.  That's 8 Megs.
: Even my 486/66 with 16M RAM was flying with a larger history than that.

Yes, I do mean 8MB.  Kinda play on previous posts about the 
64-bit patches.

: > this morning, hishave() times are on the order of four seconds

:     How many incoming feeds?  And are you trying to carry a full feed?

At that time, it was two feeds, of about 10,000 and 20,000 groups.  But it 
was from the two over-stressed servers that this system is going to 
replace, so it was only seeing about 1/3 the volume of a good full feed.

: > Where did I screw up?  Is this a forehead-slapper?

:     Do you really mean 2^23 bytes, or 2^29 or something else?  Have I
: asked this yet?  Anyway, check the usual suspects: is the .pag database
: much larger than it should be, are you saving duplicate message IDs, even
: see what difference not adding -DMMAP and recompiling might make.  And
: when expire rebuilds the .pag file, see if things suddenly get better.

Thanks for the tips.  Actually, I was forced to go with Scott's accellerator 
option and eat up those 32MB of RAM, and put the thing into production, 
'cause one of my other boxes died.  Runs great with this, but it is starting 
to swap.  Once I get a recent FreeBSD version on the other box that has 
a working mmap(), then I'll get to try this all there, and then back on 
Solaris again.


: Barry Bouwsma
: Just how big was your history file again?

Yup, that small.  It's at about 140 MB now, with about 
8 MB .pag file.  innd is 55M, with 37M resident.

Now about those >100 MB innxmits....


-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  Opinions herein are those of the author only, unless otherwise noted

		"Karma Police, arrest this man!"
						--Radiohead

Technical Details
Message-ID: <65cmsr$482$1@newacme.west.net>
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: <654m8u$g9t@ocean.silcom.com> <Pine.BSF.3.96.971121211659.28456E-100000@coredump.int.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <65cmsr$482$1@newacme.west.net>
Subject: Re: 23-bit history patch?
Date: Mon, 24 Nov 1997 00:00:00 +0000
From: David Carmean <dlc@silcom.com>
References: <654m8u$g9t@ocean.silcom.com> <Pine.BSF.3.96.971121211659.28456E-100000@coredump.int.tele.dk>
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: 292289449
Organization: Silicon Beach - Business Internet Services
Newsgroups: news.software.nntp