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

Collins, Kevin [BEELINE] KCollins at chevron.com
Tue Jan 11 16:36:29 UTC 2011


Port :962 is being connected to... you want to find out what is opening
those connections. You could try using lsof on the source ports instead,
although if you have very short lived processes it might be difficult.

I don't have any RHEL6 with NIS (we use LDAP), so I can't comment on if
it is "normal". I don't think it is behavior I have seen with NIS on
previous versions or RHEL.

Kevin

-----Original Message-----
From: rhelv6-list-bounces at redhat.com
[mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Masopust, Christian
Sent: Tuesday, January 11, 2011 6:45 AM
To: 'rhelv6-list at redhat.com'
Subject: [rhelv6-list] Lots of (thousands) tcp-connections in state
TIME_WAIT on heavy load NFS-server

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

_______________________________________________
rhelv6-list mailing list
rhelv6-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhelv6-list




More information about the rhelv6-list mailing list