Re: Bug report: tcp staled when send-q != 0, timers == 0.

Eugene B. Berdnikov (berd@elf.ihep.su)
Sat, 21 Apr 2001 19:45:03 +0400


Hello.

On Wed, Apr 18, 2001 at 11:28:43PM +0400, kuznet@ms2.inr.ac.ru wrote:
> > 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.
>
> Yes, I have said that it is practically impossible to reproduce this.
> My guess was that it is due to inaccurate counting of sacks when path
> mtu discovery happens or when segments are fragmented due to SWS avoidance
> override.

Im my case P-MTU discovery and fragmentation should be ruled out, but
sacks are really frequent: my hosts are connected via poor leased line.

> Actually, the most dubious place is your statement that this connection
> was not idle for 2 hours. It is _necessary_ condition
> for my scenario to work...

I only wrote that it was active when got stuck. It may be idle before -
I do not remember, but have a habit to keep connections for weeks. :)

As my experiments show, any connection, entering keepalive once,
have lose its ability to send zero probes - forever.

> > [I hope we will continue this discussion later.]
>
> I am ready.

OK. Let us return to the "mss/mtu bug". The most mystifying thing for
me is the dependance of the MTU threshold on the kernel version, etc.

I also wrote that it depends on keepalive flag. It seems, it was a mistake.
My additional experiments show that there is no distinct threshold of MTU:
trying the same value many times, I observed loss of acks in some cases,
and in some did not. So, the MTU boundary is not strict. Well, let it be.

But the question is what the minimum "reliable" MTU. There are lots of
situations when data comes rapidly in small packets (say, monitoring logs).
Is there a danger to lose such connections on a heavily loaded host?

-- 
 Eugene Berdnikov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/