🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47340

Re: Expire suddenly taking 16 hours

#47340
From: Andrew Gierth
Date: Tue, 11 Jul 2000 00:00
21 lines
2023 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

 >>> Reported size will depend a lot on your history size, since the
 >>> entirety of history.hash is mmap'd and will show up as allocated
 >>> space.  Mine tends to run about 140MB, with a history.hash that's
 >>> 55MB in size.

 >> Hmm. History.hash mmap'd in total, is that documented somewhere?

 Russ> Not really.  The vagarities of the history implementation are a
 Russ> bit underdocumented.  It took me a while of reading code to
 Russ> really understand how the whole thing works.

Bear in mind that _only_ the first hashtable in history.hash will be
mmaped. If you get overflows, then the overflow table(s) are not
mmaped but are accessed (pretty inefficiently) using read/write.

-- 
Andrew.

Technical Details
Message-ID: <871z10nab0.fsf@erlenstar.demon.co.uk>
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: <871z10nab0.fsf@erlenstar.demon.co.uk>
Subject: Re: Expire suddenly taking 16 hours
Date: Tue, 11 Jul 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
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: 645002459
X-Mayan-Date: Long count = 12.19.7.6.12; tzolkin = 6 Eb; haab = 15 Tzec
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha