🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Chris Bradley Wed, 09 Jul 1997 00:00
NN dies with 35000 newsgroups
#8658
Author: Chris Bradley
Date: Wed, 09 Jul 1997 00:00
24 lines
1490 bytes
   We're running NN 6.5.1 for some of our users, and apparantely
NN chokes badly when there are more than 32000 newsgroups or so.
Looks like an integer overflow problem somewhere in the code, but
haven't spent too much time on it.

   Currently, MCI's feed combined with an Alternet feed is topping
almost 36,000 groups, so I fear that NN is pretty much dead in the
water unless someone has a fix.

   It dies with a segmentation violation with the following backtrace:

#0  0xef60bd18 in _morecore ()
#1  0xef60b600 in _malloc_unlocked ()
#2  0xef60b370 in malloc ()
#3  0x48af8 in hdbmcreate (size=4294937087, hashfunc=0) at hdbm.c:131
#4  0x48820 in hashcreate (size=4294937087, hashfunc=0) at hash.c:77
#5  0x1e254 in readtimfile () at db.c:1190
#6  0x1dc20 in open_master (mode=0) at db.c:526
#7  0x18d08 in main (argc=1, argv=0xeffffc2c) at nn.c:853

--necron@iglou.com

Re: NN dies with 35000 newsgroups
#8664
Author: Toivo Pedaste
Date: Thu, 10 Jul 1997 00:00
21 lines
1207 bytes
necron@iglou2.iglou.com (Chris Bradley) writes:

>   We're running NN 6.5.1 for some of our users, and apparantely
>NN chokes badly when there are more than 32000 newsgroups or so.
>Looks like an integer overflow problem somewhere in the code, but
>haven't spent too much time on it.

In global.h change

typedef int16      group_number;
to
typedef int32      group_number;

--
 Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
 University Computing Services,       Phone:  +61 8 9 380 2605
 University of Western Australia      Fax:    +61 8 9 380 1109
"The time has come", the Walrus said, "to talk of many things"...

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads