Multiple connections to NNTPserver?

Discussion in 'Linux Networking' started by Avoid9Pdf, Jun 7, 2014.

  1. Avoid9Pdf

    Avoid9Pdf Guest

    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.
     
    Avoid9Pdf, Jun 7, 2014
    #1
    1. Advertisements

  2. 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.
    It allows up to 4 concurrent connections, according to their faq.
     
    William Unruh, Jun 7, 2014
    #2
    1. Advertisements

  3. Avoid9Pdf

    Unknown Guest

    Because you don't know it:ETH.Oberon for linux, which I've modified to
    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.
     
    Unknown, Jun 8, 2014
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.