Operating System - HP-UX
1833012 Members
3038 Online
110048 Solutions
New Discussion

Re: Which Kernel Parameter?

 
Jayson Hurd_2
Advisor

Which Kernel Parameter?

The other week we ran out of pts sessions. Existing connections were ok, but we couldn't add any ssh/terminal sessions. So we killed some old ones to free up. Is there a kernel parameter where I can increase the allowable pts sessions?
Most things worth having don't come easily.
6 REPLIES 6
KapilRaj
Honored Contributor

Re: Which Kernel Parameter?

u can increase from sam "the number of pty's "

man insf / mksf


Kaps
Nothing is impossible
Steven E. Protter
Exalted Contributor

Re: Which Kernel Parameter?

nstrtl
nstrpty

Change them with sam or manually, boot the box, then:

insf -e

Done.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bruno Ganino
Honored Contributor

Re: Which Kernel Parameter?

Navin Bhat_2
Trusted Contributor

Re: Which Kernel Parameter?

I would recommend that you bump up all of the below some reactive and some proactive.

npty
nstrpty
nstrtel
maxusers
maxuprc
max_thread_proc
Geoff Wild
Honored Contributor

Re: Which Kernel Parameter?

Try the following - what are yours set to?

npty 60 Number of ptys (Pseudo ttys)
nstrpty 60 Max Number of Streams-Based PTYs
nstrtel 60 Number of Telnet Session Device Files


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rita C Workman
Honored Contributor

Re: Which Kernel Parameter?

If all you needed were more pts sessions you only need to increase three parms in your kernel mentioned above:

npty
nstrpty
nstrtel

These take very little in resources. I generally have the habit of starting boxes off with 400 for small-average and 800 or more for systems with larger loads on them.

Rgrds,
Rita