🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #209221

Re: [NGET] bad_alloc with large newsgroup

#209221
From: lee
Date: Wed, 24 Oct 2007 03:30
50 lines
2927 bytes
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.

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: <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!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!fastnews.speedplaza.net!not-for-mail
References: <slrnfhpa28.7of.empty@void.org> <Xns99D1B2AEB8B3Cmblainalbany@198.186.190.224>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfhtggc.7ud.empty@void.org>
Subject: Re: [NGET] bad_alloc with large newsgroup
Date: Wed, 24 Oct 2007 03:30:34 +0000
From: lee <empty@void.org>
References: <slrnfhpa28.7of.empty@void.org> <Xns99D1B2AEB8B3Cmblainalbany@198.186.190.224>
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!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!fastnews.speedplaza.net!not-for-mail
Newsgroups: news.software.readers
Organization: space
User-Agent: slrn/0.9.8.1-jwk1 (Linux)
Lines: 50
X-Complaints-To: abuse@speedplaza.net