Article View: news.software.nntp
Article #6741Re: ANNOUNCE: ISC innfeed 0.7 (beta)
From: Steve Bauer
Date: Sat, 20 Apr 1996 00:00
Date: Sat, 20 Apr 1996 00:00
64 lines
2993 bytes
2993 bytes
Mahesh Ramachandran (rr@eel.ufl.edu) wrote:
:
: In article <4l5i1l$n2g@brasil.moneng.mei.com>, jgreco@brasil.moneng.mei.com (Joe Greco) writes:
: |> Question: is anybody using innfeed to do any serious amount of feeding? I'm
: |> running full newsfeeds through it to about 6 or 7 different sites and it
: |> likes to die on various ASSERT's, rarely living more than 10 minutes at a
: |> time. Textbook configuration, pretty much...
:
: yeah, i've been trying to, but not with much luck. :(
: lotsa bugs problems bugs problems ...
: It seems to work well to some sites and keeps dying to others.
: btw, i'm not using the textbook configuration, since all feeds suffer
: and it feeds out nothing. btw, these are the errors it generates whenever
: innfeed dies:
:
: innfeed: host->statsId == 0 in file host.c line 555
:
: innfeed: i == cxn->articleQTotal in file connection.c line 2800
:
: i'm going to poke around for a solution.
:
: -rr
:
:
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 ;
Steve Bauer
Systems Programmer
SDSM&T
Rapid City,SD 57701
Technical Details
Message-ID:
<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-mailReferences:
<4kn70a$eiq@gw.home.vix.com> <4kqrrk$arm@hunter.premier.net> <4ksu7q$8kh@news.demos.su> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu>Show Full Headers
Complete Article Headers
Message-ID: <4lbkgl$h01@news.sdsmt.edu> Subject: Re: ANNOUNCE: ISC innfeed 0.7 (beta) Date: Sat, 20 Apr 1996 00:00:00 +0000 From: sbauer@krypton.sdsmt.edu (Steve Bauer) References: <4kn70a$eiq@gw.home.vix.com> <4kqrrk$arm@hunter.premier.net> <4ksu7q$8kh@news.demos.su> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.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: 150548415 Distribution: inet Organization: South Dakota School of Mines and Technology Newsgroups: news.software.nntp