Mailing List Archive

[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe
http://bugzilla.mindrot.org/show_bug.cgi?id=953

Summary: openssh session hanging - prngd[671]: write() in
socket_write() failed: Broken pipe
Product: Portable OpenSSH
Version: 3.7.1p2
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: stanislaw.walczak@sympatico.ca


it occurs once or twice per day , any suggestion if this is openssh
random number incompatibility issue ?



server:Sun Enterprise E4500/E5500System
SunOS 5.7 Generic_106541-32 sun4u sparc SUNW,Ultra-Enterprise

part of the /var/adm/messages

Nov 9 09:51:19 ashipts prngd[671]: write() in socket_write() failed:
Broken pipe
Nov 9 09:51:19 ashiptslast message repeated 30 times
Nov 9 09:51:19 ashipts prngd[671]: closing service fd 15 for error.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=953





------- Additional Comments From djm@mindrot.org 2004-11-17 07:29 -------
This looks very much a like a prngd issue and not an openssh problem. Are there
any error messages from openssh?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=953





------- Additional Comments From dtucker@zip.com.au 2004-11-17 09:08 -------
Someone on comp.security.ssh suggested that there is a bug in prngd-0.9.26 that
might cause this problem.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=953





------- Additional Comments From stanislaw.walczak@sympatico.ca 2004-11-18 01:23 -------
The following freezes on ashipt after running for a random period of time. It
usually happens within 15 minutes. I tracked it down to an error with the read
() from the remote server.
#!/bin/ksh
while (( 1 ))
do
ssh -vvv -l ipts ash mv /tmp/ssh_test /tmp/ssh_test.tmp
ssh -vvv -l ipts ashipts0 chmod 600 /tmp/ssh_test.tmp
ssh -vvv -l ipts ashipts0 mv /tmp/ssh_test.tmp /tmp/ssh_test
sleep 2
done



debug2: callback start
debug2: ssh_session2_setup: id 0
debug1: Sending command: mv /tmp/ssh_test /tmp/ssh_test.tmp
debug2: channel 0: request exec
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 16384
debug2: channel 0: rcvd adjust 32768
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
<freezes here, the remote command never executes either, although the debug
statements say it did. at this point the ssh connection hangs. the ssh
program is stuck on the local machine and connected sshd process is hung on the
remote machine. netstat shows that the connection is ESTABLISHED>




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.