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.

Mysql slow to restart

Discussion in 'Workarounds and Optimization' started by MarceloKonrath, Jul 11, 2015.

  1. MarceloKonrath

    Joined:
    Jun 8, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello

    The restart of MySQL is extremely slow.

    mysql 5.5.42-cll

    I see in .err file
    InnoDB: Reading tablespace information from the .ibd files...


    And the restart is very very very slow.

    Starting MySQL..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

    More than 5 minutes for a restart.

    Any tips to better it?

    Thank you
    Konrath
     
  2. geo_grav

    geo_grav Member

    Joined:
    Mar 4, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Could this be a memory issue, such that processes have been swapped out onto disk. Please let us know the output of the command 'free -m' without the quotes.

    G.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    You may want to let MySQL run for awhile (a day or 2) and then run mysqltuner.pl http://mysqltuner.pl tuning your my.cnf may help quite a bit in this case.
     
Loading...

Share This Page