netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Beschorner Daniel <Daniel.Beschorner@facton.com>
Cc: netdev@vger.kernel.org
Subject: Re: Telnet closing delay
Date: Wed, 2 May 2007 13:19:52 +0400	[thread overview]
Message-ID: <20070502091952.GA6060@2ka.mipt.ru> (raw)
In-Reply-To: <3C59DB883F7B0B4D8096010D45ACCD1323004D@exch.facton.local>

On Tue, May 01, 2007 at 10:48:11PM +0200, Beschorner Daniel (Daniel.Beschorner@facton.com) wrote:
> Since 2.6.21 I often got a 2 seconds delay when closing a telnet session
> to such a machine (even to localhost).
> I was at least not aware of this with older versions, but maybe I'm
> wrong?!?
> Server with delay:
> 
> 0.000095 select(4, [0 3], [], [0], NULL) = 1 (in [3])
> 0.001779 read(3, 0x8059de0, 8192)  = -1 EIO (Input/output error)

Hmm, does not it supposed to stop doing such things on the closed
socket and not enter 10000 select/read loop?
Server behaves incorrectly in this scenario, why and how it can be fixed
is another questions better asked the author.

-- 
	Evgeniy Polyakov

  reply	other threads:[~2007-05-02  9:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 20:48 Telnet closing delay Beschorner Daniel
2007-05-02  9:19 ` Evgeniy Polyakov [this message]
2008-04-03  9:32   ` Beschorner Daniel
2008-04-03 10:42     ` Evgeniy Polyakov
2008-04-03 12:04       ` Beschorner Daniel

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=20070502091952.GA6060@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=Daniel.Beschorner@facton.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).