• Resolved SLV

    (@dwnl)


    Hello,

    I have a big problem which I and the hostingcompagnie can’t fix.
    Can you be so kind to help/advise?

    The problem:
    We run a Woocommerce webshop.
    We got the 503-507-508 errors al lot on Monday and Tuesday.
    The hosting company says that there a processes that ask to much of their servers and that they keep going on and do not stop, they restart after killing them manually, they overload the side.
    In the ‘resource usage details’ panel (https://ibb.co/m9038Kg), it looks like it started on Wednesday the 9th of October, but we had no problems until Friday the 28th of October.
    I have installed Putty and see the following:
    There are processes using 99+% of the CPU. (https://ibb.co/FsVPcGx) They run for hours/days. When we kill them with Putty they will just restart again.

    Turns out it is the YITH WooCommerce Ajax Product Filter plugin that’s causing this…
    When I deactivate the plugin and kill the loopings in Putty they stay gone.
    So I do not know what to do next… i want to use your free plugin.

    Could you be so kind to help/advise?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    did you check the error log? Have you seen if you are reporting errors, so it is difficult to understand what is happening on your site.

    Thread Starter SLV

    (@dwnl)

    Hello,
    Yes we checked, but found nothing there.
    I have deactivated the plugin and the site works fine. So I deleted it and installed another. Thanks for your reply

    Plugin Author YITHEMES

    (@yithemes)

    Hi there,

    I’m sorry about that. If in a future you have more details about that we are happy to help you.

    Thanks!

    Same issue here, very annoying !!!

    The error occurs when multiple select filters are present, and the user selects a second option from a filter.
    There seems to be an infinite loop in yith-woocommerce-ajax-product-filter-premium/widgets/class.yith-wcan-navigation-widget.php at line 235.

    I think I got it working by changing line 236 to the following:
    $key = array_search( $term->slug, $data['terms'] );

    • This reply was modified 4 years, 11 months ago by lewebsimple.
    • This reply was modified 4 years, 11 months ago by lewebsimple.
    Thread Starter SLV

    (@dwnl)

    lewebsimple, great it works for you.
    I have switched to another plugin.

    Plugin Author YITHEMES

    (@yithemes)

    Hi there,

    thanks for this suggestion, I’ll send you solution to our developers.
    Have a nice day

    YITH

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘99+% of the CPU because of restarting processes’ is closed to new replies.