1753846 Members
7818 Online
108807 Solutions
New Discussion юеВ

Re: pty fork failed

 
щ╗ЮчЗГ
Valued Contributor

pty fork failed

Hi
While I'm trying to login to an hp-ux box via ssh, getting this error

5425.01 ptyfork failed in ptysystem: No such file or directory
4.0.6-03[17830]: pty fork failed
---------------------------------
can anyone help?

thanks
Man's mind, once stretched by a new idea, never regains its original dimensions
5 REPLIES 5
Jeeshan
Honored Contributor

Re: pty fork failed

T G Manikandan
Honored Contributor

Re: pty fork failed

can you check the value of nproc with kernel as well as the number of current running processes on the server.

щ╗ЮчЗГ
Valued Contributor

Re: pty fork failed

SYSTEM TABLES REPORT Users= 68

System Table Available Used Utilization High(%)
--------------------------------------------------------------------------------
Proc Table (nproc) 4116 784 19 19
File Table (nfile) 8192 3011 37 37
Shared Mem Table (shmmni) 220 23 10 10
Message Table (msgmni) 256 9 4 4
Semaphore Table (semmni) 1024 38 4 4
File Locks (nflocks) 512 71 14 14
Pseudo Terminals (npty) 120 59 49 49
Buffer Headers (nbuf) na 66708 na na



# kmtune -q nproc
Parameter Current Dyn Planned Module Version
===============================================================================
nproc 4116 - (20+8*MAXUSERS)

Man's mind, once stretched by a new idea, never regains its original dimensions
T G Manikandan
Honored Contributor

Re: pty fork failed

ssh -vvv

provide more debug output. also, are you using normal ssh clients or any client like cygwin?
Ganesan R
Honored Contributor

Re: pty fork failed

Hi,

You might have reached the maximum pty pseduo devices configured on the system.

Increase the following kernel parameter through SAM.

npty
nstrpty
nstrtel
Best wishes,

Ganesh.