LinuxMCE Forums
May 21, 2013, 04:20:35 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: mysqld CPU spike issue still around...  (Read 369 times)
JaseP
Addicted
*
Posts: 526



View Profile WWW
« on: August 26, 2012, 01:49:49 am »

I am running and apt-get upgrade on my core and MDs (MDs got done relatively quickly)...

I was trying to shut down unnecessary things sucking up bandwidth or traffic on the whole network when I just happened to run a top on the Core, to see if there was anything hogging up system resources that might possibly slow down the upgrade,... That's when I noticed the CPU pegged near 100% on the mysqld... (turns out it had nothing to do with the slowness,... apparently that's just my connection to the LinuxMCE servers)...

I searched the forums and noticed that this appeared back in the 810 version, ... and that several people had noticed that if you kill mysqld it doesn't hog CPU cycles when it respawns... So I did that, and whataya know... same thing on 1004... a well behaved, respawned mysqld after killing it... (of course it had nothing to do with download efficiency) .

Does anyone know what's causing this??
Logged

See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #1 on: August 26, 2012, 09:08:48 am »

You might want to look at CPU utilization of mysqld for a longer period of time, and see if you can find a pattern.
Logged

hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #2 on: August 26, 2012, 09:18:01 am »

I'd also try to use the log_slow_queries setting in my.cnf
Logged

rock your home - http://www.agocontrol.com home automation
dextaslab
Veteran
***
Posts: 68


View Profile WWW
« Reply #3 on: August 26, 2012, 11:28:52 am »

Possibly try installing mrtg, or collectd to graph cpu usage, that way you'll be able to better determine when it happens and possibly why. What CPU/RAM does the affected system have?
Logged
JaseP
Addicted
*
Posts: 526



View Profile WWW
« Reply #4 on: August 26, 2012, 01:58:08 pm »

The system is an Intel dual core with 4GB RAM...
Logged

See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!