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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -