Quantcast
Channel: Remi Bergsma's blog » processes
Viewing all articles
Browse latest Browse all 2

Loads of sleeping MySQL connections?

$
0
0
Then probably the code is not properly disconnecting the MySQL connection. The time MySQL waits for the next command to be send, can be controlled by the ‘wait_timeout’ parameter. The default is a massive 28800 seconds (8h). Setting this value too low gives ‘MySQl server has gone away’ errors, so be careful. Debugging scripts that [...]

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images