From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Nazarewicz Subject: Re: Preventing SSH timeouts . Some clarification needed Date: Tue, 08 Jun 2010 11:48:22 +0200 Message-ID: <87typdg8ih.fsf@erwin.mina86.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :in-reply-to:references:user-agent:x-face:face:x-url:x-pgp-fp:x-pgp :date:message-id:mime-version:content-type; bh=uVVexAGeK1WA/ABrxuQzSBMHcFwiRB82NNFb0WXYpQc=; b=rlxZTmUke2QsbpIDtZnkJ0Q5RZe+sjMrWPfMI3M147nUKgYIQ5o9Poncrlc67dJNCQ EmE29Qek5mWcxJVBu6B/REOCl+DbvweKK0Fc0JWyk3aEjm5njmnGt8wUMn3WfdOYkpYB +odOok8vtnrAdNVxtdNCs/k89WTtanNvR2kpM= In-Reply-To: (query's message of "Tue, 8 Jun 2010 15:06:18 +0530") Sender: linux-admin-owner@vger.kernel.org List-ID: To: query Cc: linux-admin@vger.kernel.org --=-=-= Content-Transfer-Encoding: quoted-printable query writes: > We are seeing some dropped SSH connections because of which some of > the process are failing . The main likely reason for the connection > drops is that both the client and server remains 100% busy during > a certain time interval and during that time interval we see those > occassional connection closed by the server. Are you sure it's not because of some NATing which may have a shorter timeout then the one used by SSH's keep alive? > Let's take a situation where the SSH client is 100% busy or idle and > it had communicated to the server for around 300 seconds , then in > this case if the above option is there , the server should send a > message to the client after 300 secs. [...] 300 seconds is a very long time. I consider it unlikely that a process that was idle for 300 seconds wouldn't quickly get a few CPU cycles just to send a simple packet. I find it possible only when you use non-standard schedule policies. Hope it helps even that I haven't answered your original question. =2D-=20 Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +------ooO--(_)--Ooo-- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwOEewACgkQUyzLALfG3x6l8QCgrI6qzW20ZloHdSKCTxEGqoTO 3T8AnA1KRwU5GkfCkTkNBzqTpLsw9AwA =MUVa -----END PGP SIGNATURE----- --=-=-=--