• Resolved marinow1991

    (@marinow1991)


    https://prnt.sc/anb5za0cGs9t
    https://prnt.sc/anb5za0cGs9t

    Hello,
    I really like your plugin, the options it offers, how I can make my product catalog settings super flexible. But I have one huge problem!
    Because I have about 10 feeds that are updated every 24 hours.
    When the feeds start updating the load on my CPU becomes huge. This is currently happening at 9 o’clock in the morning with us, and indeed at those hours my site has a lot of visitors, and this is not comfortable for them.
    I would like to change the refresh to happen at night around 3/4 AM. Could you tell me which cron you have attached the 24 hour feed update to so I can set when it starts. thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Thanks for using our plugin and reaching out to us.

    When you have set your feeds to a daily refresh the plugin will start updating your feeds around 07:00h local server time. So I am not sure that the CPU loads you are seeing are coming from our plugin as the peaks in your graphs show they happen around 09:00h local time?

    Anyhow, there is no option in the UI of the plugin to change these times. You could change them in the PHP code of the plugin if you really want to however the downside of that is that you would have to make that code-change each time we push out a new release of our plugin. Let us know when this is something you would like to do so we can give you instructions for it.

    Alternatively, what you also could give a try is lowering the default batch size of our plugin from the default 750 products per batch to a much lower number so it uses less server resources. The downside of this is that it takes more time for the plugin to update your feed(s). This is how you can lower the batch size: https://adtribes.io/batch-size-configuration-product-feed/

    Hope this helps?

    Thread Starter marinow1991

    (@marinow1991)

    https://prnt.sc/z7m0BT_BUKrY
    https://prnt.sc/LUsM6N3v_Lxn
    https://prnt.sc/qyfri_jYYdJF

    You can see the picture. I have set the batch to 100 in order to minimize the load that the plugin generates.
    Sometimes there is some confusion with the hours, because my server is not in my country, and they are in a different time zone.
    I’m sure the load is coming from the plugin because I did the following:

    I’ve been following things for 1 week to see what’s happening.

    The server is at a low load, and when the updates of the feeds start at 9 o’clock, the load suddenly jumps and stays like that until they finish.

    -I tried when the load starts to stop the plugin and then the load disappears.

    -I tried when the load starts to start reducing the feeds that are in process (I stop them one by one) and the load decreases with stopping each one of the feeds.

    I also experimented with stopping all other plugins while the feeds were refreshing, but that had very little effect on the CPU..My conclusion is that surely the load is coming from the plugin..The question is how to combat this :).I really like it and wouldn’t want to change it.

    Yes, this plugin eat really much more CPU and Memory.

    Thread Starter marinow1991

    (@marinow1991)

    Yes, unfortunately it is. Otherwise, the plugin offers great functionality and a lot of flexibility, but the developers really need to work on speed optimization

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Big CPU problem’ is closed to new replies.