🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Joe St Sauver Mon, 07 Apr 1997 00:00
Cyclone generating an unusually large number of connects?
#16757
Author: Joe St Sauver
Date: Mon, 07 Apr 1997 00:00
45 lines
2855 bytes
In looking at my news.daily logs, I've been noticing that some sites have an
order of magnitude more connections than others, and when I telnet to the nntp
ports on those sites, they are universally running Cyclone. For example (site
names suppressed):

Articles received by server
System            Connects  Offered   Took  Tk%  Refuse Reject Accpt    Elapsed

Sites running Cyclone..........................................................
<site A>              1193   349747   3053   1%  333180  13514    0%   59:37:53
<site B>              3655   192107  10630   6%  164403  17074    5%   26:37:14
<site C>              2514    98707   8982   5%   85623   4102    9%   16:26:22
<site D>              5168   172893  23902  14%  129198  19793   13%   62:27:15
                      ----   ------  -----       ------  -----         --------
                     12530   813454  46567       712404  54483         ~165 hrs

Some other peers NOT running Cyclone (for comparison)..........................
<site E>               123    82400  10477   6%   65985   5938   12%   67:53:18
<site F>               194   130903  11135   6%  114978   4790    8%   45:47:05
<site G>               235   196295  13425   8%  168336  14534    6%   71:16:57
<site H>                44    97515  17872  10%   76654   2989   18%   61:05:53
                       ---   ------  -----       ------  -----         --------
                       596   507113  52909       425953  28251         ~246 hrs

TOTALS               17196  3626857 167207 100% 3317558 142092    4% 1432:59:47

That is, of all peers feeding this site, the four Cyclone sites made 
72.8% of all the connections to my box, or an average of over one a minute
(considering all four sites in aggregate), while for the comparison group, I'm 
seeing only a couple connections per hour, with much less connection build 
up/tear down. 

My question is, how come I'm seeing this choppy sort of connection pattern
from Cyclone? Are other people seeing it from their Cyclone-using peers? Is
this a configurable option (i.e., is there some way to have Cyclone buffer 
its output so it doesn't connect as often as it seems to be connecting 
currently?)

Thanks,

Joe St Sauver (joe@oregon.uoregon.edu)
University of Oregon Computing Center

Re: Cyclone generating an unusually large number of connects?
#16800
Author: James Brister
Date: Tue, 08 Apr 1997 00:00
30 lines
1623 bytes
"R. Joyner" <rjoyner@ais.net> writes:

> Well..Being a Cyclone site...I've noticed something a bit disturbing,
> and posted it here
> a while ago...
> Cyclone tends to hate the fact that INN will checkpoint a feed every so
> often (way too often if you ask me).

I'm not sure what you mean by "checkpoint". innd will log a checkpoint
message to syslog, but that just spits out the current counter values. It
doesn't involve different response codes or anything else.

> Cyclone reports  "Unexpected
> Response to transfer of article <xxxxx@somewhere.outthere>. Received:
> 239"  Followed by:
> "<site> Couldn't send articles! Disconnecting and Queueing Retry"

239 is a prefectly reasonable response to a transfer in streaming mode.

> Anyone know of a way to tell INN NOT to checkpoint so frequently?

I guess, define what "checkpoint" is.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Re: Cyclone generating an unusually large number of connects?
#16811
Author: R. Joyner
Date: Tue, 08 Apr 1997 00:00
69 lines
3779 bytes
Joe St Sauver wrote:
> 
> In looking at my news.daily logs, I've been noticing that some sites have an
> order of magnitude more connections than others, and when I telnet to the nntp
> ports on those sites, they are universally running Cyclone. For example (site
> names suppressed):
> 
> Articles received by server
> System            Connects  Offered   Took  Tk%  Refuse Reject Accpt    Elapsed
> 
> Sites running Cyclone..........................................................
> <site A>              1193   349747   3053   1%  333180  13514    0%   59:37:53
> <site B>              3655   192107  10630   6%  164403  17074    5%   26:37:14
> <site C>              2514    98707   8982   5%   85623   4102    9%   16:26:22
> <site D>              5168   172893  23902  14%  129198  19793   13%   62:27:15
>                       ----   ------  -----       ------  -----         --------
>                      12530   813454  46567       712404  54483         ~165 hrs
> 
> Some other peers NOT running Cyclone (for comparison)..........................
> <site E>               123    82400  10477   6%   65985   5938   12%   67:53:18
> <site F>               194   130903  11135   6%  114978   4790    8%   45:47:05
> <site G>               235   196295  13425   8%  168336  14534    6%   71:16:57
> <site H>                44    97515  17872  10%   76654   2989   18%   61:05:53
>                        ---   ------  -----       ------  -----         --------
>                        596   507113  52909       425953  28251         ~246 hrs
> 
> TOTALS               17196  3626857 167207 100% 3317558 142092    4% 1432:59:47
> 
> That is, of all peers feeding this site, the four Cyclone sites made
> 72.8% of all the connections to my box, or an average of over one a minute
> (considering all four sites in aggregate), while for the comparison group, I'm
> seeing only a couple connections per hour, with much less connection build
> up/tear down.
> 
> My question is, how come I'm seeing this choppy sort of connection pattern
> from Cyclone? Are other people seeing it from their Cyclone-using peers? Is
> this a configurable option (i.e., is there some way to have Cyclone buffer
> its output so it doesn't connect as often as it seems to be connecting
> currently?)
> 
Well..Being a Cyclone site...I've noticed something a bit disturbing,
and posted it here
a while ago...
Cyclone tends to hate the fact that INN will checkpoint a feed every so
often (way too often if you ask me).  Cyclone reports  "Unexpected
Response to transfer of article <xxxxx@somewhere.outthere>. Received:
239"  Followed by:
"<site> Couldn't send articles! Disconnecting and Queueing Retry"

I see this to almost EVERY INN server I feed.  Oddly enough, the other
Cyclone / Diablo folks don't seem to have this problem.  (Oh yeah, DNEWS
is unaffected as well).

Anyone know of a way to tell INN NOT to checkpoint so frequently?

/rsj

> Thanks,
> 
> Joe St Sauver (joe@oregon.uoregon.edu)
> University of Oregon Computing Center

--
Reece Joyner
Senior Systems Engineer			rjoyner@ais.net
American Information Systems, Inc.	http://www.ais.net

Re: Cyclone generating an unusually large number of connects?
#16876
Author: Chris Portman
Date: Thu, 10 Apr 1997 00:00
29 lines
1647 bytes
Curt Welch wrote:
> 
> James Brister <brister@vix.com> wrote:
> > "R. Joyner" <rjoyner@ais.net> writes:
> 
> > > Cyclone reports  "Unexpected
> > > Response to transfer of article <xxxxx@somewhere.outthere>. Received:
> > > 239"  Followed by:
> > > "<site> Couldn't send articles! Disconnecting and Queueing Retry"
> 
> > 239 is a prefectly reasonable response to a transfer in streaming mode.
> 
> I read someone's comments (in this group maybe) about a bug in
> INN (older version, 1.4 maybe?), where it would return the
> streaming mode code (239 I think), after the session had been
> switched from streaming back to non-streaming.  INN was sending
> the wrong result code in that case.  Sounds like this might be what
> your are seeing.
> 
> I just tested my INN 1.5.1 and it has the same behavior.
> The first IHAVE article returns code 235.  TAKETHIS, returns 239,
> then IHAVE returns 239.

This is fixed in the latest version of Cyclone. :)

-Chris

Re: Cyclone generating an unusually large number of connects?
#16887
Author: Curt Welch
Date: Thu, 10 Apr 1997 00:00
26 lines
1501 bytes
James Brister <brister@vix.com> wrote:
> "R. Joyner" <rjoyner@ais.net> writes:

> > Cyclone reports  "Unexpected
> > Response to transfer of article <xxxxx@somewhere.outthere>. Received:
> > 239"  Followed by:
> > "<site> Couldn't send articles! Disconnecting and Queueing Retry"

> 239 is a prefectly reasonable response to a transfer in streaming mode.

I read someone's comments (in this group maybe) about a bug in
INN (older version, 1.4 maybe?), where it would return the
streaming mode code (239 I think), after the session had been
switched from streaming back to non-streaming.  INN was sending
the wrong result code in that case.  Sounds like this might be what
your are seeing.

I just tested my INN 1.5.1 and it has the same behavior.
The first IHAVE article returns code 235.  TAKETHIS, returns 239,
then IHAVE returns 239.

Curt Welch
http://CurtWelch.Com/

Re: Cyclone generating an unusually large number of connects?
#16917
Author: Jerry Aguirre
Date: Fri, 11 Apr 1997 00:00
50 lines
2629 bytes
In article <5ihv8s$4u6$5@darla.visi.com>,
Mike Horwath  <drechsau@nospam.visi.com> wrote:
>Curt Welch <curt@kcwc.com> wrote:
>
>: I read someone's comments (in this group maybe) about a bug in
>: INN (older version, 1.4 maybe?), where it would return the
>: streaming mode code (239 I think), after the session had been
>: switched from streaming back to non-streaming.  INN was sending
>: the wrong result code in that case.  Sounds like this might be what
>: your are seeing.
>
>: I just tested my INN 1.5.1 and it has the same behavior.
>: The first IHAVE article returns code 235.  TAKETHIS, returns 239,
>: then IHAVE returns 239.
>
>Yep, 1.5.1 causes cyclone to return it as well.
>
>And correct, Diablo does not :)
>
>So, why does it happen?

It is an error to mix streaming and non-streaming commands in the same
session.  I have yet to hear ANYONE advance ANY reason for switching
back to IHAVE mode on a streaming connection.

As to the reason ...

Inside of innd it needs to figure out what kind of response to send back
after it has done a history lookup or received an article.  More, in
streaming mode it needs to know the message-ID to return with the
response code.

On the first "check" or "takethis" command innd allocates a structure to
hold the message ID.  Later when preparing the response code it uses
the presence of this structure to decide what format of response to
send.

If the "message-ID" structure has been assigned to a particular channel
then the streaming form of the response is returned along with the
message-ID saved in the structure.  If there is no such structure
allocated then the "ihave" form of status is returned.

It would be simple to modify innd to eliminate the stream response code
to an "ihave" message.  My oppinion is to modify it to give an error
response to all "ihave" messages once streaming has been negotiated.

Don't change horses in mid stream :-)

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