From owner-freebsd-hackers Sat Dec 1 2:15:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id A923137B416 for ; Sat, 1 Dec 2001 02:15:13 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id C42ACA2; Sat, 1 Dec 2001 10:15:04 +0000 (GMT) Date: Sat, 1 Dec 2001 10:15:04 +0000 From: Josef Karthauser To: Tomas Svensson Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: SSH stalls (was: FreeBSD performing worse than Linux?) Message-ID: <20011201101504.B492@tao.org.uk> Mail-Followup-To: Josef Karthauser , Tomas Svensson , freebsd-hackers@FreeBSD.ORG References: <20011201032622.A18737@simba.systemteknik.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011201032622.A18737@simba.systemteknik.net>; from tsn@gbdev.net on Sat, Dec 01, 2001 at 03:26:22AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 01, 2001 at 03:26:22AM +0100, Tomas Svensson wrote: > JK> Is this the same problem that I experience on ssh connections between > JK> my 5.0-current laptop and my releng_4 server? When I run an 'ls' > JK> from the shell on large directories I get the response back block > JK> delay block delay block. I assumed that it was a problem with > JK> -current. >=20 > I am quite sure that this is a problem introduced in OpenSSH v2.5 or > earlier. When I upgraded a FreeBSD 4.2 box from OpenSSH v2.2.0 to a > newer version (I don't remember exactly which one now) I noticed this > stalling which had never appeared before. If I used SSH Inc ssh-2.4 > there was no stalling. It's not FreeBSD-specific either: I am > trying this now on a NetBSD 1.5.1 that has OpenSSH v2.5.2 and if I > do ten ls -l as fast as I can, I get 14 retransmitted packets and > stalling. If I try the same with SSH Inc ssh-3.0.0 I get no > retransmitted packets. Strangely enough I get no stalling on either > sshd if I cat a 3 megabyte text... Yes you're right. I reenabled telnetd and the problem doesn't exist there. It's definitely an ssh problem. Joe --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwIragACgkQXVIcjOaxUBZN7QCfa/l2D2siHcws1rO+IaEPmRRv N1AAoJ7RNYr+7y6qDODpOhVU2lKUOw0J =sNX1 -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message