Skip to main content

Please help me to optimize mysql (my.cnf)

Comments

2 comments

  • cPanelMichael
    [quote="touringxx, post: 1693341">weekends have increased visits and the server restarts for excessive CPU usage.
    Hello :) I just wanted to note that if your server is restarting for excessive CPU usage, then you may have a more serious problem. How high is the load reaching? What do you notice in /var/log/dmesg when the server restarts? Thank you.
    0
  • touringxx
    Hello, thanks for your answer, again a few hours ago was reset automatically. This is the current state of the server: Current Time: Thursday, 24-Jul-2014 11:54:02 UYT Restart Time: Thursday, 24-Jul-2014 00:27:11 UYT Parent Server Generation: 6 Server uptime: 11 hours 26 minutes 51 seconds Total accesses: 126290 - Total Traffic: 399.4 MB CPU Usage: u.32 s.7 cu91.06 cs0 - .223% CPU load 3.06 requests/sec - 9.9 kB/second - 3316 B/request 4 requests currently being processed, 9 idle workers Daily Process Log You have 4 CPUs; therefore, these CPU percentages are divided by 4 to indicate the true percentage of all CPU power used. User Domain % CPU % MEM MySQL Processes myuseer mydomain.com 5.83 1.78 0.5 root 0.45 4.75 2.0 mysql 0.21 1.90 0.0 User Domain % CPU Process Top Processes mysuer mydomain.com 95.6 /usr/bin/php /home/myuser/public_html/index.php myuser mydomain.com 92.0 /usr/bin/php /home/mysuer/public_html/index.php Try to see the output of dmesg with: "dmesg | less" and appears to be empty I only see these symbols (~) How can I fix this?, What adjustments can I do in the my.cnf file? Thanks in advanced.
    0

Please sign in to leave a comment.