- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- npty and nstrpty kernel settings
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
Forums
Discussions
Discussions
Discussions
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
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
10-13-2000 11:31 AM
10-13-2000 11:31 AM
We are seeing alot of "connection reset by peer" errors. In searching around a bit we've found some HP docs that say we should up our npty and nstrpty settings. However, they all seem to have different numbers for the two settings (anywhere between 400 and 800). I'm guessing that this has to do with either personal preference and system size.
Could anyone give me a good feel for what these parameters are and what effect they have?
I realize that they control pseudo-terms and streamed pseudo terms, but don't see why I would be getting "drop" errors if they are too low (unless it really means that a new term couldn't start up).
Any info would be appreciated.
Thanks,
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2000 11:37 AM
10-13-2000 11:37 AM
Re: npty and nstrpty kernel settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2000 11:52 AM
10-13-2000 11:52 AM
Solutionnstrpty: maximum number of streams based pseudo-tty data structures available
on the system (used by rlogind)
As far as I know if affect the nfile Max Number of simultaneously OpenFiles system-wide at any given time. Total number of slots it the file descriptor table, default=16*(nproc+16+maxusers)/1 0+32+2*(npty+nstrpty) recommended: to use default.
Note that npty parameter specify the number of ptys (pseudo ttys), default=60.
recommended: if you are using rlogin/telnet connections from clients to server then
increase npty up to the number of client users. Note: ptys are not used when using Oracle SQL*Net
I've rebuild my system kernel with these parameter settings: npty 500 and nstrpty 500. (that's another personal choice)
Ian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2000 11:55 AM
10-13-2000 11:55 AM
Re: npty and nstrpty kernel settings
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2000 12:55 PM
10-13-2000 12:55 PM
Re: npty and nstrpty kernel settings
You can use ll /dev/pty*|wc -l to verify how many pty device files you have, and ps -ef|grep pty* | wc -l to the running ones . and ps -ef|grep nstrpty* |wc -l .
I did not test this out on my system I'm running home.
Have a nice weekend
Ian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2000 12:33 AM
10-14-2000 12:33 AM
Re: npty and nstrpty kernel settings
I confirm Ian's contributions. You can sett npty=400, and nsptrpty=200. ll /dev/pty*|wc -l will give you listing of all pseudo terminals