Article View: news.software.nntp
Article #48975ARRGH: Two innfeed crashes
From: Crashalicious Meowbot
Date: Mon, 30 Oct 2000 17:34
Date: Mon, 30 Oct 2000 17:34
55 lines
3866 bytes
3866 bytes
This has not been my month.
Two separate innfeeds for two different sets of peers, on a machine
devoted to handling exclusively large articles:
2000-10-26 16:22:02 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-24 12:36:42 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-24 15:27:02 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-24 19:08:09 innfeed: assertion -- cxn->writeBlockedTimerId == 0 -- failed in file connection.c line 3231
2000-10-30 13:02:50 innfeed: assertion -- cxn->articleQTotal == 1 -- failed in file connection.c line 4221
2000-10-30 13:45:07 innfeed: assertion -- cxn->articleQTotal == 1 -- failed in file connection.c line 4221
I've added a few hacks to the INN-STABLE 0907 innfeed source, so the
line numbers are a bit off, but here is the source:
3226 {
3227 ASSERT (cxn != NULL) ;
3228 ASSERT (cxn->state == cxnFeedingS || cxn->state == cxnConnectingS ||
3229 cxn->state == cxnFlushingS || cxn->state == cxnClosingS) ;
3230 ASSERT (cxn->articleQTotal == 0) ;
3231 ASSERT (cxn->writeBlockedTimerId == 0) ;
3232 ASSERT (!writeIsPending (cxn->myEp)) ;
3233 ASSERT (cxn->sleepTimerId == 0) ;
3234
3235 if (cxn->state == cxnFeedingS || cxn->state == cxnConnectingS)
3236 {
I recall, when trying to merge my old hacks into the newer k0deZ,
there were some differences I didn't understand, that I might have
merged into the old k0deZ as well when trying to bring both somewhat
up-to-date. I see the same k0de snippet above on another machine
with the older k0deZ (INN 1.5) but I have never seen problems with
that innfeed in almost a year of continuous feeding. It only handles
smaller articles, if that makes a difference.
4216 if (cxn->doesStreaming)
4217 /* Some(?) hosts return the 439 response even before we're done
4218 sending, so don't go idle until here */
4219 ASSERT (cxn->articleQTotal > 0 || writeIsPending (cxn->myEp)) ;
4220 else
4221 ASSERT (cxn->articleQTotal == 1) ;
4222 if (cxn->readTimeout > 0 && !writeIsPending (cxn->myEp) &&
4223 cxn->checkRespHead != NULL && cxn->takeRespHead != NULL)
4224 ASSERT (cxn->readBlockedTimerId != 0) ;
4225 if (cxn->writeTimeout > 0 && writeIsPending (cxn->myEp))
4226 ASSERT (cxn->writeBlockedTimerId != 0) ;
No, I'm not streaming (of course not, on a binariez-only feed...)
I bet this fix is pretty obvious.
I'll try looking more closely at this after I get some good sleep.
My brane ain't up to much at the moment. Might be a while...
Technical Details
Message-ID:
<meowbot-AutoPost-09-09-09-09-100000@netscum.dQ>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!supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barryShow Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-09-09-09-09-100000@netscum.dQ> Subject: ARRGH: Two innfeed crashes Date: Mon, 30 Oct 2000 18:34:04 +0100 From: Crashalicious Meowbot <meowbot@Sleepless.NewsBastards.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!supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barry Newsgroups: news.software.nntp Organization: Binging Beerbellied Barry Bouwsma's Beerserver Lines: 54 NNTP-Posting-Host: 3167c9bec77aad169c717ee8739c7963.netscum.dk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: freebeer.netscum.dk 972927246 4425bbcbfdf4e57806b6b7015a0e46a3 X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk> X-Sender: barry@vax.chrillesen.dk