🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58810

Re: buffindexed.c:1525 Can't malloc 273997900 bytes: Not enough space

#58810
From: Alexis Rosen
Date: Mon, 13 May 2002 02:41
42 lines
3022 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:
>In article <abhbrf$148a$1@spnode25.nerdc.ufl.edu>,  <gautam@ufl.edu> wrote:
>>Jeffrey M. Vinocur <jeff@litech.org> wrote:
>>> In article <abh8f0$evs$1@spnode25.nerdc.ufl.edu>,  <gautam@ufl.edu> wrote:
>>>>
>>>>How do I rebuild overview for a single news group?
>>
>>> You can't.
>>
>>So what are my options?

>Well, if you want the articles visible to readers, you have to
>rebuild the entire overview.  I can see ways you might be able to
>hack around this with tradindexed, but I don't think you can with
>buffindexed (at least I don't know enough to).

"Might"? Even though tradindexed is a little different from the original
format, as far as I know data for every group is still entirely separate.
That being the case, can this be any harder than simply rebuilding with a
partial active file in place? Use, um... -x and -O. (Or does it always
scan the entire spool, writing an entry for *every* article regardless
of the contents of the active file?)

BTW, what is the difficulty in coding for a partial rebuild? IIRC, this was
directly supported in earlier versions- you could specify an alternate
active file. I don't see any real difference between taking articles in
from a peer and pulling one out of the spool (via the history file, or by
scanning the spool), as far as doing inserts into the overview goes.

Thinking about this a bit more, ISTM that half the code to do this is
already written... it's called overchan. What's needed to complete the
picture is a driver that will scan the spool, drop articles not in active
(or, depending on what you want, not in some wildmat pattern), and write
out a WnteO format line for the rest of the articles for overchan. This
is maybe a couple hundred lines of perl.

One thing I don't know about this is whether or not ovdb or buffindexed
can support multiple simultaneous writers. If not, you'd have to do this
with innd off.

/a
Technical Details
Message-ID: <abn947$k7n$1@reader1.panix.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!alexis
References: <abh47f$v94$1@spnode25.nerdc.ufl.edu> <abh8f0$evs$1@spnode25.nerdc.ufl.edu> <abhasb$2qf$2@marduk.litech.org> <abhbrf$148a$1@spnode25.nerdc.ufl.edu> <abjee2$mo5$4@marduk.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <abn947$k7n$1@reader1.panix.com>
Subject: Re: buffindexed.c:1525 Can't malloc 273997900 bytes: Not enough space
Date: Mon, 13 May 2002 02:41:12 +0000
From: Alexis Rosen <alexis@panix.com>
References: <abh47f$v94$1@spnode25.nerdc.ufl.edu> <abh8f0$evs$1@spnode25.nerdc.ufl.edu> <abhasb$2qf$2@marduk.litech.org> <abhbrf$148a$1@spnode25.nerdc.ufl.edu> <abjee2$mo5$4@marduk.litech.org>
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!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!alexis
Newsgroups: news.software.nntp
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 41
NNTP-Posting-Host: panix3.panix.com
X-Trace: reader1.panix.com 1021257672 20727 166.84.1.3 (13 May 2002 02:41:12 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Mon, 13 May 2002 02:41:12 +0000 (UTC)
User-Agent: nn/6.6.3