🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #209237

Re: [NGET] bad_alloc with large newsgroup

#209237
From: Sano
Date: Wed, 24 Oct 2007 11:44
67 lines
3441 bytes
- lee <empty@void.org> - wrote in
news:slrnfhtggc.7ud.empty@void.org: 

> Thanks for the links Mark.
> 
> They were useful pointers (memory) but it is a bit out of my
> league to fiddle with kernel parameters.
> 
> Instead I have shuffled around my partitions and allocated a much
> larger swap partition (8gb) instead of the previous 750mb.
> 
> After another long download to create the cache, nget simply
> "died" without bringing any error and of course without creating
> any cache. 
> 
> It is right at the end when it is sorting the cache that it has
> problems. TOP showed that the old swap partition was full - so now
> it has plenty of room there.
> 
> Unfortunately, nget, like slrn does not use any temp files - they
> rely on memory.

>From a recent post:

XNews on a winbox-

1.2 millions headers is roughly 314MB, so if one d/led _all_ the 22 
million in ohmster's example .divx ng, that might touch 6GB of headers. 
No?



> With the huge binary ng's that now exists nget has its problems - 
> though it is only a problem when one first starts using a ng. Once
> the cache has been created it is from then on just a matter of
> updating it - and now with the large swap it no longer crashes.
> 
> I've had similar problems with slrn with these groups - it just 
> calmly announces that it is going to "kill" itself when it has
> nearly finished scoring, scoring and linking the headers.
> 
> With slrn one has to hence limit the number of heads one loads at
> one time - I keep it to 500,000.
> 
> With nget I shall just have to cancel it with control-c after it
> has been running a certain amount of time - it seems to
> accept that (it calls it signal 2) and then goes on to
> successfully terminate with the headers that it has already
> downloaded. 
> 
> Thus nget should ask, like slrn does, how many headers one wants
> to download to the cache - rather than attempting to download the
> whole lot. 
> 
> Again - thanks for the links.
> 
> Lee
> 
> On 2007-10-22, Mark Blain <mblain2@yahoo.com> wrote:
>> In the dim dark past I used the Win32 versions of both nget and
>> newsplex, but never for groups anywhere near that large.  There
>> are nget forums tied to its sourceforge page, but activity there
>> looks pretty low. https://sourceforge.net/forum/?group_id=3121
>>
>> The closest thing to an answer I found in a direct search was
>> this: http://archive.netbsd.se/?ml=port-amd64&a=2005-12&t=1605306
Technical Details
Message-ID: <Xns99D34EEB9B135dingg@216.168.3.70>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!sn-xt-sjc-04!sn-xt-sjc-11!sn-xt-sjc-08!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
References: <slrnfhpa28.7of.empty@void.org> <Xns99D1B2AEB8B3Cmblainalbany@198.186.190.224> <slrnfhtggc.7ud.empty@void.org>

Show Full Headers
Complete Article Headers
Message-ID: <Xns99D34EEB9B135dingg@216.168.3.70>
Subject: Re: [NGET] bad_alloc with large newsgroup
Date: Wed, 24 Oct 2007 11:44:58 -0000
From: Sano <me@privacy.net.dingg>
References: <slrnfhpa28.7of.empty@void.org> <Xns99D1B2AEB8B3Cmblainalbany@198.186.190.224> <slrnfhtggc.7ud.empty@void.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!sn-xt-sjc-04!sn-xt-sjc-11!sn-xt-sjc-08!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: Xnews/2006.08.24
X-Complaints-To: abuse@supernews.com
Lines: 67