From time to time my mysql server will run into a "too many connections" error. I believe part of the problem is large amount of sleep processes that are running, some over 1000 seconds.
When looking into the issue, I saw this and investigated. I checked my timeout values with
show variables like "%timeout";
And both interactive_timeout and wait_timeout are set to 600.
How/Why would these sleep processes be running so long, if they're supposed to stop at 600?
