Problem
SSH session to remote systems is hanging:
Solution
There are too many sessions using PTYs:
Where is the maximum supported PTYs is:
Background
There are actually three different types of ptys in HP-UX. You can see them all among the output of lsdev:
The telnet connection uses “telnet stream” ptys. The slave side of those appear as /dev/pts/t*
. The dtterm and hpterm terminals use “stream” ptys. The slave side of those appear as /dev/pts/[0-9]*
. The xterm terminal uses plain old ptys. The slave side of those appear as /dev/ttyp*
. Each type of pty has different kernel parameter limits and different device files. Check the kernel parameters and try recreating the device files with insf
. ( example: insf -en 120
)
Workaround
Create an SSH session without PTY:
Leave a comment