From: Markus Schaber <schabios@logi-track.com>
To: DervishD <raul@pleyades.net>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: The dreadful CLOSE_WAIT
Date: Thu, 29 Jul 2004 11:46:02 +0200 [thread overview]
Message-ID: <20040729114602.052c9506@kingfisher.intern.logi-track.com> (raw)
In-Reply-To: <20040728144723.GA32602@DervishD>
Hi, DervishD,
On Wed, 28 Jul 2004 16:47:23 +0200
DervishD <raul@pleyades.net> wrote:
> Now, is there any sysctl that enables a keepalive for this kind
> of connections (dead remote end, local in CLOSE_WAIT) for all
> connections?
Hmm, on my 2.6.4 kernel, I have
/proc/sys/net/ipv4$ for i in tcp_keepalive_* ; do echo $i $(cat $i) ; done
tcp_keepalive_intvl 75
tcp_keepalive_probes 9
tcp_keepalive_time 7200
So it seems those are only the tuning values for the keepalive. Linux
(following RFC112) by default waits for 7200 seconds = 2 hours before it
sends the probes. The reason for this is that idle connections (like
ssh) should not be dropped just because there are some temporary network
problems between the hosts. (See man tcp for details.)
It seems that there's no global enabling if you don't want to tweak the
kernel source yourself.
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com
prev parent reply other threads:[~2004-07-29 9:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-27 8:39 DervishD
2004-07-27 9:28 ` Måns Rullgård
2004-07-27 9:57 ` DervishD
2004-07-27 16:00 ` William Lee Irwin III
2004-07-27 17:10 ` DervishD
2004-07-27 23:27 ` William Lee Irwin III
2004-07-28 9:09 ` DervishD
2004-07-28 9:24 ` William Lee Irwin III
2004-07-27 16:45 ` Mike Waychison
2004-07-27 17:09 ` DervishD
[not found] ` <20040728140622.2bc69fa5@kingfisher.intern.logi-track.com>
2004-07-28 14:47 ` DervishD
2004-07-29 9:46 ` Markus Schaber [this message]
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=20040729114602.052c9506@kingfisher.intern.logi-track.com \
--to=schabios@logi-track.com \
--cc=linux-kernel@vger.kernel.org \
--cc=raul@pleyades.net \
/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
all inboxes | Powered by JetHome®