System Administration
Showing results for 
Search instead for 
Do you mean 

Tuning Parameter tcp_conn_request_max

SOLVED
Go to Solution
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
1 ACCEPTED SOLUTION
Honored Contributor Honored Contributor

Re: Tuning Parameter tcp_conn_request_max

4 REPLIES
Honored Contributor Honored Contributor

Re: Tuning Parameter tcp_conn_request_max

Regular Advisor

Re: Tuning Parameter tcp_conn_request_max

Hi Bhavin Asokan,

Thanks for the redirection.

Cheers cliff
Highlighted
Honored Contributor 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
Honored Contributor 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