1837193 Members
2264 Online
110114 Solutions
New Discussion

Re: tcp_conn_request_max

 
Todd Whitcher
Esteemed Contributor

tcp_conn_request_max

 
5 REPLIES 5
Christopher Caldwell
Honored Contributor

Re: tcp_conn_request_max

>As far as how many Socket Connection you can have on a HPUX system the answer is 65535.

I think you've confused socket and port - there are 65535 ports (1 -> 65535 where 80==http, 25=smtp, etc.).

As you note, a socket is essentially a file descriptor, so the number of sockets is (in part) limited to the number of available file descriptors.

There can [will] be more than one socket per listening port.
Todd Whitcher
Esteemed Contributor

Re: tcp_conn_request_max


Yes thanks for that, ports specification upper limit by IANA is 65535. Sockets are everything in Unix..files etc. System resources will be the factor before the upper port range ;-)




maafa
Advisor

Re: tcp_conn_request_max

Thank you for your lesson Todd.
rick jones
Honored Contributor

Re: tcp_conn_request_max

Todd - I think you may be missing an attribution for the description of tcp_conn_request_max :) It reads almost exactly like my annotated_ndd.txt file from ftp://ftp.cup.hp.com/dist/networking/briefs/

Also, indeed the maximum number of file descriptors per process and/or per system will likely be the first limit.


TCP connections are "named" by the four-tuple of local/remote IP, local/remote port number. IPs (v4 anyway are 32-bits, port numbers are 16 bits. So, if we fix the local IP/port numbers, that means that in theory there can be as many as ~2^32*2^16 TCP connections with that local IP address and port. Now, if only connect to one remote IP address, then the limit becomes simply ~2^16.
there is no rest for the wicked yet the virtuous have no pillows
Todd Whitcher
Esteemed Contributor

Re: tcp_conn_request_max

Hi Rick,

Thanks, That may be were it originated from, I got that from a GSE site & since it was cu. viewable info I posted it in response to a forums questions..I posted it by mistake as a new post instead of a reply :-).

Todd