Operating System - HP-UX
1837523 Members
3961 Online
110117 Solutions
New Discussion

Re: what do tcp_conn_request_max main?

 
larryccccc
Occasional Contributor

what do tcp_conn_request_max main?

Hello,
via "ndd -get /dev/tcp tcp_conn_request_max", I got 256, while when I use " netstat -an | grep EST| wc -l", I can got 600. So I was confused that how can I control the max incomming connections. Or how can I get current value of acceptable max_connections.
thanks
4 REPLIES 4
U.SivaKumar_2
Honored Contributor

Re: what do tcp_conn_request_max main?

Hi,
It is the setting of the system listen queue.
quote:
HP-UX 11 tcp_conn_request_max
Short Description: When high connection rates occur, a large backlog of TCP connection requests builds up and client connections are dropped.

When to try this parameter: This setting can significantly help performance when clients start to time out when waiting to connect. This can be verified by issuing the command,
netstat -p tcp

Look for the value
"connect requests dropped due to full queue"


How to see/set: To fix the problem set the tcp_conn_request_max to 1024 as follows:

ndd -set /dev/tcp tcp_conn_request_max 1024


regards,
U.SivaKumar


Innovations are made when conventions are broken
larryccccc
Occasional Contributor

Re: what do tcp_conn_request_max main?

thank you for rapid replies.
I've questions more:
the max connections with clients can be configured or only limited by the server capacity?

U.SivaKumar_2
Honored Contributor

Re: what do tcp_conn_request_max main?

Hi,
you are right. Max connection have to be configured considering the resources of the
server like CPU speed , memory etc.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Sanjay_6
Honored Contributor

Re: what do tcp_conn_request_max main?