The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    393
    Likes Received:
    0
    Trophy Points:
    16
    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:

     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    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.
     
  3. chrisbuk

    chrisbuk Well-Known Member
    PartnerNOC

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

    Todays check:

    the my.cnf file is on my first post.
     
Loading...

Share This Page