- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Max number of telnet sessions
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
тАО05-31-2009 10:21 PM
тАО05-31-2009 10:21 PM
Our customer is running HP-UX 11i v2 (June 2007) on rx1620 server.
The users are accessing their application from Windows workstations through TCP/IP emulator.
The sessions/processes are allocated to the following device files : /dev/pts/ta to /dev/pts/tz then /dev/pts/TA to /dev/pts/TZ then /dev/pts/t1 to /dev/pts/t8.
So when we reach a max of 60 sessions and when the 61 user is trying to log on the server he is getting "/dev/pts/t9 no such file or directory "
Please advise
Thanks and Regards
Roger
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2009 10:56 PM
тАО05-31-2009 10:56 PM
Re: Max number of telnet sessions
Check the below kernel tunables and you may need to increase as per your requirement
#kctune
npty
nstrpty
nstrtel
The default values for these tunable in v2 is 60
As these tunables are static ,You nee to reboot the server for change to take effect.
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2009 10:56 PM
тАО05-31-2009 10:56 PM
Re: Max number of telnet sessions
What is the value of these kernal paramaer
# kmtune ├в q npty ├в q nstrpty ├в q nstrtel
Increased the value of npty and check ?
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2009 11:08 PM
тАО05-31-2009 11:08 PM
Re: Max number of telnet sessions
The value for the three variables : npty, nstrpty and nstrtel is 120.
Thanks an Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2009 11:39 PM
тАО05-31-2009 11:39 PM
Re: Max number of telnet sessions
npty
This parameter limits the number of pty data structures that can be opened. These are used by network programs like rlogin, telnet, xterm, etc. recommended value of this parameter be set to 512.
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 12:27 AM
тАО06-01-2009 12:27 AM
Re: Max number of telnet sessions
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=12388
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=5253
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 12:27 AM
тАО06-01-2009 12:27 AM
Re: Max number of telnet sessions
I have increased the value of npty to 512 but the number of device files under /dev/pts is the same.
Thanks and Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 12:51 AM
тАО06-01-2009 12:51 AM
Re: Max number of telnet sessions
did you change all three parameters ? Run;
npty
nstrpty
nstrtel
# insf -d tels -s 512 -e
# insf -d pts -s 512 -e
# insf -d pty -n 512 -e
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 12:58 AM
тАО06-01-2009 12:58 AM
Re: Max number of telnet sessions
Dear friend
u have to change other parameters also
please see the above threads how to change it and run the insf -e command once u created.
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 01:47 AM
тАО06-01-2009 01:47 AM
SolutionAfter changing this below value
nstrpty 256
npty 256
nstrtel 60
run these command to create term device file.
# insf -d pts -s 256 -e #< where 256 is the value of nstrpty >
# insf -d pty -n 256 -e #< where 256 is the value of npty >
# insf-d tels -s 60 -e #< where 60 the value of nstrtel >
# ll /dev/pts/[0-9] /dev/pts/[0-9][0-9]
Suraj