Operating System - HP-UX
1833013 Members
2139 Online
110048 Solutions
New Discussion

How to determine the total number of concurrent login connections an hp unix server can support

 
Yaboto
Super Advisor

How to determine the total number of concurrent login connections an hp unix server can support

Hi,

Please tell me all what I need to do to determine the total number of concurrent login connections my hp unix server can support ?

Regards,
Berenger
8 REPLIES 8
Luk Vandenbussche
Honored Contributor

Re: How to determine the total number of concurrent login connections an hp unix server can support

uname -a => gives unlimited users

But the kernel parameter nstrpty plays a role in how much telnet clients that can connect to the server

http://docs.hp.com/en/939/KCParms/KCparam.NstrPty.html
Aussan
Respected Contributor

Re: How to determine the total number of concurrent login connections an hp unix server can support

Usually it's unlimited, unless you specify or restricted to a specific number, there are also some security software that will limit the number of users allowed to login to the system

do you want to restrict it or is it for info only?
The tongue weighs practically nothing, but so few people can hold it
Yaboto
Super Advisor

Re: How to determine the total number of concurrent login connections an hp unix server can support

Hi,

Thanks for your prompt replies.
Here is my problem:
My HP unix server has been configured with three Oracle Databases instances and three Oracle applications. During peak usage time, no additional user can login to the system. The telnet session keeps on throwing away any additional connection. What I usually do to solve this problem is to restart the whole server and this is not good for a live environment.
Please help. What should I do ?

Regards,
Berenger
Luk Vandenbussche
Honored Contributor

Re: How to determine the total number of concurrent login connections an hp unix server can support

Do have any error on a peak level.

check also syslog.log
Sandman!
Honored Contributor

Re: How to determine the total number of concurrent login connections an hp unix server can support

You may need to increase the nstrtel kernel parameter for the server to allow more telnet sessions. Post the current value of nstrtel and the number of tels device files that are present viz.,

# kmtune -q nstrtel
# ls -1 /dev/pts/t* | wc -l
Patrick Wallek
Honored Contributor

Re: How to determine the total number of concurrent login connections an hp unix server can support

There are three kernel parameters you need to increase: npty, nstrpty & nstrtel.

Increase all 3 parameters, rebuild the kernel and reboot the system.

The value you increase them to is up to you. I would probably double or triple the current value.
A. Clay Stephenson
Acclaimed Contributor

Re: How to determine the total number of concurrent login connections an hp unix server can support

You simply need to increase the npty, nstrpty, and nstrtel values in the kernel. This is one of the few cases where I advocate SAM for kernel tuning because it does all the steps for you (ie, it makes the additional device nodes for you).

Surprisingly, the number of licensed users only limits those users directly attached to the system via serial lines. Users connected via the network don't count for licensing purposes.
If it ain't broke, I can fix that.
Yaboto
Super Advisor

Re: How to determine the total number of concurrent login connections an hp unix server can support

Hi,

Thank you very much for your contributions.
I will try your suggestions tomorrow. I am convinced my problems will be solved.

Regards,
Berenger