- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- npty limits nstrpty?
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО11-03-2008 11:55 AM
тАО11-03-2008 11:55 AM
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2008 12:03 PM
тАО11-03-2008 12:03 PM
SolutionHere's what SAM says about nstrpty:
"This parameter should be set to a value that is equal to or greater than the number of PTY devices on the system that will be using streams-based I/O pipes. Using a parameter value significantly larger than the number of PTYs is not recommended. nstrpty is used when creating data structures in the kernel to support those streams-based PTYs, and an excessively large value wastes kernel memory space."
So, the answer to your question would be no.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2008 12:07 PM
тАО11-03-2008 12:07 PM
Re: npty limits nstrpty?
My next question is, what determines whether I am assigned a pty or a STREAM pty? Is it different for telnet and SSH connections? Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 02:08 AM
тАО11-04-2008 02:08 AM
Re: npty limits nstrpty?
If you increase the kernel parameters remember to create the apropriate device files like
insf -d ptym -n 100
insf -d ptys -n 100
insf -d pts -s 400
and for telnet devices
insf -d tels -s 512
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 05:14 AM
тАО11-04-2008 05:14 AM
Re: npty limits nstrpty?
NPTY = NSTRTEL = NSTRPTY = 500
These parameters just reserve space for connection tables. Making all 3 a lot larger than you currently need is a good idea -- they occupy very little space.
As mentioned, you must set the kernel parameters, but then run insf to create the device files. The device files must match the kernel parameters. If you use SAM, this is all automatic.
Bill Hassell, sysadmin