Hello,
TL;DR: How to set timeout on the mySQL from the wiki?
Longer explanation:
Every now or themy wikimedia stop working, after some hours of debugging I realise that when google starts to crawl my wiki, it's make a storm and there are more then 100 CGI processes that runs without being terminated.
Every process is about 30 MB but so many kllls the ram and when it's happends the CPU raise too.
When I opened the mySql manager I was able to see that most there are also 100+ open conecctions on sleeping state.
I tried to terminated them but it wasn't release the processes on the Wiki server.
Is here a way to control the timeout so the CGI process will be closed after a minute or to to close the mySql connection after a minute?
Is there a way too deeply debug what wxactly goes wrong?