Jump to content

Recommended Posts

Ive set up my new VPS and mysqld is using 60% - 90% cpu and 6% memory per process (6-8 processors). Im not running any databases yet, so its currently not being used

 

Heres the PID thats causing the issue

 

/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/site.com.err --pid-file=/var/lib/mysql/site.com.pid

 

Link to comment
https://forums.phpfreaks.com/topic/245322-mysqld/
Share on other sites

Why is it using so many resources. I killed the proccess but it keeps returning, ive restarted mysql server, check /etc/my.cnf for errors, still no luck

 

I assuming --log-error=/var/lib/mysql/site.com.err is writing to a log and the PID's are lasting for 74Hours+ . Ive checked the site.com.err log and it doesnt have any errors

 

So whats causing mysqld to use so many resources?

Link to comment
https://forums.phpfreaks.com/topic/245322-mysqld/#findComment-1260039
Share on other sites

I took basedir away from /etc/my.cnf because mysql couldnt restart with it, but the PID has --basedir=/

 

Im running the latest version

 

root@blue [~]#  mysql --version

mysql  Ver 14.14 Distrib 5.1.56, for pc-linux-gnu (i686) using readline 5.1

 

Link to comment
https://forums.phpfreaks.com/topic/245322-mysqld/#findComment-1260674
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.