🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47313

Re: Expire suddenly taking 16 hours

#47313
From: Ronald Hello
Date: Tue, 11 Jul 2000 00:00
46 lines
2858 bytes
In article <ylu2dxf055.fsf@windlord.stanford.edu>,
	Russ Allbery <rra@stanford.edu> writes:
> Ronald Hello <hello@cs.utwente.nl> writes:
> 
>> alt.binaries groups since I keep the rest for 31 days). My history is
>> 15m lines now, so I think I can safely decrease history.* to 24m
>> entries. That should take away some 34MB.
> 
> Yeah, that should be okay.

Yikes. I monitored the thingy for a while, nothing changed. But now
it seems it decreased to 170M recently ... the newly made history
files (based on 24m) give a 200M .hash file. Which leads to a
question (again) when and how does INN decide to decrease the
history database?
Innd is at 261/57 now. Not too bad. Changed hiscache from 16M
to 8M also.

> Yup, that sounds very much like a history table overflow, which is
> something you really don't want to ever have happen.

That's what we concluded last time, but now (knowing .hash is mmap'd)
I can relate it to the size of innd. That's new for me.

> (Not only does it
> cause innd to get huge, as well as expire, but the overflow code isn't at
> all well-tested.)

It looks to me like it's a little to enthousiastic in it's increasing
the size which leads to a increase / decrease problem.

> I looked at the cache allocation code, and I don't understand it either.
> It would make some sense on a machine with 16-bit ints, but I'm pretty
> sure that isn't the case....

Nope, Solaris 2.6 on a Ultra2. That's 32-bit as far as I know.

Ronald.

-- 
// Ronald Hello  (newsadmin@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands

Technical Details
Message-ID: <8keunc$ea4$2@ares.cs.utwente.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: <8kbsal$qjb$1@ares.cs.utwente.nl> <yl4s5y1mel.fsf@windlord.stanford.edu> <8kc0oo$qjb$6@ares.cs.utwente.nl> <ylya3az8ye.fsf@windlord.stanford.edu> <8kcd4i$940$1@ares.cs.utwente.nl> <yln1jpy1v5.fsf@windlord.stanford.edu> <8kefhv$6em$8@ares.cs.utwente.nl> <ylaefphx35.fsf@windlord.stanford.edu> <8kenha$ba0$1@ares.cs.utwente.nl> <ylsnthghws.fsf@windlord.stanford.edu> <8keras$d18$1@ares.cs.utwente.nl> <ylu2dxf055.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <8keunc$ea4$2@ares.cs.utwente.nl>
Subject: Re: Expire suddenly taking 16 hours
Date: Tue, 11 Jul 2000 00:00:00 +0000
From: hello@cs.utwente.nl (Ronald Hello)
References: <8kbsal$qjb$1@ares.cs.utwente.nl> <yl4s5y1mel.fsf@windlord.stanford.edu> <8kc0oo$qjb$6@ares.cs.utwente.nl> <ylya3az8ye.fsf@windlord.stanford.edu> <8kcd4i$940$1@ares.cs.utwente.nl> <yln1jpy1v5.fsf@windlord.stanford.edu> <8kefhv$6em$8@ares.cs.utwente.nl> <ylaefphx35.fsf@windlord.stanford.edu> <8kenha$ba0$1@ares.cs.utwente.nl> <ylsnthghws.fsf@windlord.stanford.edu> <8keras$d18$1@ares.cs.utwente.nl> <ylu2dxf055.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: 644982688
Distribution: world
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@cs.utwente.nl
X-Trace: ares.cs.utwente.nl 963313196 14660 130.89.10.135 (11 Jul 2000 10:59:56 GMT)
Organization: University of Twente, Dept. of Computer Science
Mime-Version: 1.0
NNTP-Posting-Date: 11 Jul 2000 10:59:56 GMT
Newsgroups: news.software.nntp