- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Rlogin connections
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-11-2005 12:55 AM
09-11-2005 12:55 AM
Rlogin connections
We have HP-UX 11i after 60 rlogin connections we cant open other connecions
How can I do to allow more than 60 rlogin connections at the same time.
According to my investigation in this foru, it must be the kernet parameter maxfiles but I don’t In which file it is and what is the impact of its modification
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 01:20 AM
09-11-2005 01:20 AM
Re: Rlogin connections
do:
kmtune | grep npty
It's probably 60. To change it:
kmtune -s npty=100
mk_kernel
shutdown -ry now
REQUIRES BOOT!
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 04:42 AM
09-11-2005 04:42 AM
Re: Rlogin connections
Looks like you have change your nstrpty.
kmtune -q nstrpty (check existing value)
run sam-configurable Parameters-nstrpty..set it to 300 (or any desired value)
reboot.
After reboot..
insf -d pts -s 512 (Build the pts files)
Thanks
Giri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 04:43 AM
09-11-2005 04:43 AM
Re: Rlogin connections
The last step build it to 512 if you set the nstrpty to that value.
Thanks
Giri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 04:50 AM
09-11-2005 04:50 AM
Re: Rlogin connections
http://docs.hp.com/en/939/KCParms/KCparam.NstrPty.html
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 05:30 AM
09-11-2005 05:30 AM
Re: Rlogin connections
You need to build a new kernel with a number of sessions that allows you enough rlogin sessions with a comfortable margin for error.
Alex document is a perfect explanation.
kmtune -s nstrpty 200
kmtune -s npty 200
Or use sam.
Then compile a new kernel, put it into production and boot the box.
Then the problem will go away until you have 200 simultaneous rlogins.
Note that rlogin is not a secure way to handle logins, continue secure shell.
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
09-11-2005 06:15 AM
09-11-2005 06:15 AM
Re: Rlogin connections
nstrpty 60 - 60
nstrtel 60 - 60
Those two need to be bumped up to allow more than 60 simultaneous telnet connections that use pty pseudo terminals.
They need to be pushed up higher than the anticipated number of simultanous users.
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
09-11-2005 08:03 AM
09-11-2005 08:03 AM
Re: Rlogin connections
If I understood well I must modify the nstrpty and npty parameters as follow :
kmtune -s nstrpty 200
kmtune -s npty 200
(For 200 connections for example)
Then I must recompiler the kernel.
Can somebody show me a simple method to recompile the kernel (excuse my ignorance)
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 08:06 AM
09-11-2005 08:06 AM
Re: Rlogin connections
kmtune -s nstrpty=200
kmtune -s nstretl=200
mk_kernel
Then reboot and it should be fine.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 08:08 AM
09-11-2005 08:08 AM
Re: Rlogin connections
After you do "mk_kernel" do:
kmupdate
mk_kernel will build a new kernel and kmupdate will schedule the replacement of the old kernel with a new one on the next boot.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 08:13 AM
09-11-2005 08:13 AM
Re: Rlogin connections
Dont forget to keep a copy of the working kernel , incase of any problem, [ being a safer side.]
# cd /stand/vmunix
# cp vmunix vmunix.ok
# cp system system.ok
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 10:46 PM
09-14-2005 10:46 PM
Re: Rlogin connections
Hi
We had make the following :
>kmtune -s npty=200
>kmtune -s nstrpty=200
>kmtune -s nstretl=200
>mk_kernel
>kmupdate
And we restart the server
We have the new parameters (please, see the attached file) but we still limited by a maximum of 60 rlogin connections.
Can someone help please
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 11:26 PM
09-14-2005 11:26 PM
Re: Rlogin connections
sorry, why don't recompile the kernel by SAM?
- launch
sam ---> Kernel Configuration ---> Configurable Parameters --->
search for nstrpty
select from menu Actions ---> Modify Configurable Parameter
and change the value to 200.
Then follows Ok and reboot.
After boot up launch by root
insf -d pts -s 200
Does it solve your problem?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 11:35 PM
09-14-2005 11:35 PM
Re: Rlogin connections
# kmtune | grep nst with 200 for nstrpty and nstrtel
It is better to do with sam.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 02:04 AM
09-15-2005 02:04 AM
Re: Rlogin connections
I would set all 3 parameters (npty, nstrtel and nstrpty) to 200 using sam and you'll have all you device files and new limits. Otherwise, run insf to install the device files:
insf -e -s 200 -n 200
Bill Hassell, sysadmin