Article View: news.software.nntp
Article #31422Re: problems with inn 2.1
From: Kjetil Torgrim Homme
Date: Wed, 16 Sep 1998 00:00
Date: Wed, 16 Sep 1998 00:00
31 lines
2045 bytes
2045 bytes
[bill davidsen]
> echo -n "Counting history entries: "
> COUNT=`wc -l $PATHDB/history | awk '{ print $1 }'`
> echo $COUNT
>
> These are fixed length records and a LARGE file, dividing the file
> size by the record length is suggested.
Just a note, there are two possible line lengths, 46 (cancelled /
expired messages) and 115. However, for this application, an
approximation is good enough.
[Robert Collier]
> A note for people with large cycbuffs. I've seen some forms of
> corruption after system lockups that cause makehistory to eat
> memory like nobodies business. I use 2Gig cycbuffs and I've seen
> makehistory malloc up to 1.7Gb so far - I now ensure that
> memory+swap > 2Gb (= max cycbuff size on this box).
I chose to make my cycbuffs 493 MB each, that may have been a lucky
choice given the above phenomenon. (The reason for my choice was
varying size on my disks -- I used any old disk I could dredge up --
and wanting to keep all the cycbuffs the same size in order to do
mix-n-match between metacycbuffs.)
Kjetil T.
Technical Details
Message-ID:
<1rvhmolz6t.fsf@haey.ifi.uio.no>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-mailReferences:
<35ff7c42.579595273@news.nordwest.net> <87sohsqt77.fsf@smart.ruhr.de> <35ff8d07.583888807@news.nordwest.net> <87n280l18i.fsf@rune.tech.ftech.net> <6toq0b$2jq4$1@newssvr04-int.news.prodigy.com> <874su8t2at.fsf@rune.tech.ftech.net>Show Full Headers
Complete Article Headers
Message-ID: <1rvhmolz6t.fsf@haey.ifi.uio.no> Subject: Re: problems with inn 2.1 Date: Wed, 16 Sep 1998 00:00:00 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <35ff7c42.579595273@news.nordwest.net> <87sohsqt77.fsf@smart.ruhr.de> <35ff8d07.583888807@news.nordwest.net> <87n280l18i.fsf@rune.tech.ftech.net> <6toq0b$2jq4$1@newssvr04-int.news.prodigy.com> <874su8t2at.fsf@rune.tech.ftech.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 X-Deja-AN: 391780901 X-Complaints-To: usenet@mimir.ifi.uio.no X-Trace: mimir.ifi.uio.no 905968539 24623 129.240.64.139 (16 Sep 1998 17:55:39 GMT) Organization: Dept. of Informatics, University of Oslo, Norway NNTP-Posting-Date: 16 Sep 1998 17:55:39 GMT Newsgroups: news.software.nntp