Thread View: news.software.nntp
5 messages
5 total messages
Started by Rahul Dhesi
Thu, 09 May 2002 16:20
odd inn 1.5.1 bug : repeated 431 deferral
Author: Rahul Dhesi
Date: Thu, 09 May 2002 16:20
Date: Thu, 09 May 2002 16:20
32 lines
2026 bytes
2026 bytes
Admittedly 1.5.1 is a very old version But it was working fine until the following odd bug showed up. I have diablo 4.1-REL (on Redhat Linux 7.2) feeding inn 1.5.1 (on SunOS 4.1.3_U1). Each time diablo offers an article to via 'CHECK', inn responds with a 431 error code (deferred). Diablo immediately offers the same article again and inn responds with 431 again. And this busy loop continues indefinitely until: On the inn side I do 'ctlinnd pause xxx' and then 'ctlinnd go xxx'. Now inn begins accepting incoming articles. Then, a few minutes or a few hours later the same busy loop appears again. I see no evidence of any full filesystem on either machine. There are no error messages logged on either side (which is normal because 431 deferrals are not normally errors). I identified the 431 deferral loop by doing 'trace -p' on the inn side and 'strace -p' on the diablo side. I did a Google search and found no mention of this bug. I am wondering if this has been experienced before and if there is a quick work-around (other than doing 'ctlinnd pause/go' in a cron job). -- Rahul
Re: odd inn 1.5.1 bug : repeated 431 deferral
Author: Russ Allbery
Date: Thu, 09 May 2002 19:32
Date: Thu, 09 May 2002 19:32
37 lines
2580 bytes
2580 bytes
Rahul Dhesi <c.c.eiftj@39.usenet.us.com> writes:
> Each time diablo offers an article to via 'CHECK', inn responds with a
> 431 error code (deferred). Diablo immediately offers the same article
> again and inn responds with 431 again.
Well, that part there is a bug in Diablo. (Older versions of Diablo too;
I'm pretty sure this was fixed a while back.)
> And this busy loop continues indefinitely until:
> On the inn side I do 'ctlinnd pause xxx' and then 'ctlinnd go xxx'.
> Now inn begins accepting incoming articles. Then, a few minutes or a
> few hours later the same busy loop appears again.
Sounds like something is getting caught in the WIP cache and the repeated
offers from the Diablo server are somehow pinning it there. That's at
least the first place I'd start looking. I'm not sure how much that code
has changed since 1.5.1 to the current CVS; I'm guessing quite a lot.
> I am wondering if this has been experienced before and if there is a
> quick work-around (other than doing 'ctlinnd pause/go' in a cron job).
Well, with a current version of INN, you can turn off deferrals on a
per-host basis, which is what I do with Diablo peers that have that bug.
I don't think that's possible with INN 1.5.1, though.
Probably the fastest solution would be to get your Diablo peer to upgrade
to a fixed version of Diablo.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: odd inn 1.5.1 bug : repeated 431 deferral
Author: Kjetil Torgrim Homme
Date: Thu, 09 May 2002 20:13
Date: Thu, 09 May 2002 20:13
26 lines
1977 bytes
1977 bytes
[Rahul Dhesi]: > > I have diablo 4.1-REL (on Redhat Linux 7.2) feeding inn 1.5.1 > (on SunOS 4.1.3_U1). > > Each time diablo offers an article to via 'CHECK', inn responds > with a 431 error code (deferred). Diablo immediately offers the > same article again and inn responds with 431 again. And this busy > loop continues indefinitely until: > > On the inn side I do 'ctlinnd pause xxx' and then 'ctlinnd go > xxx'. weird. I must admit it's so long ago I used INN 1.5.1, that I can't recall how to tune it. does it have hiscache? > I am wondering if this has been experienced before and if there is > a quick work-around (other than doing 'ctlinnd pause/go' in a cron > job). have your tried to turn off streaming? "nostream" in dnntpspool.ctl. -- Kjetil T. your computer can help researchers understand how proteins work. http://folding.stanford.edu
Re: odd inn 1.5.1 bug : repeated 431 deferral
Author: Rahul Dhesi
Date: Fri, 10 May 2002 18:23
Date: Fri, 10 May 2002 18:23
34 lines
2242 bytes
2242 bytes
Thanks to Russ Allbery <rra@stanford.edu> and Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> for their suggestions. >Well, with a current version of INN, you can turn off deferrals on a >per-host basis, which is what I do with Diablo peers that have that bug. >I don't think that's possible with INN 1.5.1, though. I saw no such option in inn 1.5.1. >Probably the fastest solution would be to get your Diablo peer to upgrade >to a fixed version of Diablo. I am my Diablo peer. :-) After this bug appeared I did upgrade to 4.1-REL of Diablo, which is the latest released version. Perhaps there is a yet later version, not considered a stable release, with this bug fixed. >have your tried to turn off streaming? "nostream" in dnntpspool.ctl. Nope, didn't even consider it. It would make the feed too slow. My final elegant solution was the following cron entries on the inn side: 0,6,12,18,24,30,36,42,48,54 * * * * (/news/bin/ctlinnd pause bugfix; sleep 5; /news/bin/ctlinnd go bugfix) > /dev/null 2>&1 2,8,14,20,26,32,38,44,50,56 * * * * (/news/bin/ctlinnd pause bugfix; sleep 5; /news/bin/ctlinnd go bugfix) > /dev/null 2>&1 4,10,16,22,28,34,40,46,52,58 * * * * (/news/bin/ctlinnd pause bugfix; sleep 5; /news/bin/ctlinnd go bugfix) > /dev/null 2>&1 It does not work as well without the 'sleep 5'. -- Rahul
Re: odd inn 1.5.1 bug : repeated 431 deferral
Author: Kjetil Torgrim Homme
Date: Sat, 11 May 2002 00:13
Date: Sat, 11 May 2002 00:13
16 lines
1651 bytes
1651 bytes
[Rahul Dhesi]: > > >have your tried to turn off streaming? "nostream" in dnntpspool.ctl. > > Nope, didn't even consider it. It would make the feed too slow. you should ask the friendly pedophile about that :-) seriously, unless you have a roundtrip time of more than 1-2 ms, I doubt it will matter. in edge cases, you can split the feed according to size to get two or more streams going in parallel. -- Kjetil T. your computer can help researchers understand how proteins work. http://folding.stanford.edu
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