Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

new server migration - sites slow on MariaDB

Discussion in 'Workarounds and Optimization' started by chrisbuk, May 11, 2015.

  1. chrisbuk

    chrisbuk Well-Known Member
    PartnerNOC

    Joined:
    Dec 7, 2003
    Messages:
    394
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Liverpool, United Kingdom
    cPanel Access Level:
    DataCenter Provider
    HI

    We've performed a server migration this weekend due to diskspace issues on old server.

    Old Server Spec:
    Dell R210
    1 x Intel 4 core 3.0Ghz
    32GB Ram
    2 x 600GB SAS (raid 1) 15,000 rpm
    CloudLinux 6 / MySQL 5.5

    new Server:
    Dell R720
    2 x Intel 6 Core 3.0Ghz
    128GB Ram
    2 x 960GB SSD (raid 1) / partition
    8 x 1TB SATA (raid10) /home partition
    CloudLinux 6 / MariaDB 10

    Both servers have apache 2.4.12 and PHP 5.4.40

    we setup new server and used mysql upgrade option in WHM to upgrade from MySQL to MariaDB.

    We then performed migration and moved IPs. Sites work but seem slower to initially load than before. ie visiting a domain in web browser would take a few seconds before any content is loaded.

    the load seems to be around 6-8 on average on new server, old server load would typically be around 1.


    I've run MySQL Tuner and got these results:

    My my.cnf looks like this:

    and if it helps.. php.ini looks like this:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's a good idea to let MySQL run for at least 24 hours to allow for accurate results. You may want to try running it again after MySQL has been running for 24 hours so users can provide more accurate feedback on potential MySQL configuration changes.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chrisbuk

    chrisbuk Well-Known Member
    PartnerNOC

    Joined:
    Dec 7, 2003
    Messages:
    394
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Liverpool, United Kingdom
    cPanel Access Level:
    DataCenter Provider
    HI

    Todays check:

    the my.cnf file is on my first post.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice