My (shared) web host recently sent me this:
“Our server monitoring systems keep indicating high server load persistently maintained by your website (…). Most of the hits are to the
/www/www/wp-admin/admin-ajax.php
script. We would advise the following:Do not stay logged into the WordPress dashboard through the day. Once you finish your work, you should log out. If you stay logged in and keep the browser window open, WordPress will keep generating hits to
admin-ajax.php
. …”
When I asked them about this script, they replied:
“WordPress calls this script to auto save your posts, and some other features of the dashboard. Any stats collection plugins can also contribute to the CPU usage of the script.”
What do you think? Is this likely stats collection? Or why is it consuming so much memory? I’ve had other WP installs, including on this host, where I stayed logged in throughout the day. It’s not like I have the dashboard or even my browser open all the time, either!