hi guys,
I am facing some problem with my network. actually netstat -tan command showing huge TIME_WAIT connection for apache port 80.
I am new in linux. Can anyone tell the solution for this? I searched lot on this but not found appropriate solution.
thanks; Suraj
On Thu, Jun 23, 2011 at 1:07 PM, suraj nayak nayaksuraj@yahoo.com wrote:
TIME_WAIT
I think this link will help http://www.unixguide.net/network/socketfaq/2.7.shtml
Regards Surya
hi guys,
I am new in linux. Can anyone tell the solution for this? I searched lot on this but not found appropriate solution.
Suraj,
You can tune your kernel to release the connection faster. Default is 60 seconds you can change it by following ways.
sysctl -w net.ipv4.tcp_fin_timeout = 30
or
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
Check if this resolves your problem if yes. You can make changes to your sysctl.conf to make it survive the reboots.
Hope this helps.
Regards,
Mohan