Operating System - Tru64 Unix
1748185 Members
4019 Online
108759 Solutions
New Discussion юеВ

TRU64 tcp port connection limitation

 
Saszaly
Advisor

TRU64 tcp port connection limitation

Hi Guys,

Im wondering is there any limit to numbers of connection to tcp port in TRU64?

For example our application is using port 19001, how many connection is allowed to connect to that port number?

From sysconfigtab

ipport_userreserved = 10000

is this the config for the numbers of connection?

Thank you in advance!
5 REPLIES 5
Khairy
Esteemed Contributor

Re: TRU64 tcp port connection limitation

hi,

afaik, maximum connections allowed for a single tcp port is 10. This applicable to TRU64.

I refer from this docs.
http://middleware.its.state.nc.us/middleware/Documentation/html/csqzaf05/csqzaf051b.htm

Most software vendors recommends define more than one port to overcome this limitation.

Rgds
Saszaly
Advisor

Re: TRU64 tcp port connection limitation

i read that before i posted here, anyway i dont think 10 is the max connection allowed

# netstat -an|grep 18560|wc -l
91

this port created by application has more than 10 connections. im still looking for the kernel setting to check.
Khairy
Esteemed Contributor

Re: TRU64 tcp port connection limitation

hi saszaly,

sorry, can't run my alpha now to get the sysconfig parameters list.

Can you check this parameters.

somaxconn

Let me know the value for this. I check from TCPIP manual, you could specify max number connections for sockets via this parameters.

It should be under sys_attrs_socket.

Let me know.

Rgds
Khairy
Esteemed Contributor

Re: TRU64 tcp port connection limitation

hi,

i was kinda rush in last post.

Well, from the manual, its stated max value for this is 1024. It is possible you increase it but no more than 65535.

i've checked, this should applicable with 4.0G and 5.1 and above.

Here is a some info from the TRU64 system config and tuning manual.


6.2.3.1 Increasing the Maximum Number of Pending TCP Connections


The somaxconn attribute specifies the maximum number of pending TCP
connections (the socket listen queue limit) for each server socket (for
example, for the HTTP server socket). Pending TCP connections can be
caused by lost packets in the Internet or denial of service attacks. Busy
Internet servers often experience large numbers of pending connections. If
the listen queue connection limit is too small, incoming connect requests
may be dropped.
The default value is 1024. The recommended value is 65535, which is the
maximum value. Do not specify a value that is higher than the maximum
value because this can cause unpredictable behavior.


PS: Really appreciate if your could assign points if this answer your question.

Thanks!
Saszaly
Advisor

Re: TRU64 tcp port connection limitation

Hi Khairy,

Yeah i have read that part too before, but i was not sure. Anyway thanks for your help