I do have some problems that my node app starts hanging once in a while with the mysql error message "queue limit reached".
I'm getting the mysql connection from a mysql pool. However the server is on low traffic, thus it isn't possible that there isn't any mysql connection available. Also the queue length of mysql pool is set to 200 and the timeout to 500ms, thus this queue limit should never be reached. More likely the connection is to timeout.
mysql connections are closed/returned probably.
As soon as this happens every connection ends with this message, and it seems that the server isn't catching up with this at any time.
Any ideas how to resolve this issue?