Skip to main content

All MySQL-Based Sites Slow on Server

Comments

5 comments

  • 24x7server
    Hello, May be there is a XMLRPC.php attack on your one of the domain. Please try to add following code in your domain .htaccess file and check it
    # BEGIN protect xmlrpc.php order allow,deny deny from all # END protect xmlrpc.php
    Also regarding the mysql, I will suggest you please try to run mysqltuner scripts on your server.
    0
  • wcs2
    Thanks. I'll give that a try now.
    0
  • wcs2
    This was successful, and then something went wrong (and it's probably my fault). As soon as I added the protection code for XLMRPC, everything sped up. I ran mysqltuner and things were better still. It recommended I optimize the tables, which I did and then everything slowed back down again. I'm banging my head against the wall because the first two steps really did the trick. Restarting MyQL and rebooting the server have not helped the speed get back to where it was. Should I wait 24 hours and run mysqltuner again?
    0
  • cPanelMichael
    Should I wait 24 hours and run mysqltuner again?

    Hello :) Yes, this is a good idea. Often times you need to run the tuner a few times after making adjustments if the initial changes don't improve performance over an extended time period. Thank you.
    0
  • wcs2
    Thanks again. I really appreciate it.
    0

Please sign in to leave a comment.