Mysql connections in TIME_WAIT state -
i facing issue in server wherein couple of connections being timed out. below errors in err file:-
130401 8:07:06 [warning] aborted connection 1111111to db: 'abc' user: 'u1' host: '1.1.1.1' (got timeout reading communication packets) 130401 8:10:44 [warning] aborted connection 1712056 db: 'xyz' user: 'u2' host: '2.2.2.2.' (got error reading communication packets)
below config
wait_timeout= 900 max_connections | 500 max_packet_size 256m
while historic max connections has not yet reached more 320, seeing lot of connections in time_wait using command:
netstat -anlp | grep :3306 | grep time_wait -wc; date 299
on application side, client close connection if idle more 600secs.
this means many connections in wait state. @ same time, server not busy. means not in lock state.
can me on this? advance thanks.
sridhar.
Comments
Post a Comment