Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run a PHP/MySQL website on a fairly large server with 16GB RAM and 3 vCPUs.

Everything was flying along until this morning when I noticed MySQL down.

I tried to restart MySQL and first got the too many connections error.

I didn't know why it was showing this, So killed MySQL processes and restarted the database after changing my.cnf to 500 Max connections.

However, MySQL is still very slow even after running optimize.

Any hints about what is happening, or how to troubleshoot this?

share|improve this question
Have you noticed a significant increase in traffic to your website? – Phil Apr 19 '12 at 10:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.