• Resolved evandoc

    (@evandoc)


    Hi

    I am not a developer myself but I am trying to get to the bottom of some issues we are experiencing with the Litespeed cache plugin on our website.

    The site is built on WordPress/ Woocommerce – we have about 25k products so it’s quite a big store.

    There are a few issues:

    1. I noticed there were a lot of products missing from our Woocommerce Google Product Feed. In the error logs we had this error:

    [24-Aug-2022 12:01:55 UTC] PHP Fatal error: Out of memory (allocated 2744705024) (tried to allocate 776230863 bytes) in /home/creativeit/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 475

    Hosting provider said:

    Checking the current Memory allocation for *mydomain.com* using an already existing info.php file, its already set to 8192M as you noted

    This is an extremely dangourous value for PHP variable. Generally speaking, most of the plugins can work on memory_limit of 128M or 256M value. I suggest you adjust this value to a reasonable amount when the issue is resolved.

    I’ve cleared LScache, deactivated and activated it backup, but the same PHP fatal error is still triggering on the given URL wheh LS cache is enabled.

    Would it be possible to reset Litespeed Plugin settings to default from LScache interface? If you need to save the current settings before resetting, it may be possible to export it from LScache plugin interface then go to Toolbox —> Import/Export

    2. We also have a cronjob called Iceimport that updates our products every hour. Litespeed cache is causing this process to run very slow. Even though the process is excluded in the plugin settings. (Excludes)

    Iceimport adds products, images, updates pricing and stock figures as well as adding attributes etc to products.

    3. We still have a lot of speed issues. Even though LS Cache has improved things a bit.

    Are there any experts that could look at our setup and make recommendations?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    1) please try disable object cache , and see how it goes

    2) you can add this code into your wp-config.php

    
      if (strops($_SERVER['REQUEST_URI'], 'xxxx) !== FALSE) {
        define('LSCWP_V', '1');
        }
    }

    where the xxxx is the URL that plugin runs , this will completely disable LSCWP from loading up when WP is started up

    3) please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter evandoc

    (@evandoc)

    Hi

    Thanks for coming back to me

    1) please try disable object cache , and see how it goes

    – Looks like this was already off?

    2) you can add this code into your wp-config.php

    if (strops($_SERVER[‘REQUEST_URI’], ‘xxxx) !== FALSE) {
    define(‘LSCWP_V’, ‘1’);
    }
    }
    where the xxxx is the URL that plugin runs , this will completely disable LSCWP from loading up when WP is started up

    Will pass to developer

    3) please provide the report number, you can get it in toolbox -> report -> click “send to LiteSpeed”

    Report number: FJWGYJIA
    Report date: 08/25/2022 06:23:21

    Do you have an option to log on to our system to configure the plugin correctly for us?

    Thread Starter evandoc

    (@evandoc)

    After disabling the object cache I get this error in the log

    [25-Aug-2022 10:38:51 UTC] PHP Fatal error: Out of memory (allocated 3253374976) (tried to allocate 12288 bytes) in /home/******/public_html/wp-includes/wp-db.php on line 2135

    Plugin Support qtwrk

    (@qtwrk)

    1) /litespeed-cache/src/object-cache.cls.php this file will only become effect when object cache is enabled

    3) would suggest to try the guest mode

    for that memory issue , I am not sure , but looks like WP is trying to load something from database ? does it always happen ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Misc issues with Litespeed cache plugin’ is closed to new replies.