Over the last couple of weeks my site (inparkmagazine.com) has been overrun with admin-ajax requests to the point of crashing the site. My host sent me this information to see if you could help.
“We’re still seeing a high amount of admin-ajax requests on the site (72% of the total traffic, which is a lot), and most of them are returning a 400 error code. Since all of these requests are uncached wp-admin requests, they are overloading the server resources.
Many of these requests (from the logs I can’t confirm if it’s all) returning a 400 error code are coming from the td-cloud-library plugin, so I’d recommend reaching out to the plugin developers to find out why it’s making so many calls and why it could be returning a 400.”
Any thoughts?
Hello!
If you don’t use a security plugin, please ask your host about this, maybe you have a security module which blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Also make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
All the requirements for database are made on admin-ajax.php ( all the settings from theme panel, posts, pages, etc.), therefore you can not remove these from your website, if you want you can remove the pagination, from the website, loading more, the search and the number of admin-ajax.php requests will be smaller.
https://forum.tagdiv.com/what-is-ajax-preloading/
Thank you!
Thanks. I got a bit more information from my host today. I have tried the suggestions you made above, but we are still getting a lot of 400 errors.
======
A big majority of those requests seem to be malformed though, and they are getting a 400 response by the server. Many of them are coming from the td-cloud-library plugin as I previously mentioned, so I recommend you to reach out to their support. Here’s an example:
2600:8800:2433:d600:b02d:a719:bf42:3a77 (2600:8800:2433:d600:b02d:a719:bf42:3a77) – – [15/Apr/2021:23:48:33 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.1” 400 11 “http://www.inparkmagazine.com/meow-wolf-omega-mart-opens/?tdb_action=tdb_ajax” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36” kb4ubxzmru
=====
Any ideas? Thanks.
Hi @mp0006,
Please send an email at contact@tagdiv.com and provide wp-admin, so we can investigate more into this issue and also we can see that example. Also paste a link to this topic so we can easily identify you.
Let us know and we will gladly assist you.
Thanks!