🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25567

Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files

#25567
From: Michael Hucka
Date: Sun, 25 Jan 1998 00:00
57 lines
2969 bytes
>>>>> On 22 Jan 1998, sysuh@news.kigam.re.kr (Sang-yong Suh) wrote:

  sysuh> In article <821zy2jqrh.fsf@robin.eecs.umich.edu>, Michael Hucka
  sysuh> <hucka@eecs.umich.edu> wrote:

  >> I examined the dbzconfbase function code and thought about changing the
  >> type of "m" to be unsigned, thus gaining breathing room in which the
  >> loop and subsequent calculations in dbzconfbase could work.

  sysuh> I think the change will solve your problem.  However, to be safe, I
  sysuh> recommend you to change the type of 'm' in dbztagmask() as well. --
  sysuh> sysuh

For those of you who are interested in the results of this matter:

I went ahead and made this change to dbz.c version 3.3.2 and it appears to
work.  The whole system has been running for several days now, and expire has
successfully processed the >1 GB history file several times with no apparent
ill effects.

I've appended a small patch below that can be applied to the dbz.c supplied
with INN 1.7.2.insync-1.1d.  Most people probably will not need this, but I'm
posting it in case there is anyone else out there with a history file topping
1 GB.

Barry Bouwsma <barryb@tuke.sk> helped me a great deal by trying out several
variations on this change on his systems and by engaging in discussions with
me; I'd like to thank him publicly for his help.  One of the things he tried
was to change the definition of "of_t" in dbz.c to be unsigned long, and he
reported that this also worked.  He also suggests that increasing MAXDROPBITS
by 1 should improve performance, but I've been too chicken to actually try it
myself :-).


rcsdiff -r3.3 -r3.3.2.1 dbz.c
===================================================================
RCS file: RCS/dbz.c,v
retrieving revision 3.3
retrieving revision 3.3.2.1
diff -r3.3 -r3.3.2.1
436c436
< 	register of_t m;
---
> 	register unsigned long m;
1296c1296
< 	register long m;
---
> 	register unsigned long m;
===================================================================

--
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Technical Details
Message-ID: <82oh109mrh.fsf@robin.eecs.umich.edu>
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!not-for-mail
References: <821zy2jqrh.fsf@robin.eecs.umich.edu> <6a688n$sti$1@news.kigam.re.kr>

Show Full Headers
Complete Article Headers
Message-ID: <82oh109mrh.fsf@robin.eecs.umich.edu>
Subject: Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files
Date: Sun, 25 Jan 1998 00:00:00 +0000
From: Michael Hucka <hucka@eecs.umich.edu>
References: <821zy2jqrh.fsf@robin.eecs.umich.edu> <6a688n$sti$1@news.kigam.re.kr>
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!not-for-mail
X-Deja-AN: 319222075
To: sysuh@kigam.re.kr, barryb@tuke.sk
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
Newsgroups: news.software.nntp