Page 1 of 1

mysql hogs cpu

Posted: Mon Nov 19, 2012 6:14 pm
by Carrier82
Hi

I have a four camera Atom D2700 server running ubuntu 12.01 and zm 1.25. I have a couple of hundred events and now the server has turned almost completely unresponsive. I suspect the reason is that the mysqld process hogs all the processing power of one core (according to top). Google hasn't been helpful, any ideas on troubleshooting? I did check all tables, all ok. Did try restarting the mysql server but nothing, cpu use climbs instantly. It used to work ... :(

Re: mysql hogs cpu

Posted: Tue Nov 20, 2012 6:29 am
by Flasheart
Running out of memory?

Try running htop, free and iotop to try and find where the bottleneck lies. Any general performance guide will help you.