🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40790

Re: Expire crashes in INN 2.2 and 2.2.1

#40790
From: Andrew
Date: Wed, 13 Oct 1999 00:00
26 lines
2198 bytes
In article <7u00e1$13hq$1@newssvr03-int.news.prodigy.com>, bill davidsen wrote:
>In article <slrn80705s.ov6.andrew+news@uk21.supernews.com>,
>Andrew <andrew@supernews.com> wrote:
[duplicate message-ids in history]
>| I've definitely seen it on a non-tagged-hash machine. My suspicion is that
>| the overflow code is broke somewhere; once your server has been running for
>| a while and the history size has stabilised, the problem goes away.
>
>  By any chance could it be history was created without using -s for
>the dbz create, and does this cause problems other than performance?
>I'm sure I've been guilty of this once in a while.

That's exactly the situation in which the overflow code gets exercised.
The dbz files consist of a number of hashtables in sequence; if the first
one overflows then entries are added to the second one and so forth. This
is what causes things to slow down, as only the first table is ever mmaped,
so the number of read calls becomes excessive if too many tables are used.

Once the history size has reached a reasonably stable state, there will only
ever be one hashtable in use, and the overflow code is no longer used.

-- 
Andrew, Supernews
http://www.supernews.com - UK and US individual and corporate NNTP services

Technical Details
Message-ID: <slrn807mlb.7bs.andrew+news@uk21.supernews.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.mbox.zip!not-for-mail
References: <37fe0ff3.2467531@news.smartt.com> <ylemf5ntwr.fsf@windlord.stanford.edu> <7tvu2f$2dho$1@newssvr03-int.news.prodigy.com> <slrn80705s.ov6.andrew+news@uk21.supernews.com> <7u00e1$13hq$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn807mlb.7bs.andrew+news@uk21.supernews.com>
Subject: Re: Expire crashes in INN 2.2 and 2.2.1
Date: Wed, 13 Oct 1999 00:00:00 +0000
From: andrew+news@supernews.com (Andrew)
References: <37fe0ff3.2467531@news.smartt.com> <ylemf5ntwr.fsf@windlord.stanford.edu> <7tvu2f$2dho$1@newssvr03-int.news.prodigy.com> <slrn80705s.ov6.andrew+news@uk21.supernews.com> <7u00e1$13hq$1@newssvr03-int.news.prodigy.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.mbox.zip!not-for-mail
X-Deja-AN: 536047935
X-Complaints-To: newsabuse@remarq.com
X-Trace: 939776684 .MYBPHMNN00017F00C uk21.supernews.com
Organization: RemarQ http://www.remarQ.com
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: andrew@supernews.com
Newsgroups: news.software.nntp