- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Initial telnet limit
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
03-07-2006 04:17 AM
03-07-2006 04:17 AM
Initial telnet limit
insf -d pts -s 1000 -e -v
insf -d ptym -n 1000
insf -d pts -s 1000 -e -v
This still didn't work so following a tip from the itrc I then ran
insf -e
Eureka! This worked!
My questions? Why didn't a reboot create the device files? Am I the only one taken unawares by this? Do I really have to run all 4 commands? Should I create an unholy army of the undead and march on HP for vengence?
Opinions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 04:24 AM
03-07-2006 04:24 AM
Re: Initial telnet limit
The kernel imposes further limits.
nstrpty 60 - 60
nstrtel 60 - 60
Raise those two parameters and you will be able to get beyond 60 simultaneous sessions.
SEP
:-(
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 04:24 AM
03-07-2006 04:24 AM
Re: Initial telnet limit
No - normally ioinit will do the insf commands at the reboot.
Check the /etc/rc.log to see if there was an error in ioinit.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 04:27 AM
03-07-2006 04:27 AM
Re: Initial telnet limit
Appears to me he did that....
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 04:33 AM
03-07-2006 04:33 AM
Re: Initial telnet limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 07:31 AM
03-07-2006 07:31 AM
Re: Initial telnet limit
The maximum number of telnet sessions allowed is controlled by the kernel parameter "nstrtel" in conjunction with the "tels" device files. Even though you changed the kernel parameter, you didn't increase "tels" device files thru...
# insf -d tels -s 1000
Infact before and after running insf -e you should have counted the number of existing telnet device files as:
# ls /dev/pts/t* | wc -w
Do a man on tels(7) and telm(7) for details on telnet device files. The npty kernel parameter does not control telnet sessions. It affects ptys used for non-telnet and non-r-commands such as dtterm, hpterm and xterm ptys. See pty(7). The nstrpty kernel parameter controls r-command like rlogin etc. and secure shell pty's called pts. See pts (7) and ptm(7).
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 08:27 AM
03-07-2006 08:27 AM
Re: Initial telnet limit
I did not run the command you suggested.
This suggests a disconnect, or more than one way to skin this cat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 09:45 AM
03-07-2006 09:45 AM
Re: Initial telnet limit
According to your post the following commands didn't work:
> insf -d pts -s 1000 -e -v
> insf -d ptym -n 1000
> insf -d pts -s 1000 -e -v
which doesn't have "insf -d tels -s 1000" command listed in there so I thought that was the problem. However "insf -e" did work which is an all-inclusive command implying that "insf -d tels -s 1000" is a subset of "insf -e". Since the nstrtel parameter was bumped up to 1000, "insf -e" would install the remaining 940 device files in the "/dev/pts" directory. You can verify with the following:
# kmtune -q nstrtel
<...should be 1000>
# ls /dev/pts/t* | wc -w
<...should be 1000>
cheers!