Article View: news.software.nntp
Article #6757Re: ANNOUNCE: ISC innfeed 0.7 (beta)
From: Joseph T. Klein
Date: Sun, 21 Apr 1996 00:00
Date: Sun, 21 Apr 1996 00:00
46 lines
2315 bytes
2315 bytes
In article <4lbkgl$h01@news.sdsmt.edu>,
Steve Bauer <sbauer@krypton.sdsmt.edu> wrote:
>I think I have found the problem that is causing the assert at line 555 in
>host.c. It is caused by the site having started spooling before the
>connection is setup. Thus the site has a host->statsId set since the
>spooling code sets up a stats logging callback also.
>
>Here is the little patch that I used to fix this race problem:
>*** host.c.orig Thu Apr 18 22:49:19 1996
>--- host.c Thu Apr 18 22:53:12 1996
>***************
>*** 552,559 ****
> syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
>
> /* set up the callback for statistics logging. */
>! ASSERT (host->statsId == 0) ;
>! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
>
> host->remoteStreams = doesStreaming ;
>
>--- 552,563 ----
> syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
>
> /* set up the callback for statistics logging. */
>! /* If we have started spooling then there was a timeout set for stats
>! Collection already*/
>! if(host->spoolTime == 0) {
>! ASSERT (host->statsId == 0) ;
>! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
>! }
>
> host->remoteStreams = doesStreaming ;
I'm running 0.7.1 with Clayton O'Neils's patch and this patch ... seems to
run OK. It is spiiting up from some type of memory leak now and then.
Compiled with gcc -O2 -m486 on BSDOS 2.0.1
OK now how do I change my innlog.awk to get a nice report?
I must have been blind! I could not see the script in the tar file.
--
jtk@nap.net
Technical Details
Message-ID:
<4levh7$lhs@news.nap.net>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-mailReferences:
<4kn70a$eiq@gw.home.vix.com> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu> <4lbkgl$h01@news.sdsmt.edu>Show Full Headers
Complete Article Headers
Message-ID: <4levh7$lhs@news.nap.net> Subject: Re: ANNOUNCE: ISC innfeed 0.7 (beta) Date: Sun, 21 Apr 1996 00:00:00 +0000 From: jtk@inap.net (Joseph T. Klein) References: <4kn70a$eiq@gw.home.vix.com> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu> <4lbkgl$h01@news.sdsmt.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 X-Deja-AN: 150731725 Organization: NAP.NET Newsgroups: news.software.nntp