🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Michal Jankowski Thu, 09 May 1996 00:00
innxmit, streaming mode, accepted > offered bug.
#7447
Author: Michal Jankowski
Date: Thu, 09 May 1996 00:00
12 lines
773 bytes
Ever since I switched to using stream mode, I'm getting something like
this:

[...] offered 100 accepted 236 refused 0 rejected 9

Is there any fix for this bug? It's present in both unoff3 and unoff4
versions.

 Michal

Re: innxmit, streaming mode, accepted > offered bug.
#7412
Author: Marc Roger
Date: Thu, 09 May 1996 00:00
17 lines
1176 bytes
On 09 May 1996 11:01:51 +0200, in news:<2nn33ip6dc.fsf@thfs1.fuw.edu.pl>,
Michal Jankowski <Michal.Jankowski@fuw.edu.pl> wrote in news.software.nntp:
>Ever since I switched to using stream mode, I'm getting something like
>this:
>[...] offered 100 accepted 236 refused 0 rejected 9
>Is there any fix for this bug? It's present in both unoff3 and unoff4
>versions.

It's not a bug, just a side effect of streaming. All the figures are correct.
(is this is FAQ already ?)

-- 
Marc Roger


Re: innxmit, streaming mode, accepted > offered bug.
#7431
Author: Dave Barr
Date: Thu, 09 May 1996 00:00
15 lines
942 bytes
In article <2nn33ip6dc.fsf@thfs1.fuw.edu.pl>,
Michal Jankowski <Michal.Jankowski@fuw.edu.pl> wrote:
>Ever since I switched to using stream mode, I'm getting something like
>this:
>[...] offered 100 accepted 236 refused 0 rejected 9
>
>Is there any fix for this bug? It's present in both unoff3 and unoff4
>versions.

It's not a bug.

--Dave

Re: innxmit, streaming mode, accepted > offered bug.
#7443
Author: Marc G. Fournier
Date: Thu, 09 May 1996 00:00
43 lines
2108 bytes
Michal.Jankowski@fuw.edu.pl (Michal Jankowski) writes:

>Ever since I switched to using stream mode, I'm getting something like
>this:

>[...] offered 100 accepted 236 refused 0 rejected 9

>Is there any fix for this bug? It's present in both unoff3 and unoff4
>versions.


	According to Dave Barr, this isn't a bug, but proper.  

	I just recently switchd from using innxmit to using innfeed,
which also implements streaming, and its results seem a little more
"sane":

Articles sent by INNFEED
System            Connects  Offered   Took Refuse Rejct Accpt   Elapsed
consult                 56     1441   1320     17     0   91%   8:55:40
dreamlabs               83     1459    217     11     0   14%  24:40:05
ionews                 632     1773    891    763     0   50%   9:13:25
trends                 265    28723  28100     41     0   97%   9:07:53
winternet              298     2640    787   1129     0   29%  17:05:36

TOTALS                1334    36036  31315   1961     0   86%  69:02:39

	And based on the number of articles my site has received,
this outgoing to trends looks correct...

	If you want to check out innfeed, its available at:

	http://www.isc.org/isc/inn.html


-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Re: innxmit, streaming mode, accepted > offered bug.
#7475
Author: Mark Turner
Date: Fri, 10 May 1996 00:00
26 lines
1416 bytes
In article <4mtpnt$1vl@freebsd.ki.net>,
Marc G. Fournier <scrappy@freebsd.ki.net> wrote:
> 
> 	I just recently switchd from using innxmit to using innfeed,
> which also implements streaming, and its results seem a little more
> "sane":
> 
> Articles sent by INNFEED
> System            Connects  Offered   Took Refuse Rejct Accpt   Elapsed
> consult                 56     1441   1320     17     0   91%   8:55:40

If the number of articles offered is never lower than the number of
articles transferred then that indicates that the sender is either not
streaming, or is not taking advantage of the part of streaming that
allows the check stage to be skipped once it is apparent that the
receiver is accepting everything the sender offers.

I'm not 100% sure whether innfeed always sends a check or not, anyone?

Cheers,

Mark.


Re: innxmit, streaming mode, accepted > offered bug.
#7511
Author: Marc G. Fournier
Date: Sun, 12 May 1996 00:00
29 lines
1807 bytes
mark@kram.org (Mark Turner) writes:

>In article <4n3cdt$27b@huron.eel.ufl.edu>,
>Mahesh Ramachandran <rr@eel.ufl.edu> wrote:
>> 
>> innfeed uses both check/take-this and take-this only mode and the
>> transition to the latter can be configured. However, irrespective
>> of check or take-this only it seems to increment "offered" for
>> each article.

>Hmmmm.... is that seen as a bug or a feature? :)

	I myself see it as a feature...I don't care much how many times it
does'nt go into the check stage, but I do like to know how many articles
have been received out of how many sent.  

>Is there any other way to see from the logs how much of the time innfeed
>was able to not bother with the check stage?

	Not that I can see in the log files, but that would be a neat
statistic to add...
-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Re: innxmit, streaming mode, accepted > offered bug.
#7525
Author: Mahesh Ramachandran
Date: Sun, 12 May 1996 00:00
18 lines
1033 bytes

In article <4n07tt$dk7@clio.kram.org>, mark@kram.org (Mark Turner) writes:
|> 
|> I'm not 100% sure whether innfeed always sends a check or not, anyone?
|> 


innfeed uses both check/take-this and take-this only mode and the
transition to the latter can be configured. However, irrespective
of check or take-this only it seems to increment "offered" for
each article.

-rr



Re: innxmit, streaming mode, accepted > offered bug.
#7533
Author: Mark Turner
Date: Sun, 12 May 1996 00:00
20 lines
1132 bytes
In article <4n3cdt$27b@huron.eel.ufl.edu>,
Mahesh Ramachandran <rr@eel.ufl.edu> wrote:
> 
> innfeed uses both check/take-this and take-this only mode and the
> transition to the latter can be configured. However, irrespective
> of check or take-this only it seems to increment "offered" for
> each article.

Hmmmm.... is that seen as a bug or a feature? :)

Is there any other way to see from the logs how much of the time innfeed
was able to not bother with the check stage?

Cheers,

Mark.


Re: innxmit, streaming mode, accepted > offered bug.
#7539
Author: Marc Roger
Date: Mon, 13 May 1996 00:00
32 lines
1944 bytes
On 13 May 1996 11:01:08 +0200, in news:<2nzq7dq758.fsf@thfs1.fuw.edu.pl>,
Michal Jankowski <Michal.Jankowski@fuw.edu.pl> wrote in news.software.nntp:
>Marc> It's not a bug, just a side effect of streaming.
>Marc> All the figures are correct. 

BTW I should have written that it's a side effect of _an optimization of_
streaming, because bypassing CHECKs isn't really required.

>Well, it depends on the definition of 'offered'. If you define
>'offered' to mean 'numbers of IHAVE commands' then the figures are
>probably correct, 

No. This figure would have to be zero then (streaming doesn't make use
of IHAVE but of CHECK). But OK, I see what you mean.

>                   but my definition of 'offered' is 'total number of
>articles I've tried to send'. This latter definition is also used by
>'innlog.awk', otherwise we wouldn't get figures like '955%'.
>For non-streaming NNTP, both definitions give the same answer.
>So, something definitely has to be fixed.

There's still nothing to worry about. You may want innxmit to increment 
the offered counter for each checked (x)or sent article, but you'd lose
information about how many articles have been sent without a previous 
CHECK.

-- 
Marc Roger


Re: innxmit, streaming mode, accepted > offered bug.
#7544
Author: Per Hedeland
Date: Mon, 13 May 1996 00:00
34 lines
2064 bytes
In article <4n597k$e39@freebsd.ki.net> scrappy@freebsd.ki.net (Marc G. Fournier) writes:
>mark@kram.org (Mark Turner) writes:
>
>>In article <4n3cdt$27b@huron.eel.ufl.edu>,
>>Mahesh Ramachandran <rr@eel.ufl.edu> wrote:
>>> 
>>> innfeed uses both check/take-this and take-this only mode and the
>>> transition to the latter can be configured. However, irrespective
>>> of check or take-this only it seems to increment "offered" for
>>> each article.
>
>>Hmmmm.... is that seen as a bug or a feature? :)
>
>	I myself see it as a feature...I don't care much how many times it
>does'nt go into the check stage, but I do like to know how many articles
>have been received out of how many sent.  

Hopefully all of them, otherwise you have a hole in the wire...:-) It
seems you're looking for took / (took + refused + rejected) - the
numbers are all there with streaming innxmit too, but perhaps innlog.awk
should be modified to calculate the percentage like that rather than as
took / offered.

I.e. non-streaming innxmit (and apparently innfeed) statistics have some
redundancy, as offered == took + refused + rejected - that's no problem
w/o streaming as there is nothing more to tell, but with streaming you
unnecessarily lose some information (and language precision:-) by
sticking to that equivalence.

--Per Hedeland
per@erix.ericsson.se

Re: innxmit, streaming mode, accepted > offered bug.
#7545
Author: Michal Jankowski
Date: Mon, 13 May 1996 00:00
25 lines
1460 bytes
>>>>> "Marc" == Marc Roger <Marc.Roger@belnet.be> writes:

>> [...] offered 100 accepted 236 refused 0 rejected 9 Is there any
>> fix for this bug? It's present in both unoff3 and unoff4 versions.

Marc> It's not a bug, just a side effect of streaming.
Marc> All the figures are correct. 

Well, it depends on the definition of 'offered'. If you define
'offered' to mean 'numbers of IHAVE commands' then the figures are
probably correct, but my definition of 'offered' is 'total number of
articles I've tried to send'. This latter definition is also used by
'innlog.awk', otherwise we wouldn't get figures like '955%'.
For non-streaming NNTP, both definitions give the same answer.

So, something definitely has to be fixed.

Marc> (is this is FAQ already ?)

No, it isn't.

  Michal

Re: innxmit, streaming mode, accepted > offered bug.
#7563
Author: Mahesh Ramachandran
Date: Mon, 13 May 1996 00:00
36 lines
2163 bytes

In article <4n48jq$r10@clio.kram.org>, mark@kram.org (Mark Turner) writes:
|> Hmmmm.... is that seen as a bug or a feature? :)
|>

not too sure, but i think i prefer it the way innxmit logs it, since one can get
the total articles from accepted+refused+rejected and "offered" gives you an indication
of how much was fed with take-this only.
 
|> Is there any other way to see from the logs how much of the time innfeed
|> was able to not bother with the check stage?

well, not exactly .. all the logs tell you is when it shifts to take-this
only mode, but not when it returns to checks, but it shouldn't be too hard to
modify. here is a sample log:

May 12 23:12:19 huron innfeed[18617]: <site>:0 connected
May 12 23:12:19 huron innfeed[18617]: <site> remote supports MODE STREAM
May 12 23:12:36 huron innfeed[18617]: <site>:1 connected
May 12 23:12:36 huron innfeed[18617]: <site> running in STREAMING and non-STREAMING mode both at once.
May 12 23:12:58 huron innfeed[18617]: <site>:2 connected
May 12 23:13:10 huron innfeed[18617]: <site>:3 connected
May 12 23:13:58 huron innfeed[18617]: <site>:0 switching to TAKETHIS-only mode
May 12 23:22:00 huron innfeed[18617]: <site> checkpoint seconds 581 offered 2200 accepted 336 refused 1819 rejected 13 missing 0 spooled 989
[...]

dont ask me about line 4 above .. i'm still trying to figure why that happens. :-)
... looks like mode stream negotiation fails sometimes.


-rr



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