Operating System - HP-UX
1753556 Members
5849 Online
108796 Solutions
New Discussion юеВ

Re: Tuning Parameter tcp_conn_request_max

 
SOLVED
Go to solution
Cliff Lim Kok Hwee
Regular Advisor

Tuning Parameter tcp_conn_request_max

Gd Day Forum,

I need to tune the parameter tcp_conn_request_max=2048.

Query: Do I add an entry into the /etc/rc.config.d/nddconf as follows?

TRANSPORT_NAME[0]=tcp
NDD_NAME[0]= tcp_conn_request_max
NDD_VALUE[0]= 2048

And after amending it to the required value when will it take effect?

Thanks/cliff
4 REPLIES 4
bhavin asokan
Honored Contributor
Solution

Re: Tuning Parameter tcp_conn_request_max

Cliff Lim Kok Hwee
Regular Advisor

Re: Tuning Parameter tcp_conn_request_max

Hi Bhavin Asokan,

Thanks for the redirection.

Cheers cliff
Sridhar Bhaskarla
Honored Contributor

Re: Tuning Parameter tcp_conn_request_max

Hi Cliff,

//And after amending it to the required value when will it take effect?//

You will have to run 'ndd -c' to read the configuration from nddconf file. Otherwise, it will come into effect after the next reboot. To verify the value, simply do

ndd -get /dev/tcp tcp_conn_request_max

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
rick jones
Honored Contributor

Re: Tuning Parameter tcp_conn_request_max

The ndd -c suggestion is good, or you can just run

ndd -set /dev/tcp tcp_conn_request_max 2048

as root. The nddconf file will be read on the next boot. The advantage of ndd -c is you will see if there is an error in the file sooner.

I take it you saw connections being dropped due to full queue in the output of netstat -p tcp and that is why you are increasing tcp_conn_request_max?
there is no rest for the wicked yet the virtuous have no pillows