🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54429

Re: history file growth

#54429
From: Thomas Lee
Date: Thu, 27 Sep 2001 11:39
69 lines
3876 bytes
wow, merely the act of posting to this group seems to have cajoled or 
terrorized my expire into actually expiring :)

i changed some stuff in expire.ctl to purge groups more rapidly, did a 
ctlinnd reload, and not a lot happened. i tried rerunning news.daily, 
and again, no success. i noticed in ctlinnd mode that expire had failed 
to unreserve itself, so having cleared that, i reran news.daily again.

this time it produced an error of:

dbz.c:1293 Can't malloc 1160531720 bytes: Cannot allocate memoryexpire

which fazed me for a while. however, mysteriously, my history file is 
now 1.6G instead of 10G, making me considerably happier :)

so, my immediate disk space crisis is now gone, but i'm unable to 
expire, as displayed by this error. oh well.

searching on dejanews, it looks like this error msg has happened lots, 
though with the exception of karsten's kernel hack, there doesn't really 
look to have been any viable solutions proposed... therefore,can anyone 
shed any more light on how to resolve this memoryexpire error?

thanks for any feedback folks,

tom

Terrance Richard Boyes wrote:

> Thomas Lee <lee@fr.clara.net> wrote:
> 
> 
>>my history file just keeps growing...
>>
> 
>>i'm happy for it to be big, but is it really meant to keep increasing in 
>>size until it runs out of diskspace? i had thought that expire, called 
>>by news.daily should do the trick, but it's in cron, and doing nothing 
>>(well, i think that it /does/ work cos /var/log/news/expire.list grows
>>with plausible looking hashes).
>>
> 
>>how do i shrink my history file? run a makehistory? run expire manually?
>>reduce further the expire.ctl? run prunehistory and then sed away the 
>>
> 
> Well your remember value is quite low, how about the other lines.
> articles are kept in history as long as they exist on the server.
> Also try checking out some of the articles near the top, are
> they still available ? And the 2 numbers in the middle are
> seconds since epoch, which ticked past 999999999 17 days ago.
> 
> 
>>the only other thing that we could have done to fubar the situation 
>>ourselves, is to have moved the partition (a coupla months ago) that the 
>>history is in. however, if the pathdb is correctly referenced in the 
>>inn.conf it should be okay, n'est-ce pas?
>>
> 
> If that doesn't work on it's own, try rebuilding the history,
> ISTR a couple of oddities in what did get expired after I
> upgraded INN, moved things around and changed expire.ctl some
> months ago. Though the details escape me, and since I did
> several things at the same time it's a bit difficult to 
> say what the cause was.
> 
> 

Technical Details
Message-ID: <3BB30FFB.5070505@fr.clara.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fr.clara.net!heighliner.fr.clara.net!news.fr.clara.net!not-for-mail
References: <3BB197FB.8090701@fr.clara.net> <20010926.192658.9E9801DE.wYaa@pierrot.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <3BB30FFB.5070505@fr.clara.net>
Subject: Re: history file growth
Date: Thu, 27 Sep 2001 13:39:39 +0200
From: Thomas Lee <lee@fr.clara.net>
References: <3BB197FB.8090701@fr.clara.net> <20010926.192658.9E9801DE.wYaa@pierrot.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fr.clara.net!heighliner.fr.clara.net!news.fr.clara.net!not-for-mail
Newsgroups: news.software.nntp
Organization: ClaraNET France
Lines: 68
Reply-To: lee@fr.clara.net
NNTP-Posting-Host: box.noc.fr.clara.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: spartacus.fr.clara.net 1001590798 95741 212.43.195.14 (27 Sep 2001 11:39:58 GMT)
X-Complaints-To: abuse@fr.clara.net
NNTP-Posting-Date: Thu, 27 Sep 2001 11:39:58 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us