Server Fault is a question and answer site for system and network administrators. 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've seen this discussed in several places on the web, never with a clear answer.

What does mysqld_safe do? What would cause it to go to 100% CPU and stay there? How can I make sure it doesn't happen again?

Is there a way to at least make it run at a lower priority, so it doesn't prevent me from logging in to my server?

Currently I'm having this problem on Ubuntu 8.04, MySQL version is 5.0.51a-3ubuntu5.1.

share|improve this question
up vote 2 down vote accepted

mysqld_safe is a shell script responsible for starting MySQL itself, so if you find it eating 100% of your CPU, I recommend you report a bug to

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.