public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Eugene B. Berdnikov" <berd@elf.ihep.su>
To: kuznet@ms2.inr.ac.ru
Cc: linux-kernel@vger.kernel.org, davem@redhat.com
Subject: Re: Bug report: tcp staled when send-q != 0, timers == 0.
Date: Fri, 13 Apr 2001 12:54:37 +0400	[thread overview]
Message-ID: <20010413125437.D25085@elf.ihep.su> (raw)
In-Reply-To: <20010411225051.B19364@elf.ihep.su> <200104111909.XAA10870@ms2.inr.ac.ru>
In-Reply-To: <200104111909.XAA10870@ms2.inr.ac.ru>; from kuznet@ms2.inr.ac.ru on Wed, Apr 11, 2001 at 11:09:35PM +0400

  Hello.

On Wed, Apr 11, 2001 at 11:09:35PM +0400, kuznet@ms2.inr.ac.ru wrote:
> BTW if that cursed socket is still alive, try to make the experiment
> with filling window on it. It must stuck, or my theory is completely wrong.

 Filling the socket via writing to pty (controlled by sshd), I found
 the state, which seems very similar to that I have reported:

 # netstat -n -eot | grep 1018
 tcp        0  37684 194.190.166.31:22       194.190.161.106:1018
    ESTABLISHED 0          11964      off (0.00/0/0)

 You see, timers are zero and send-q is not. Zero probes were NOT observed,
 exactly as you predict, but keepalive is correct.

 However, this is _not_ a staled state. When I resume ssh on 194.190.166.31,
 buffer gets empty and connection behaves as normal. I made this experiment
 waiting for keepalive packets from both sides, as well as resuming ssh
 before keepalives. In both cases connection did not become stale.

 So, my conclusion is that your statement about zero probe breakdown due
 to keepalives is right, and, I hope, your patch also makes the right thing.
 However, this is not an answer for the question how such a stale connection
 could arise, and predicted machanism to get it "stuck" does not work.

 [I hope we will continue this discussion later.]
-- 
 Eugene Berdnikov

  parent reply	other threads:[~2001-04-13  8:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-09 14:43 Bug report: tcp staled when send-q != 0, timers == 0 Eugene B. Berdnikov
2001-04-10 17:38 ` kuznet
2001-04-10 21:19   ` Eugene B. Berdnikov
2001-04-11 10:16     ` Eugene B. Berdnikov
2001-04-11 16:56       ` kuznet
2001-04-11 18:35         ` Eugene B. Berdnikov
2001-04-11 19:04           ` kuznet
2001-04-11 19:28             ` Eugene B. Berdnikov
2001-04-11 19:37               ` kuznet
2001-04-11 16:35     ` kuznet
2001-04-11 18:50       ` Eugene B. Berdnikov
2001-04-11 19:09         ` kuznet
2001-04-11 19:18           ` Eugene B. Berdnikov
2001-04-13  8:54           ` Eugene B. Berdnikov [this message]
     [not found]             ` <200104181928.XAA04912@ms2.inr.ac.ru>
2001-04-21 15:45               ` Eugene B. Berdnikov
2001-04-21 17:02                 ` kuznet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010413125437.D25085@elf.ihep.su \
    --to=berd@elf.ihep.su \
    --cc=davem@redhat.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox