Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2967 > unrolled thread

Multiple connections to NNTPserver?

Started byAvoid9Pdf@gmail.com
First post2014-06-07 13:15 +0000
Last post2014-06-08 08:45 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.os.linux.networking


Contents

  Multiple connections to NNTPserver? Avoid9Pdf@gmail.com - 2014-06-07 13:15 +0000
    Re: Multiple connections to NNTPserver? William Unruh <unruh@invalid.ca> - 2014-06-07 16:21 +0000
      Re: Multiple connections to NNTPserver? Unknown <dog@gmail.com> - 2014-06-08 08:45 +0000

#2967 — Multiple connections to NNTPserver?

FromAvoid9Pdf@gmail.com
Date2014-06-07 13:15 +0000
SubjectMultiple connections to NNTPserver?
Message-ID<lmv39a$nv4$1@dont-email.me>
In the old-days Newsgroup-names didn't contain minus-signs.
Now they do.
So I hacked the good-old NTTP 'handler', [based on rfc..].
But now, sometimes it hangs.  Often after the first fetch.

When I asked: list article-header-numbers in comp.sys.raspberry-pi,
containing "onta" in <Subject>, it hang, if it's already done a fetch.

lsof | grep <pid>
  shows the 2 lines:--
 22380   root   29u  IPv4  391647 \
  TCP 10.208.223.203:41160->78.46.70.116:nntp (ESTABLISHED)
 22380   root   30u  IPv4  391655 \
 TCP 10.208.223.203:41162->78.46.70.116:nntp (ESTABLISHED)

Does this mean that I had 2 connections to 78.46.70.116:nntp,
when it hung ?

Shouldn't the 1st connection have closed, since I only 'called'
the second fetch, after I saw that the 1st had arrived.

Perhaps the NNTP-server [eternal september] doesn't allow D.O.S.-like
multiple connections?

==TIA.

[toc] | [next] | [standalone]


#2969

FromWilliam Unruh <unruh@invalid.ca>
Date2014-06-07 16:21 +0000
Message-ID<lmve62$t7v$1@dont-email.me>
In reply to#2967
On 2014-06-07, Avoid9Pdf@gmail.com <Avoid9Pdf@gmail.com> wrote:
> In the old-days Newsgroup-names didn't contain minus-signs.
> Now they do.
> So I hacked the good-old NTTP 'handler', [based on rfc..].
> But now, sometimes it hangs.  Often after the first fetch.
>
> When I asked: list article-header-numbers in comp.sys.raspberry-pi,
> containing "onta" in <Subject>, it hang, if it's already done a fetch.
>
> lsof | grep <pid>
>   shows the 2 lines:--
>  22380   root   29u  IPv4  391647 \
>   TCP 10.208.223.203:41160->78.46.70.116:nntp (ESTABLISHED)
>  22380   root   30u  IPv4  391655 \
>  TCP 10.208.223.203:41162->78.46.70.116:nntp (ESTABLISHED)
>
> Does this mean that I had 2 connections to 78.46.70.116:nntp,
> when it hung ?
>
> Shouldn't the 1st connection have closed, since I only 'called'
> the second fetch, after I saw that the 1st had arrived.

It could also be that it regularly uses more than one connection to
download the material. You do not even say which reader you are using. 

>
> Perhaps the NNTP-server [eternal september] doesn't allow D.O.S.-like
> multiple connections?

It allows up to 4 concurrent connections, according to their faq. 
>
>==TIA.
>
>

[toc] | [prev] | [next] | [standalone]


#2970

FromUnknown <dog@gmail.com>
Date2014-06-08 08:45 +0000
Message-ID<pan.2014.06.08.08.47.41@gmail.com>
In reply to#2969
On Sat, 07 Jun 2014 16:21:22 +0000, William Unruh wrote:

> On 2014-06-07, Avoid9Pdf@gmail.com <Avoid9Pdf@gmail.com> wrote:
>> In the old-days Newsgroup-names didn't contain minus-signs. Now they
>> do.
>> So I hacked the good-old NTTP 'handler', [based on rfc..]. But now,
>> sometimes it hangs.  Often after the first fetch.
>>
>> When I asked: list article-header-numbers in comp.sys.raspberry-pi,
>> containing "onta" in <Subject>, it hang, if it's already done a fetch.
>>
>> lsof | grep <pid>
>>   shows the 2 lines:--
>>  22380   root   29u  IPv4  391647 \
>>   TCP 10.208.223.203:41160->78.46.70.116:nntp (ESTABLISHED)
>>  22380   root   30u  IPv4  391655 \
>>  TCP 10.208.223.203:41162->78.46.70.116:nntp (ESTABLISHED)
>>
>> Does this mean that I had 2 connections to 78.46.70.116:nntp, when it
>> hung ?
>>
>> Shouldn't the 1st connection have closed, since I only 'called' the
>> second fetch, after I saw that the 1st had arrived.
> 
> It could also be that it regularly uses more than one connection to
> download the material. You do not even say which reader you are using.
> 
Because you don't know it:ETH.Oberon for linux, which I've modified to
accept <groupNames containing a 'minus sign'>
> 
>> Perhaps the NNTP-server [eternal september] doesn't allow D.O.S.-like
>> multiple connections?
> 
> It allows up to 4 concurrent connections, according to their faq.
>>
>>==TIA.

I've been thinking how to show the marvels of *nix piping to some
non-*nix users, via this exercise:
Why is this LEO [aka Linux-based ETH Oberon] hanging?
Show me the pid/s of all LEO = pgrep beron
Show me the latest one started = pgrep beron | tail -1
Show me which files it has open = lsof | grep `pgrep beron |tail -1`

!!Wow!! 
There a big problem. Right now, by test/pasteing that cmd, it shows:
.. IPv4 391647 TCP 10.208.223.203:41160->78.46.70.116:nntp (ESTABLISHED)
But I've been off-line for 10 hours.


[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.networking


csiph-web