Operating System - HP-UX
1833607 Members
3271 Online
110062 Solutions
New Discussion

limits to ssh´s sessions

 
Simone Teles da Hora_5
Occasional Advisor

limits to ssh´s sessions

Hi,

There are limits for ssh´s sessions?
I have a problem in HP-UX 11.00, when the number sessions reach about 25, a error appear in my console:

4 09:50:23 apollo sshd[13882]: error: /dev/ptmx: Device busy
Feb 4 09:50:23 apollo sshd[14304]: error: session_pty_req: session 0 alloc failed


how can i discover what happened?

Thank
3 REPLIES 3
Gary L. Paveza, Jr.
Trusted Contributor

Re: limits to ssh´s sessions

What are your values for npty and nstrpty? These control how many pseudo terminals you can have. On my system, I set these (and nstrtel) to 512 from the default of 60.
Simone Teles da Hora_5
Occasional Advisor

Re: limits to ssh´s sessions

npty = 100
nstrpty and nstrtel = 60

But I thought this parameters were relating with telnet!!

Gary L. Paveza, Jr.
Trusted Contributor

Re: limits to ssh´s sessions

According to SAM:

ntpy: Number of ptys (Pseudo ttys)
nstrpty: Max Number of streams-based ptys
nstrtel: Number of telnet session device files

In all honesty, I'm guessing on this based on your error mesage.