• Resolved Bike Gremlin

    (@bikegremlin)


    After having updated LiteSpeed caching plugin to 4.4 (from 4.3), I started getting 100% CPU load on the server.
    It’s a shared (reseller to be precise) hosting environment – cPanel, LiteSpeed and CloudLinux.

    The website is a test-site, with 0 visitors. The 100% CPU load occurs even when no one is viewing it, or doing anything on the site.

    If I disable LiteSpeed plugin, CPU load drops to zero.
    Same goes for disabling the WCFM – WooCommerce Frontend Manager plugin.

    If I keep them both running – 100% CPU load.

    I’ve tried enabling WP and LS logs – don’t see any errors.
    The same goes for browsing the website with the F12 view.

    LS works wonderfully on all my production websites, it’s the best WP caching plugin in my experience – but I’m not using WCFM on any production website (and I probably won’t, if I don’t figure out how to solve this problem ?? ).

    I’ve got the WP debug logs saved, along with LS logs – if it’s of any help.

    For all I can tell, there seems to be some conflict between the plugins. Asked on the LS support forum first – since it was their plugin update that “started it.” But (this is thinking out loud, I’m no expert) could it (also) be some “nonstandard-incompatible” code in WCFM?

    I’ve never seen anything like this. I’ve had updated crash, cause problems, but this seems to run with no errors displayed/logged, while causing CPU load even with no website visits. I checked for viruses and DDOS first – those were my first suspects. But no – reverting the LS to the old version, or disabling either LS, or WCFM, solves the problem. Really strange.

    Here’s a list of the plugins – huge, but it’s been tested for months and didn’t have any problems until recently (not that I think it’s a good idea for a production site).
    Again, disabling either LS, or WCFM solves the problem (or reverting LS to the 4.3 version).

    Code Snippets
    Customer Email Verification for WooCommerce
    Easy WP SMTP
    Elementor
    Elementor Pro
    Essential Addons for Elementor
    Loco Translate
    Ocean Extra
    reCaptcha by BestWebSoft
    Srpski prevod na latinici
    The SEO Framework
    WCFM – WooCommerce Frontend Manager
    WCFM – WooCommerce Multivendor Marketplace
    WCFM – WooCommerce Multivendor Membership
    WooCommerce
    Wordfence Security
    Yoast Duplicate Post

    Any ideas how to figure out the problem cause? I.e. to figure it out more precisely – I understand I can delete either WCFM, or LS and call it a day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Bike Gremlin

    (@bikegremlin)

    Switching the PHP version from 7.4. to 8.0 seems to have dropped the CPU load below 20%. Though it’s still not zero when the website is completely idle (no visitors whatsoever).

    Is there a set of PHP extensions (modules) that is necessary for the current WCFM version to function properly?

    Thread Starter Bike Gremlin

    (@bikegremlin)

    Seems to be a hosting related problem – for all I can tell.
    Marking this as resolved.

    I.e. cloning the website to another server got it all working perfectly fine on that server. While cloning that clone back to the original site kept making problems with CPU usage.

    Will post info if I figure out the problem cause, in case anyone else runs into a similar problem.`

    • This reply was modified 3 years, 2 months ago by Bike Gremlin.
    Plugin Author WC Lovers

    (@wclovers)

    Thanks for the update.

    Thread Starter Bike Gremlin

    (@bikegremlin)

    Update 2 (if it helps anyone) ??

    The latest LiteSpeed update (4.4.1) seems to have completely solved the problem.
    With the same hosting server setup.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘LiteSpeed 4.4 causes 100% CPU load’ is closed to new replies.