Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 28, 2010 1:44 pm 
Offline
Newbie

Joined: Wed Jul 28, 2010 1:34 pm
Posts: 3
Just started with my first linode, I selected the mercury/pantheon lamp stack script and haven't changed any of the default config settings.

I've added a drupal site and postfix.

I get email alerts that I am using over 100% of cpu

here is top readout: (mysqld_safe holds at 100% all the time)

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19016 root 20 0 1764 44 20 R 100 0.0 2069:34 mysqld_safe
578 root 20 0 2484 1184 884 R 0 0.1 0:01.70 top
1 root 20 0 2536 592 372 S 0 0.0 0:00.62 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:00.05 migration/0

Is that enough info for anyone to help with suggestions on how to reduce my cpu usage?


Top
   
 Post subject:
PostPosted: Mon Aug 23, 2010 3:48 am 
Offline
Senior Newbie

Joined: Wed Aug 18, 2010 1:31 am
Posts: 13
It's been a while since I used MySQL (Thanks Redis!) but mysqld_safe should just be the control script for managing the MySQL daemon, not much to do with the actual running MySQL server itself, I think?

In which case if it's using any meaningful amount of CPU at all it's probably just broken. Try shutting down the MySQL server using init or service or whatever, then just force kill the mysqld_safe and reboot when you're sure it's gone, sounds like it'd be the safest quick, easy fix that might work.

[ Edit: After thinking this couldn't be that rare, a quick Google turns up the interesting issue that this happens quite often... There are all sorts of ways of attempting to get around it, too, by the look of things, but what I've suggested is likely going to be quicker than any of them. Low disk space would probably be the common suggestion that I'd look into next. ]


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group