1828402 Members
4222 Online
109977 Solutions
New Discussion

tcpip

 
SOLVED
Go to solution
Shivkumar
Super Advisor

tcpip

Dear Sirs,

I am addressing the issue of TIME_WAIT of the hpapache web server on hpux 11.00. I noticed number of TIME_WAIT requests were

more than the total number of ESTABLISHED and LISTEN connections when checked using the command "netstat -an"

I want to change the tcpip config parameter "tcp_conn_request_max".
I am thinking to replace the value 1024 with 4096 in the below line from the /etc/rc.config.d/nddconf file :

TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=tcp_conn_request_max
NDD_VALUE[1]=1024

Do i need to restart the hpapache web server to take the change into effect ?

Secondly, will this change fix the issue ?

Thanks in advance.

Shiv

2 REPLIES 2
Joseph Loo
Honored Contributor
Solution

Re: tcpip

hi,

increasing tcp_conn_request_max to 4096 will increase the TCP listen queue maximum thus getting better performance.

to set:

# ndd -set /dev/tcp_conn_request_max 4096
# ndd -get /dev/tcp_conn_request_max
to view the reset value

to permanently set it (which takes effect after a reboot), add these lines to the end of /etc/rc.config.d/nddconf :

TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=tcp_conn_request_max
NDD_VALUE[1]=1024

u should not need to restart Apache but only reset the above value, but restarting would not harm.

refer to this post as well:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=207158

regards.
what you do not see does not mean you should not believe
Laurent Menase
Honored Contributor

Re: tcpip

Hi
The server socket must be restarted (those in LISTEN state), so I think the apache server must be restarted.