ARCHIVE
LinuxMCE Forums
May 24, 2013, 10:13:10 am 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: mysql cpu usage  (Read 907 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: June 27, 2006, 07:42:55 am »

I've noticed over the past few weeks that when my pluto network is sitting idle, if I run 'top' mysql is constantly at the top of the list consuming 60 - 70% cpu. Any ideas as to what might be causing this?

Cheers,
-Kent
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: June 27, 2006, 12:03:37 pm »

Don't have any ideea yet. You should enable mysql logging when the system goes like that again and create and bug report with the logs attached.

You can enable/disable the mysql logging by uncommenting/commenting this line from /etc/mysql/my.cnf :
Code:
log = /var/log/mysql/mysql.log


Also don't forget to restart mysql after you modify the my.cnf file :
Code:
/etc/init.d/mysql restart
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #2 on: June 27, 2006, 05:02:08 pm »

Hi,

I spot same behaviour. I thought this comes from Media Update, but obviously there's something else going on. But it's hard to solve it (together with other problems) cause development version is far beyond what we have in 0.39....

Regards,

Rob.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #3 on: June 28, 2006, 03:08:51 am »

It does indeed appear to be something to do with the Media Update stuff, as when I stop the UpdateMediaDaemon.sh script, the CPU usage drops back to virtually nothing.

When that script is running I get heaps of "SELECT psc_mod FROM File WHERE Path = '.....' ORDER BY psc_mod DESC LIMIT 1" queries to the database.

Bug report opened:
http://plutohome.com/support/mantis/view.php?id=2488


Cheers,
-Kent
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #4 on: June 28, 2006, 08:35:57 am »

Good work, now we will asign the task to one of our developers and it will be fixed.
Logged
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!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.