I have several servers with a lot of outgoing traffic using nginx. When the bandwidth is exhausted (1Gbit), I have problems connecting to my mysql server from those servers.
The connect always fails with the following message:
mysql conneciton failed with SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading authorization packet',
The bandwidth is exhausted, but I would expect the connection and data transfer just to be slower. But connects fail completely. After several attempts it sometimes works. once connected, it works just fine.
All other services (Ssh, http) are working just fine as well.
What can I do to solve this problem and why does it occur?