Article View: news.software.nntp
Article #81756Re: INN's expire program and memory usage:
From: NPG
Date: Wed, 12 Aug 2009 02:45
Date: Wed, 12 Aug 2009 02:45
45 lines
3128 bytes
3128 bytes
* Bruce Esquibel wrote: > Running that machine on 1GB ram is your problem, little else. It's not > enough with the size of the history file, it's ten times larger than mine > (4.7GB vs 450MB) and we hold (on CNFS) about 60 days worth. > > If there is some reason you want a two year hold on articles, fine, but > get the ram up to 4GB at least. The expire is going to throw fits otherwise. > That would explain why our old news server kept blowing up. :-) 512 MB Ram, 340 MB swap and this for history ll -h /var/lib/news/history* -rw-rw-r-- 1 news news 769M 2009-08-12 02:08 /var/lib/news/history -rw-rw-r-- 1 news news 120 2009-08-12 02:08 /var/lib/news/history.dir -rw-rw-r-- 1 news news 177M 2009-08-12 02:08 /var/lib/news/history.hash -rw-rw-r-- 1 news news 118M 2009-08-12 02:08 /var/lib/news/history.index > My expire takes about 20 minutes to run (keep in mind it's CNFS so no > articles really expire) Old server still takes 2 hours to do expire. New server does it so fast, I can never catch it in the act. We use a tradindexed overview for now, don't know how that plays into it. > Worked fine until the history file got up to about the size of the ram (1GB) > but then expire started to puke (cannot fork, out of resources). Increasing > the ram to 2GB worked until the history file approached around 1.8GB. History on the new server looks like this ll -h /var/lib/news/history* -rw-rw-r-- 1 news news 160M 2009-08-12 02:45 /var/lib/news/history -rw-rw-r-- 1 news news 108 2009-08-12 02:45 /var/lib/news/history.dir -rw-rw-r-- 1 news news 19M 2009-08-12 02:45 /var/lib/news/history.hash -rw-rw-r-- 1 news news 13M 2009-08-12 02:45 /var/lib/news/history.index How should I keep it from growing out of control like before? > Point is, I think anything that uses the Berkeley DB needs room to breathe > and a 4GB history on a 1GB machine isn't going to cut it. > > -bruce > bje@ripco.com >
Technical Details
Message-ID:
<h5tamr$m0u$1@cs6.cmpublishers.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!news.cmpublishers.com!not-for-mailReferences:
<h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4lq1g$4kc$1@snarked.org> <h4mt3v$777$1@remote5bge0.ripco.com>Show Full Headers
Complete Article Headers
Message-ID: <h5tamr$m0u$1@cs6.cmpublishers.com> Subject: Re: INN's expire program and memory usage: Date: Tue, 11 Aug 2009 22:45:38 -0400 From: NPG <nathan@cmpublishers.com> References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4lq1g$4kc$1@snarked.org> <h4mt3v$777$1@remote5bge0.ripco.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!news.cmpublishers.com!not-for-mail Newsgroups: news.software.nntp Organization: Christ Media Lines: 45 NNTP-Posting-Host: cm1.cmpublishers.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: cs6.cmpublishers.com 1250045467 22558 192.168.0.183 (12 Aug 2009 X-Complaints-To: abuse@cmpublishers.com NNTP-Posting-Date: Wed, 12 Aug 2009 02:51:07 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <h4mt3v$777$1@remote5bge0.ripco.com>