Re: Tuning Parameter tcp_conn_request_max (505 Views)
Reply
Regular Advisor
Cliff Lim Kok Hwee
Posts: 235
Registered: ‎08-03-2004
Message 1 of 5 (505 Views)
Accepted Solution

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
Honored Contributor
bhavin asokan
Posts: 458
Registered: ‎06-04-2003
Message 2 of 5 (505 Views)

Re: Tuning Parameter tcp_conn_request_max

Regular Advisor
Cliff Lim Kok Hwee
Posts: 235
Registered: ‎08-03-2004
Message 3 of 5 (505 Views)

Re: Tuning Parameter tcp_conn_request_max

Hi Bhavin Asokan,

Thanks for the redirection.

Cheers cliff
Honored Contributor
Sridhar Bhaskarla
Posts: 6,350
Registered: ‎08-15-2001
Message 4 of 5 (505 Views)

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
rick jones
Posts: 3,814
Registered: ‎12-02-1996
Message 5 of 5 (505 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.