SSH hanging

Nahid Taheri nahid.taheri at wamu.net
Tue Dec 18 10:38:22 EST 2001


Hi,

We installed OBSD's ssh package on production and find our batch jobs
are hanging on the "ssh"
command.  The details are included below, for both normal and "hanging"
executions.  Please let
me know if this is a new or existing bug or if you require further info
to debug this.  The command
was executed with the highest debug level (-v -v -v for level 3).  This
script
serves a critical business function and this bug affects our database
recoverability.

Thanks,

Nahid Taheri
Lead Enterprise DBA
Washington Mutual
(949) 833 6644

Details follows:
-----------------------------------
Normal execution:
debug2: callback start
debug1: client_init id 0 arg 0
debug1: Sending command: df -k /u03/oraarch_remote/crmsbprd
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 16384
debug2: channel 0: rcvd adjust 32768
debug1: channel 0: read<=0 rfd 5 len 0
debug1: channel 0: read failed
debug1: channel 0: input open -> drain
debug1: channel 0: close_read
debug1: channel 0: input: no drain shortcut
debug1: channel 0: ibuf empty
debug1: channel 0: input drain -> closed
debug1: channel 0: send eof
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: rcvd eof
debug1: channel 0: output open -> drain
debug1: channel 0: rcvd close
debug2: channel 0: no data after CLOSE
debug2: channel 0: no data after CLOSE
debug1: channel 0: obuf empty
debug1: channel 0: output drain -> closed
debug1: channel 0: close_write
debug1: channel 0: send close
debug1: channel 0: is dead
debug1: channel_free: channel 0: status: The following connections are
open:
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)
debug2: !channel_still_open.
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0

---------------------------------
Prior to haning situation: (normal execution):
debug2: callback start
debug1: client_init id 0 arg 0
debug1: Sending command: df -k /u03/oraarch_remote/crmsbprd
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 16384
debug2: channel 0: rcvd adjust 32768
debug1: channel 0: read<=0 rfd 5 len 0
debug1: channel 0: read failed
debug1: channel 0: input open -> drain
debug1: channel 0: close_read
debug1: channel 0: input: no drain shortcut
debug1: channel 0: ibuf empty
debug1: channel 0: input drain -> closed
debug1: channel 0: send eof
debug1: channel 0: rcvd eof
debug1: channel 0: output open -> drain
debug1: channel 0: rcvd close
debug2: channel 0: no data after CLOSE
debug2: channel 0: no data after CLOSE
debug1: channel 0: obuf empty
debug1: channel 0: output drain -> closed
debug1: channel 0: close_write
debug1: channel 0: send close
debug1: channel 0: is dead
debug1: channel_free: channel 0: status: The following connections are
open:
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)
debug2: !channel_still_open.
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status -1

-------------------------------------------------------------------
Hanging Execution:
debug2: callback start^M
debug1: client_init id 0 arg 0^M
debug1: Sending command: df -k /u03/oraarch_remote/crmsbprd^M
debug2: callback done^M
debug1: channel 0: open confirm rwindow 0 rmax 16384^M
debug2: channel 0: rcvd adjust 32768^M
debug1: channel 0: read<=0 rfd 5 len 0^M
debug1: channel 0: read failed^M
debug1: channel 0: input open -> drain^M
debug1: channel 0: close_read^M
debug1: channel 0: input: no drain shortcut^M
debug1: channel 0: ibuf empty^M
debug1: channel 0: input drain -> closed^M
debug1: channel 0: send eof^M
debug1: channel 0: rcvd eof^M
debug1: channel 0: output open -> drain^M
debug1: channel 0: obuf empty^M
debug1: channel 0: output drain -> closed^M
debug1: channel 0: close_write^M
debug1: channel 0: send close^M
debug2: channel 0: no data after CLOSE^M
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0^M
debug1: channel 0: rcvd close^M
debug2: channel 0: no data after CLOSE^M
debug1: channel 0: is dead^M
debug1: channel_free: channel 0: status: The following connections are
open:^M
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)^M
^M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nahid.taheri.vcf
Type: text/x-vcard
Size: 158 bytes
Desc: Card for Nahid Taheri
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20011217/c660c95d/attachment.vcf 


More information about the openssh-unix-dev mailing list