Excessive Ajax-Admin.php calls

Posted in: Newsmag
Post count: 22

Hello,

I’m having a serious problem with my host (SiteGround) over excessive ajax-admin.php executions. My site has been shut down twice due to excessive CPU load and I need a solution. Ajax-admin is being called hundreds or thousands of times a day on my news site.

SG Support is convinced the NewsMag theme is to blame and, after a deep analysis (GTMatrix, PingMod, etc.) I am inclined to agree.

The site analyses, in their Waterfall section, would list “POST ajax-admin.php” is the script is being called by a plugin. It’s not listed at all. So it’s not a plugin. And, to confirm, I disabled all but the TagDiv plugins and the calls to ajax-admin did not decrease.

This all points to the theme itself. I need to resolve this issue or find a new theme company.

Site > Bangkokherald.com

Post count: 35449

Hello,
Indeed our theme makes ajax-admin.php call when the page is loaded, on live search and when ajax pagination is used (this is use for the mega menu and the pagination from the blocks).
If you replace the mega menu with a normal menu, these requests should decrease (these are made by each visitor separately) another suggestion will be if you can to remove the live search and use a normal search form.
I hope this will help you!

Post count: 7

I have the same issue with the live search making excessive ajax-admin calls causing problems with our CPU allocation. How do I remove the live search and go back to “normal” wp search?

Post count: 35449

Hi,
This option can be disabled only if you are using the mobile theme plugin – https://i.imgur.com/AxODtgi.png
Thank you!

Post count: 7

Okay, but I do not use the mobile theme. We have a separate app for mobile users. So is the only solution to hide the search with css and look for an alternative plugin to handle search? If so, any recommendation on a plugin? Or how can I get the normal wp search to show?

Post count: 35449

Unfortunately, it is a separate app for mobile, I do not know how to help you, sorry!
It is the mobile theme, and it can be used in the above-mentioned option, and on the responsive theme, it can be connected as a part of the code to prevent the live search.
As for the normal wp search, this can be used only if is implemented in the theme or if you find a plugin for it.
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.