linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luigi Genoni <kernel@Expansa.sns.it>
To: Ben Greear <greearb@candelatech.com>
Cc: <landley@webofficenow.com>, <linux-kernel@vger.kernel.org>
Subject: Re: Hour long timeout to ssh/telnet/ftp to down host?
Date: Wed, 13 Jun 2001 11:40:17 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0106131138390.22415-100000@Expansa.sns.it> (raw)
In-Reply-To: <3B26CD5B.47002360@candelatech.com>



On Tue, 12 Jun 2001, Ben Greear wrote:

> Rob Landley wrote:
> >
> > I have scripts that ssh into large numbers of boxes, which are sometimes
> > down.  The timeout for figuring out the box is down is over an hour.  This is
> > just insane.
> >
> > Telnet and ftp behave similarly, or at least tthey lasted the 5 minutes I was
> > willing to wait, anyway.  Basically anything that calls connect().  If the
> > box doesn't respond in 15 seconds, I want to give up.
> >
> > Is this a problem with the kernel or with glibc?  If it's the kernel, I'd
> > expect a /proc entry where I can set this, but I can't seem to find one.  Is
> > there one?  What would be involved in writing one?
> >
>
> You can tune things by setting the tcp-timeout probably..I don't
> know exactly where to set this..

/proc/sys/net/ipv4/tcp_fin_timeout

default is 60.



  parent reply	other threads:[~2001-06-13  9:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12 21:02 Hour long timeout to ssh/telnet/ftp to down host? Rob Landley
2001-06-13  2:18 ` Ben Greear
2001-06-12 21:47   ` Rob Landley
2001-06-13  9:40   ` Luigi Genoni [this message]
2001-06-13 10:07     ` Rob Landley

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=Pine.LNX.4.33.0106131138390.22415-100000@Expansa.sns.it \
    --to=kernel@expansa.sns.it \
    --cc=greearb@candelatech.com \
    --cc=landley@webofficenow.com \
    --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;
as well as URLs for NNTP newsgroup(s).