• Multiple connections to NNTPserver?

    From Avoid9Pdf@gmail.com@110:110/2002 to All on Sat Jun 7 13:15:24 2014
    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.



    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From William Unruh@110:110/2002 to All on Sat Jun 7 16:21:22 2014
    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.



    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From Unknown@110:110/2002 to All on Sun Jun 8 08:45:28 2014
    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.




    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)