- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel parameter npty.
Operating System - HP-UX
1763060
Members
2878
Online
108909
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2007 02:35 PM
тАО12-13-2007 02:35 PM
I have a client that would like to increase the number of telnet sessions. They are concerned because the system currently has 60 device files in /dev/pty, and npty is set to 60. They want to know if setting the npty parameter to a larger value will:
a.) increase the maximum number of
concurrent telnet sessions?
b.) will additional devices be created in
/dev/pty when the valuse is increased?
a.) increase the maximum number of
concurrent telnet sessions?
b.) will additional devices be created in
/dev/pty when the valuse is increased?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2007 02:38 PM
тАО12-13-2007 02:38 PM
Re: Kernel parameter npty.
a) Not necessarily. If this is HP-UX 11.0 or higher then you also need to increase the nstrtel and nstrpty parameters.
b) The additional devices will be created when the system is rebooted as a result of the kernel modification.
b) The additional devices will be created when the system is rebooted as a result of the kernel modification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2007 04:32 PM
тАО12-13-2007 04:32 PM
Solution
npty (and nstrtel, nstrpty) provide the needed device files for a network connection, typically a login. If your customer wants to increase the number of telnet sessions, then the answer to a) is obviously yes since that is the desired result. And the answer to b) is also yes+ since you need different device files for the different connection methods. Note that thousands of pty device files occupy no space other than their inodes. /dev is a very small directory (hint: du -ks /dev to see the Kbytes used by the /dev directory)
So you can increase all 3 parameters to 5000 and not worry about having to increase them at a later time. If 5 people login, then 5 pty pairs will be used. HP-UX doesn't care whether 5000 different users login or 5 users each start 1000 sessions each. Note that if 5000 logins are present, there is no additional load on the system. If all the users decide to find / or du / then your system will be crawling very slowly. But a single user could also login and start 5000 processes in the background. The point is that increasing pty values does not 'load' the system -- users load the system by what they are doing.
Bill Hassell, sysadmin
So you can increase all 3 parameters to 5000 and not worry about having to increase them at a later time. If 5 people login, then 5 pty pairs will be used. HP-UX doesn't care whether 5000 different users login or 5 users each start 1000 sessions each. Note that if 5000 logins are present, there is no additional load on the system. If all the users decide to find / or du / then your system will be crawling very slowly. But a single user could also login and start 5000 processes in the background. The point is that increasing pty values does not 'load' the system -- users load the system by what they are doing.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 07:24 AM
тАО12-14-2007 07:24 AM
Re: Kernel parameter npty.
Thank you for the quick and accurate responses.
Happy Holidays everyone.
Happy Holidays everyone.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP