1751968 Members
4776 Online
108783 Solutions
New Discussion юеВ

Re: max ip sessions

 
Ceesjan van Hattum
Esteemed Contributor

max ip sessions

Hi,
Is there some setting to be used to set a max concurrent ip sessions?
If so, where to do?

Thnx in adv.
Ceesjan
7 REPLIES 7
Ceesjan van Hattum
Esteemed Contributor

Re: max ip sessions

Sorry, this posting should not be in databases, but sysadmin.
CJ
Bill McNAMARA_1
Honored Contributor

Re: max ip sessions

Possibly through ndd, although I'm not certain.

Later,
Bill
It works for me (tm)
Ravi_8
Honored Contributor

Re: max ip sessions

Hi,

I am not sure, but i think it is 'telnrts' parameter
never give up
Steve Steel
Honored Contributor

Re: max ip sessions

Hi

i doubt if ndd will do but since i am not clear on how tyhe connections you want are made and what trouble you have.

ndd -h supported


gives

SUPPORTED ndd tunable parameters on HP-UX:

If this is not enough please clarify your problem.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steven Sim Kok Leong
Honored Contributor

Re: max ip sessions

Hi,

You can set the maximum number of outstanding inbound connection requests for all inbound connection requests, be it tcp, udp, icmp, igmp etc.

# ndd -h tcp_conn_request_max

tcp_conn_request_max:

Maximum number of outstanding inbound connection requests.
[1, - ] Default: 20 connections

For telnet sessions, the kernel parameter nstrtel restricts the number of telnet sessions. For ssh, telnet, rlogin etc terminal sessions that require ptys, you can use nstrpty, npty kernel parameters to limit the number of ptys used.

Apart from that, you can only set at the application side (eg. in database init.ora).

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: max ip sessions

Hi,

My mistake. It is only applicable for TCP connections (not for rest of protocols UDP, ICMP etc):

# ndd -h tcp_conn_request_max

tcp_conn_request_max:

Maximum number of outstanding inbound connection requests.
[1, - ] Default: 20 connections

Hope this helps. Regards.

Steven Sim Kok Leong
Bill Hassell
Honored Contributor

Re: max ip sessions

The ndd (or nettune on the old 10.20 systems) refers to low-level connection protocol and not the number of users that can connect using something like telnet. If you are referring to the number of users that can login at the same time, that is controlled by 3 kernel parameters:

npty
nstrpty
nstrtel

(for 10.20, nstrtel does not exist). Change these kernel parameters using SAM (recommended) and make them all the same. The default is 60 so I would change the values to 200 if you expect 100-150 users to login. SAM will also take care of making the required device files. If you change the parameter by hand and do not run insf to create the additional device files, the limit will be the number of device files.


Bill Hassell, sysadmin