• Hi,

    We are using the free version of this plugin as a test before purchasing a full license as we need one of the full version features, however, upon testing, the plugin kills the loading speed of the site entirely (on any page that the plugin is being used), so much so, we had to disable the plugin. It also causes sporadic 500 errors. When the plugin is disabled, the site loads is fine again and loading speeds go back to normal.

    On further investigation, we noticed the following errors occur that are related to the YITH plugin when enabled:

    2021/05/09 21:21:45 [error] 100671#100671: *1447519 FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 10489856 bytes) in /www/directwigs_555/public/wp-includes/functions.php on line 599” while reading response header from upstream, client: , server: directwigs.com, request: “GET /product-category/brand/nj-creation-paris?yith_wcan=1&product_cat=nj-creation-paris%2Cellen-wille&query_type_nape-cm=and&filter_nape-cm=16-0 HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.3-fpm-directwigs.sock:”, host: “directwigs.com”

    This indicates that the plugin is making the site exceed the 512MB PHP memory limit when this plugin enabled. 512MB is a very generous PHP memory limit, it’s extremely rare that we should ever need to increase this on such a small, low traffic site. The plugin using so much memory resources suggests there is something wrong and the fix shouldn’t be to simply increase the memory limit.

    With that said, we did try to increase the memory limit to 1024MB and the problem still occurred. We do not want to and shouldn’t need to increase our memory limit past 256MB. The plugin needs to be optimised for memory usage.

    Please advise.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Giuseppe Madaudo

    (@askmagic)

    Hi there,
    is there a link where i can see the activated plugin?
    how many presets have you created? Do you have large numbers of products, categories, attributes?
    Could you give me some clues? This behavior is not normal.

    Thread Starter ianhooper1984

    (@ianhooper1984)

    Hi,

    We can’t really activate the plugin as it kills the site.

    We have created 5 presents. Approx 1000 products with many more variations. Not many categories, about 30. We have only 1 attribute for colour, but there are thousands of colour options.

    The best we can do is activate the plugin for a short period for you to diagnose.

    Plugin Support Giuseppe Madaudo

    (@askmagic)

    Hi there,
    so you have a filter with 1000 colors in the sidebar? or I’m misunderstanding? how did you configure these colors? I believe that this is the center of the matter.
    Let me know.

    Thread Starter ianhooper1984

    (@ianhooper1984)

    Sorry, I have been away for the past couple of days. For the colours, we use tags because there are too many. Each brand and range has its own colour unique colour name, so instead, we generalise using tags. For example, Reds, Browns etc.

    The issue is not the number of colours. I have activated the plugin again so you can review it. You will see that all shop pages that have the plugin enabled are very slow and sometimes time out. But pages that don’t use it are really fast.

    Here is a page with it on – very slow: https://directwigs.com/product-category/brand/trendco/platinum/

    Here is a page it is not on – much faster: https://directwigs.com/contact/

    Please advise.

    Plugin Support Andrea Grillo

    (@agengineering)

    Hi there,

    I have tested it and works fine, I think the page is very fast when I try to filter.

    Could you record a video for me, please?

    I make some test and I have recorded my screen, you can look the video here. Like you can see works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Memory Limit’ is closed to new replies.