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!

Mysql slow to restart

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

  1. MarceloKonrath

    MarceloKonrath Active Member

    Joined:
    Jun 8, 2013
    Messages:
    31
    Likes Received:
    2
    Trophy Points:
    8
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,704
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Also, try running "mysqladmin processlist" to see if any databases or tables are using excessive resources.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. TerranceR

    TerranceR Well-Known Member

    Joined:
    Jul 9, 2015
    Messages:
    74
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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

  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