Operating System - HP-UX
1855335 Members
46490 Online
104109 Solutions
New Discussion

Updates on Impact of "npty kernel parameter" to the system

 
jok
Occasional Contributor

Updates on Impact of "npty kernel parameter" to the system

Our current login is 128, npty value is 60. Would this settings have an impact on our machine(HP'N)..

thanks

jok
Repeatation make once perfect, excelence then is not a act but a hobbit
3 REPLIES 3
Printaporn_1
Esteemed Contributor

Re: Updates on Impact of "npty kernel parameter" to the system

Hi,

npty normally use for telnet session.
you can increase more as you want.
after using sam to modify npty , sam will crease device files for you.
if you're modify kernel by command line , you have to use insf to create pty device files manually.
enjoy any little thing in my life
Steven Sim Kok Leong
Honored Contributor

Re: Updates on Impact of "npty kernel parameter" to the system

Hi,

Perform the following:

last |grep "still logged in"|wc -l

If this is more than your npty value, you will have a problem. npyy specifies the maximum number of pseudo-tty data structures available on the system. It is fine to increase the npty value to a very big value (maximum is memory limited) since no other kernel parameters are dependent on it.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Karthik_2
Regular Advisor

Re: Updates on Impact of "npty kernel parameter" to the system

Jok,
Yes the default value of npty is 60 .
You can safely increase it to say 200 .
I have 200 in my N class developement env.
and note that the pty devices are used only for telnet , rlogin sessions not when the user
connects to the database using SQLnet etc.

Cheers
Karthik...
Its ALL in the MATRIX