Need help from Wordpress experts

Discussion in 'Blogging' started by PixelMathis, Nov 2, 2018.

  1. PixelMathis

    PixelMathis Senior Member

    Joined:
    Jun 10, 2014
    Messages:
    982
    Likes Received:
    321
    Gender:
    Male
    Occupation:
    Mad Methodologist
    A site I want to optimize is having incredibly slow load times due to increased resource usage (warning in cpanel too). Everything else is perfectly optimized cache etc. Never had this happen before even when the traffic was very high.

    Any help appreciated.
     
  2. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    Install P3 ( Plugin ), analyse your website, and share the results here.
     
    • Thanks Thanks x 1
  3. Jeepy

    Jeepy Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2013
    Messages:
    995
    Likes Received:
    575
    Mostly it's because of a corrupted javascript file which is loading simultaneously many times. ANd you maybe have a plugin conflict. I can help you if you need.
     
  4. Red Hat Cop

    Red Hat Cop Junior Member

    Joined:
    Oct 30, 2018
    Messages:
    100
    Likes Received:
    17
    Gender:
    Female
    Location:
    Heaven
    this is time to keep eye and pluck the issue,simply use wp fastest cache and rebuild cache ,if response is same then do some
    turn off all the plugins and check the response if its been ok then means theme is fine if not then check your theme header file may be lot of out resource jquery or some are used.
    seems its ok after turning off plugins then try to turn 1 by 1 plugin and check response
    you will find a plugin which may cause for high load
    further more try to use 3rd party websites for to check website speed like speed test instead of your local browsing
    WP is basically resource suc***r so have to keep strong eye on resource panel
     
    • Thanks Thanks x 1
  5. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    For Caching: W3C is the best one comparing to the others ( will works great if Nginx is installed on the server ).
    Mixed with OPCache or Memcached ( should be well configured ).

    Anyway, anyone can google them and learn more.
     
  6. PixelMathis

    PixelMathis Senior Member

    Joined:
    Jun 10, 2014
    Messages:
    982
    Likes Received:
    321
    Gender:
    Male
    Occupation:
    Mad Methodologist
    already did that. I am fairly experienced with WP but in this case, the server is running a lot of "concurrent processes" that are causing heavy load.
     
  7. Red Hat Cop

    Red Hat Cop Junior Member

    Joined:
    Oct 30, 2018
    Messages:
    100
    Likes Received:
    17
    Gender:
    Female
    Location:
    Heaven
    mostly hosting companies for right now using apache configuration i used w3c as well but i am happy with fastest cache ,i just shared my experience so i recomm to try both for testing
     
  8. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    VPS or dedicated one?
    Also for the disk: SSD or SATA or SAS.
    Also: Raid 0 or Raid 1... ( Hard Raid will be better then soft )
     
  9. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    No sir.
    Most of hosting companies use Apache + Nginx or Apache + Varnish.

    Apache only is a waste of hardware resources
     
  10. PixelMathis

    PixelMathis Senior Member

    Joined:
    Jun 10, 2014
    Messages:
    982
    Likes Received:
    321
    Gender:
    Male
    Occupation:
    Mad Methodologist
    Thanks to all member for replying. Shifted the site to a Vultr server I have. Same results, the "wait time" is horrendous in Pingdom.
     
    • Thanks Thanks x 1
  11. PixelMathis

    PixelMathis Senior Member

    Joined:
    Jun 10, 2014
    Messages:
    982
    Likes Received:
    321
    Gender:
    Male
    Occupation:
    Mad Methodologist
    Vultr VPS
     
  12. Jeepy

    Jeepy Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2013
    Messages:
    995
    Likes Received:
    575
    Cmon man, I told you the reason. There is nothing wrong with your hosting/server. It's theme/plugin fault.
     
  13. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    Vultr is good.
    Use a VPS with at least 2GB of ram.
    Also check your server with "top" and "atop" ( "atop --" for i/o disk ).
    Tyese will helps you detects the problem.

    By the way, I encourage you to install VestaCP ( Free! ) not cPanel.
    And use Apache + Nginx or Apache + PHP FPM.
    And you will see.
     
    • Thanks Thanks x 1
  14. PixelMathis

    PixelMathis Senior Member

    Joined:
    Jun 10, 2014
    Messages:
    982
    Likes Received:
    321
    Gender:
    Male
    Occupation:
    Mad Methodologist
    Totally get that as the issue persists even after switching to a very speedy server. Tried disabling all plugins one by one still nothing. Feel like pulling my hair out at this point. The site also uses a speedy CDN.
     
  15. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    Well. No totally true.
    It may be true until they share with us some reports like from P3 or a screenshot for "atop -d" ( to check i/o disk as it is limited for VPSs and to check SWAP and Cached memory ) from SSH.
     
  16. Jeepy

    Jeepy Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2013
    Messages:
    995
    Likes Received:
    575
    Did you try to make a default wordpress theme active?
     
  17. Jeepy

    Jeepy Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2013
    Messages:
    995
    Likes Received:
    575
    I get that you are an a sysadmin, i'm too, but it's really rare that the server is faulty if there is not a huge traffic.
     
    • Thanks Thanks x 1
  18. domainmafia

    domainmafia Newbie

    Joined:
    Oct 5, 2018
    Messages:
    32
    Likes Received:
    20
    Gender:
    Male
    Are you checking the logs to see what files are being requested? Had some cheeky competitor requesting the xmlrpc.php file loads a while ago, was making the site and server crawl. Check your logs and see if anything suspicious in there.
     
  19. Montaa

    Montaa Registered Member

    Joined:
    Nov 6, 2015
    Messages:
    96
    Likes Received:
    21
    Gender:
    Male
    Occupation:
    Entrepreneur, SysAdmin
    Location:
    Tunisia
    As you know, Vultr VPSs are based on KVM ( Openstack ).
    They usually limit the i/o disk to 1-2MB/S.
    So he may should see what is consuming.
    cPanel has a lot of things running on the backend.
     
  20. PixelMathis

    PixelMathis Senior Member

    Joined:
    Jun 10, 2014
    Messages:
    982
    Likes Received:
    321
    Gender:
    Male
    Occupation:
    Mad Methodologist
    The weird thing is this site had 700-800ms loading speed a few days back. Problems started since yesterday and I didn't even make any changes whatever.