Title: Massive CPU load
Last modified: December 15, 2020

---

# Massive CPU load

 *  Resolved [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/)
 * Hello,
 * when I manually refresh a feed it does likely kill my Webserver (10core, 32gb
   ram)
 * I have 1200 products and the feed for refresh has about 230 product, but same
   for every of my feeds.
 * No fatal errors in log. What I find is when hit refresh the Ajax seems to do 
   a batch of 5? Or 10? Request every x seconds and this spawns all the php rpm 
   workers. Some time before everything was fine.
 * What I have done: deleted some options in wp_options, possible it broke something.
   –
   deleted plug-in and reinstall did not help.
 * Screenshot of Server: [https://postimg.cc/9rGwRRPx](https://postimg.cc/9rGwRRPx)
 * Thanks for any help I tried literally everything and nothing get my feeds fast
   like before.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13794820)
 * Some more info: I think the main problem is that on the manage feed site as soon
   as I press manual refresh, Ajax requests are keep spawning in developer console
   of browser. When I immediately leave manage feeds after pressing refresh and 
   watch cron, the cron batch updates seems working normal. So the Ajax calls whatever
   they do are killing my server and I think that’s also the reason normal batch
   updates aren’t completing then.
 * Server load increasing to 100-200 in 1 5 and 15min display
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13796201)
 * Hi,
 * Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing
   issues with our plugin.
 * Unfortunately we cannot reproduce the issue on any of our testing websites. Are
   you on the latest versions of our plugin/WC and WP?
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13796427)
 * Hello,
 * yes I have all plugins updated to newest version, also I am using the elite version
   of plugin.
 *     ```
       				// Replace status of project to processing
       			        $("table tbody").find('input[name="manage_record"]').each(function(){
       					var hash = this.value;
       					if(hash == project_hash){
       						$(".woo-product-feed-pro-blink_off_"+hash).text(function () {
                                               		$(this).addClass('woo-product-feed-pro-blink_me');
       							var status = $(".woo-product-feed-pro-blink_off_"+hash).text();
       							console.log("Set interval on manual refresh");
       							myInterval = setInterval(woosea_check_perc,5000);
       							if(status == "ready"){
       								return $(this).text().replace("ready", "processing (0%)");
       							} else if (status == "stopped"){
       								return $(this).text().replace("stopped", "processing (0%)");
       							} else if (status == "not run yet"){
       								return $(this).text().replace("not run yet", "processing (0%)");
       							} else {
       								// it should not be coming here at all
       								return $(this).text().replace("ready", "processing (0%)");
       							}
       						});	
       					}
                   			});
       ```
   
 * this is the javascript part doing the request all 5 seconds and spawning hundreds
   of php-fpm worker. What me wonder is that delete plugin and reinstall still there
   are settings in database left. Is it possible doing a 100% clear of the plugin
   and start from scratch? I would do that to not waste your time myself.
 * Also I can offer you a login for further debugging
 * edit: I also found that my main feed is ignoring filters, I deleted them and 
   did new. Still ignoring things.
 * Product Feed Elite Version: 1.7.8
    Product Feed Pro: Not installed.
    -  This reply was modified 5 years, 9 months ago by [kawo83](https://wordpress.org/support/users/kawo83/).
    -  This reply was modified 5 years, 9 months ago by [kawo83](https://wordpress.org/support/users/kawo83/).
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13796773)
 * Hello there, I found a solution to the problem, but I think its a problem need
   to be fixed by developers.
 * The following command changed from 5000ms to 20000ms
    myInterval = setInterval(
   woosea_check_perc,5000);
 * The problem with this interval is, on like 8 product feeds, it spawns 8 ajax 
   post requests each 5 seconds and after some time the server is behind the responses
   due to flood of requests.
 * My question is, why is a request done also for the feeds not clicked manual refresh
   and not only the one feed clicked? This would solve the problem and I could change
   it back to 5000.
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13797609)
 * I am about to give up, there must be something seriously broken in the database
   about the plugin and I need to delete all related stuff from database. Sadly 
   with deactivate and remove the database related stuff does not get deleted.
 * I can’t even change any options now (changing setting is not saved), XML files
   are processing fine until 100% all good, the problem is there is no xml generated
   lol.
 * I have no fatal errors, no cache enabled and read all advises multiple times.
   Seems my 100 bucks are wasted since it really start tilting my experience after
   15 hours+ debugging with nothing helps at all.
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13797725)
 * Hi,
 * Since you are using the paid version of our plugin we are not allowed to help
   you on the public WP forum (according to WP guidelines). Can you please reach
   out via our website? See: [https://adtribes.io/contact-form/](https://adtribes.io/contact-form/)
 * Please also reference this topic in your email. We will take it from there.
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13797743)
 * Hello,
 * thanks I will do. But funny I probably found the solution (I will do some more
   testing or reach you out).
 * It seems all problems caused by the REDIS object cache. I disabled it and for
   now all is working.

Viewing 7 replies - 1 through 7 (of 7 total)

 The topic ‘Massive CPU load’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3601097)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [kawo83](https://wordpress.org/support/users/kawo83/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/massive-cpu-load/#post-13797743)
 * Status: resolved