uncached admin ajax requests – URGENT

Posted in: Newspaper
Post count: 44

Hi there,

We have a heavy traffic website and over the past plus week, our website has been failing and getting a 504 error. We had our server techs review it to see where the issue is and they’re saying the problem appears to be coming from

wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php

Here are some of the messages they sent me:

I’m seeing lots of uncached admin ajax requests throwing the action “[action] => td_ajax_update_views” coming from this plugin:

wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php

129:add_action(‘wp_ajax_nopriv_td_ajax_update_views’, array(‘td_ajax’, ‘on_ajax_update_views’));
130:add_action(‘wp_ajax_td_ajax_update_views’, array(‘td_ajax’, ‘on_ajax_update_views’));

Whatever that plugin is doing is hitting Apache directly without being cached and in mass.

The other message they said:

You got it, at the very minimum, have them troubleshoot why the following function:

wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php

Is throwing out all the admin ajax requests “td_ajax_update_views” in an uncached manner

Any help is greatly appreciated – even if we have to disable something in the meantime.

Thank you

Post count: 35449

Hi,

504 Gateway Time-out is a problem from the server -> https://support.cloudflare.com/hc/en-us/articles/115003011431#502504error

Please make sure that you are using the latest version, Newspaper 10.3 also please check the theme requirements to be st as in our guide from here -> https://forum.tagdiv.com/requirements-for-newspaper/

In order to reduce the admin-ajax.php please check those articles -> https://www.hostinger.com/tutorials/how-to-fix-admin-ajax-file -> https://www.cloudways.com/blog/reduce-admin-ajax-php-related-server-load-wordpress/ -> https://medium.com/visualmodo/how-to-reduce-admin-ajax-server-load-in-wordpress-5ba49a5a3185

Hope this will help you!
Thank you!

Post count: 44

Thank you for that info and help.

We talked to the server guys and they’re certain the issue is coming from TD_composer – they’re sating the plugin is overloading the apache container on the server.

We have the latest version of the theme installed and our settings as per the document.

This problem started just over a week ago… around the time of your last update – perhaps a broken plugin?

Our website is very traffic-heavy and could there be a chance we are seeing it more than others?

We added Heartbeat Control but had no luck there – will read your other article suggestions too.

Thanks!

Post count: 35449

Hi,

If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look. Include a link to this topic in the email.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.