From: Martin Klier Subject: SSH daemon segmentation fault Date: Wed, 21 Sep 2005 09:23:23 +0200 Message-ID: <200509210923.25828.martin.klier@atu.de> Reply-To: martin.klier@atu.de Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_tpQMD7Oo/JPIGFp"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: Sender: linux-admin-owner@vger.kernel.org List-Id: To: 'Linux Mail List' --Boundary-02=_tpQMD7Oo/JPIGFp Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi there, I'm experiencing a strange, annoying ssh daemon problem, I'm rather=20 desperated: At transmitting huge files (about 2GB) via scp to the ssh server, I earn an= =20 "Connection reset by peer" in about 90% of the cases, in average between th= e=20 100th and 1800th megabyte of transfer. Long-lasting ssh sessions without hu= ge=20 data amounts remain untouched. Tracking down the issue, I found out that the TCP session is terminated by= =20 flags RST,ACK, for which RFC793 says "connection not known to the stack". Due to this, I started verbose logging of the daemon, the end of the log=20 created by sshd -ddd follows here: =2D-------------------cut--------------------- debug2: channel 0: window 61440 sent adjust 69632 debug2: channel 0: window 61440 sent adjust 69632 debug2: channel 0: window 61440 sent adjust 69632 Segmentation fault =2D-------------------cut--------------------- Nothing further, of course the process is dead now. The client tells me the following: =2D-------------------cut--------------------- debug3: channel 0: close_fds r -1 w -1 e -1 test.zero |=3D=3D=3D=3D=3D=3D=3D=3D> 75% 1509MB 10.5MB/s 00:46 ETA Read from remote host svdbslx007: Connection reset by peer lost connection =2D-------------------cut--------------------- I see, referencing to the received RST the client could not do anything=20 else :) The SSH server is a SLES9 32bit, I already updated to SP1 and SP2 - no chan= ge=20 of the behaviour. Actually the sshd version is OpenSSH_3.8p1. As client I tried several SuSE versions (9.3 Prof at current patch level,=20 SLES9 32bit at SP2, SLES9 64bit SP1, etc...) and my Debian Sarge stable=20 notebook. Always the same. Are there any suggestions? Thanks in advance and best regards, =2D-=20 Mit freundlichen Gr=FC=DFen i.A. Martin Klier PC-Benutzerunterst=FCtzung / Linux-Server IT Asset Management A.T.U - Auto-Teile-Unger Dr.-Kilian-Stra=DFe 11 92637 Weiden --Boundary-02=_tpQMD7Oo/JPIGFp Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBDMQptVKZfihvnEcQRAuQjAJ0cbOvItED6i8zixWjk85+KMN3mPwCgiCbc x8UB8lY3Nghq3fRhzRY09g4= =3RWF -----END PGP SIGNATURE----- --Boundary-02=_tpQMD7Oo/JPIGFp--