[rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server

Masopust, Christian christian.masopust at siemens.com
Tue Jan 11 14:44:47 UTC 2011


Hi,
 
I've recently installed a new (big) HP ProLiant DL585-G7 with RHEL 6 working as NFS-server.
 
Now I've seen thousands of tcp-connections in TIME_WAIT state. I've already set 
net.ipv4.tcp_fin_timeout = 10, but the number of the connections in TIME_WAIT remains almost
the same (also setting tcp_fin_timeout to 1 doesn't change anything here). 

Checking "netstat -tn" shows: 
 
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
......
tcp        0      0 127.0.0.1:47120             127.0.0.1:962               TIME_WAIT
tcp        0      0 127.0.0.1:689               127.0.0.1:962               TIME_WAIT
tcp        0      0 127.0.0.1:46500             127.0.0.1:962               TIME_WAIT
tcp        0      0 127.0.0.1:46927             127.0.0.1:962               TIME_WAIT
tcp        0      0 127.0.0.1:46694             127.0.0.1:962               TIME_WAIT
.......
 
and lsof for port 962 shows:
 
lsof -i :962
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
ypbind  46372 root    6u  IPv4 444939      0t0  TCP *:962 (LISTEN)

so, is it ypbind that is having that much (short lived) connections???  why??

or what else could be the reason for having that much local connections?

any idea?

thanks a lot,
Christian




More information about the rhelv6-list mailing list