Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Slow WP page loading

Comments

7 comments

  • cPRex Jurassic Moderator

    Hey there!  That Apache status looks great, so it isn't going to point us in any direction.

    You may want to examine the page itself using your browser's developer tools to see if that points to any specific area causing issues.  Details about how to find and use those tools can be found here:

    https://www.debugbear.com/blog/devtools-network

    You could also check the MySQL status on the server with the "mysqladmin proc status" command to see what the database is doing in real-time.

    0
  • Forest

    Hmm, well I am not sure if this tells you anything, but here is the output of "mysqladmin proc status":

    0
  • cPRex Jurassic Moderator

    Thanks for sharing that - that seems like a very busy database server with 270 queries per second. Are you expecting there to be that much action on the machine?

    Did you see anything interesting with the browser dev tools?

    0
  • Forest

    Yes, all the lag time is the long wait(even cached) for the main page to load, once it loads everything is ok:

     

    0
  • cPRex Jurassic Moderator

    I'm honestly not sure what would be causing this as we'd need to do some more testing directly on the machine.  Could you contact your host to see if they can check the server?  If you are a direct licenseholder, feel free to submit a cPanel ticket to us, even though the issue is unlikely related to cPanel.

    0
  • Forest

    Well my client hired someone to look at the server over the weekend and it seems that we had been hitting memory and CPU usage capacity. We are up to 40gb of memory and 8 cores now(about double) with speeds back to the original range of page loading speeds of 1 to 2 seconds.

    They did say that PHP-FPM was a large part of the reason why we were seeing slower speeds, anyway we can optimize the PHP-FPM settings for better performance?

    0
  • cPRex Jurassic Moderator

    It's always hard to say - one person's optimizations will be terrible settings for another, but if there was a paid admin in there I would have expected them to adjust things as necessary for performance.

    We do have some generic information at https://support.cpanel.net/hc/en-us/articles/360036533754-PHP-FPM-Limit-Tuning-Basics-for-Max-Children that will likely be helpful if that is the limit you're hitting.  Details on more advanced customization can be found here: https://support.cpanel.net/hc/en-us/articles/1500000370141-How-to-customize-the-pm-setting-in-PHP-FPM

    0

Please sign in to leave a comment.