Operating System - HP-UX
1834253 Members
2187 Online
110066 Solutions
New Discussion

Error conection user to server:

 
SOLVED
Go to solution
opeador
Occasional Advisor

Error conection user to server:

Hi :

Users cant't connect to my server for too many users, i changed some parm of kmtune like:
npty 120 - 120
nstrpty 120 - 120

huracan:[root]:/> who -u |wc -l
123


some lines of who:
javierf pts/ta
luciac pts/7
alejor pts/8 2:01pm susanar pts/9 2:38pm
susanar pts/10
rodrigom pts/tb 7:16am

some questions, what's the diference betwen pts/number and pts/letter? because when i reach pts/120 no more users allow login. Thanks in advanced.

Ruben.

4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: Error conection user to server:

Opeador,

Let me see if I understood your question, perhaps this can help:

"nstrpty limits the number of sreams-based ptys that are allowed system-wide. When sending data to pty devices (such as windows), a pty device must exist for every window that is open at any given time."

http://docs.hp.com/en/TKP-90202/re61.html

Regards,

Jaime.
Work hard when the need comes out.
opeador
Occasional Advisor

Re: Error conection user to server:

yes, it solve 50% of my questions ;) the other is why some users got the number and other the letter...

ruben
Patrick Wallek
Honored Contributor

Re: Error conection user to server:

If users are telnet'ing to your system then you must also change the nstrtel kernel parameter.

npty, nstrpty and nstrtel should all have the same value.
opeador
Occasional Advisor

Re: Error conection user to server:

Hi most users use ssh and not telnet anyway parm of telnet is set to 400:

npty 120 - 120
nstrpty 120 - 120
nstrtel 400 - (MAXUSERS)