[torqueusers] many server-client connections in TIME_WAIT

Arnau Bria arnaubria at pic.es
Tue Jun 23 05:40:57 MDT 2009


Hi all,

our server has many connections from clients in TIME_WAIT status:
# netstat -puta|grep pbs|wc -l
1071

[...]
tcp        0      0 pbs02.pic.es:748            td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:736            td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:709            td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:638            td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:918            td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:1016           td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:773            td062.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:924            td060.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:809            td060.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:689            td058.pic.es:pbs_mom        TIME_WAIT   -                   
tcp        0      0 pbs02.pic.es:682            td058.pic.es:pbs_mom        TIME_WAIT   -                   
[...]

If I restart pbs_server, all of them die, but after few second I have
1000 conncetions again.

What could be blocking the socket to be closed?

# rpm -qa|grep torque
torque-client-2.3.0-snap.200801151629.2cri.slc4
torque-server-2.3.0-snap.200801151629.2cri.slc4
torque-2.3.0-snap.200801151629.2cri.slc4


TIA,
Arnau


More information about the torqueusers mailing list