PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

High admin.ajax.php load time and high CPU usage

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

Lately we are experiencing a load on our servers with admin.ajax.php. Our server host also stated we getting a high number of Admin-Ajax requests. This is what we got from our server's process manager:

23816 (Trace) (Kill) 0 CPU%: 64.59 Memory% 5.67  /opt/cpanel/ea-php74/root/usr/bin/php-cgi /public_html/wp-admin/admin-ajax.php

I am not sure if is linked to Woocs as the only admin.ajax.php call on our site using Chrome developer tools is from Woocs as shown below in payload:

action:
woocs_get_products_price_html - this is loading at 4.54s speed as well.
Our site information:
we have heartbeat enabled with WPRocket.
Wordpress: 6.0.1
PHP 7.4.3
Woocommerce 6.7.0
If you could kindly get back to us it would be much appreciated.
Thanks
Regards

Hello

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png

Update  the  plugin  to latest  version - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

Yes, the plugin redraws cached prices in Ajax mode. You can  disable  it here - https://share.pluginus.net/image/i20220722084431.png

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png

done

Update  the  plugin  to latest  version - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

done currently v2.3.8

Yes, the plugin redraws cached prices in Ajax mode. You can  disable  it here - https://share.pluginus.net/image/i20220722084431.png

Will currency change still work per normal with cache plugin on, and this disabled?

Hello

Will currency change still work per normal with cache plugin on, and this disabled? - Maybe, you should do a test with your caching plugin.

But the ajax load shouldn't be big, it's only one request for each product page. now we are preparing a new version of the plugin where it will be a bit optimized