Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-13 Thread Rob Landley
On Wednesday 13 June 2001 05:40, Luigi Genoni wrote: > On Tue, 12 Jun 2001, Ben Greear wrote: > > 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. Never got that far. My problem was

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-13 Thread Luigi Genoni
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

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-13 Thread Luigi Genoni
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

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-13 Thread Rob Landley
On Wednesday 13 June 2001 05:40, Luigi Genoni wrote: On Tue, 12 Jun 2001, Ben Greear wrote: 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. Never got that far. My problem was actually

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-12 Thread Rob Landley
>You can tune things by setting the tcp-timeout probably..I don't >know exactly where to set this.. Aha, found it. /proc/sys/net/ipv4/tcp_syn_retries I am a victim of the exponential retry falloff, it would seem. syn_retries of 1 takes a few seconds, 3 takes less than half a minute, and 5

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-12 Thread Ben Greear
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,

Hour long timeout to ssh/telnet/ftp to down host?

2001-06-12 Thread Rob Landley
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

Hour long timeout to ssh/telnet/ftp to down host?

2001-06-12 Thread Rob Landley
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

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-12 Thread Ben Greear
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.

Re: Hour long timeout to ssh/telnet/ftp to down host?

2001-06-12 Thread Rob Landley
You can tune things by setting the tcp-timeout probably..I don't know exactly where to set this.. Aha, found it. /proc/sys/net/ipv4/tcp_syn_retries I am a victim of the exponential retry falloff, it would seem. syn_retries of 1 takes a few seconds, 3 takes less than half a minute, and 5