- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot allocate pty in syslog
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
09-05-2006 07:54 AM
09-05-2006 07:54 AM
HP UX 10.20 (no laughing)
K420 server
This is the 2nd time this has happened so I guess I need to check the system out.
Users began calling that they could not log on. They did not get an error, no prompt...just a blinking cursor.
All users use either Hyperterm or NetTerm to connect.
I killed idle users off of the system which seemed to allow other users to log in.
I checked syslog and saw "Cannot allocate pty" about a 100 times....during the time that users were complaining.
I can't seem to find out what this means....and not exactly sure why the system is allocating pty when I see users are always tty.....
I had installed unlimited users a while ago.
Some kernel settings:
maxusers 200
npty 200
nstrpty 60
There were an estimated 65 users on the system when this error started.
NOW, we originally had a UNIX 60-user license....is there a setting somethere that I missed that needs to be updated?
Any help I would greatly appreciate......and now back to the forums for more searching....
TIA
Cin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 07:56 AM
09-05-2006 07:56 AM
Re: cannot allocate pty in syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 08:00 AM
09-05-2006 08:00 AM
Re: cannot allocate pty in syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 08:04 AM
09-05-2006 08:04 AM
Re: cannot allocate pty in syslog
Kernel params are currently:
maxuprc 597
maxusers 200
npty 200
nstrpty 60
don't see nstrtel.....
how do I know what is good to change and by how much? (let me guess, read the manual...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 08:20 AM
09-05-2006 08:20 AM
Re: cannot allocate pty in syslog
Use SAM to make both npty and nstrpty equal to 500. SAM will properly set the parameters *and* ctreate the needed device files. A reboot will occur as you exit SAM.
Here are explanations of the parameters:
maxuprc 597
maximum number of processes that can be run by the same user (multiple logins count as the same user)
maxusers 200
A phoney parater that is used to size other parameters. It is not a license or a counter to user logins -- it is just a crutch used to set parameters that currently have a formula. Most sysadmins replace the formula with a real number.
npty 200
nstrpty 60
These are the quantity of pseudo terminals that can be logged on. The npty is for the classic pty driver while the nstrpty is the streams-based pty driver. Your (very old) version is caught in the middle of HP-UX migration from classic pty code to streams-based code. Just make them the same. Each login session will use a pty device. The devices are released when a normal logout takes place. Some sessions may be hung due to network or PC crashes and these ptys won't be released. It's always a good idea to have a lot of extras. There's no significant impact for having a lot of ptys.
Bill Hassell, sysadmin