WordPress Admin Loading Slow & Publishing & Saving Post Too

  • Posted July 13, 2014

I’m running Ubuntu 12.04 and ever since I left my shared hosting and switched to DO the WP Admin has been loading slow and Publishing & Saving post take up to 10 seconds? Anyone know what’s the problem? Our site loads fast though.


Same here, sometimes up to a full minute…

ubuntu 14.04 wp appliance - same problem especially when saving pages and uploading images…

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Try disabling all of the plugins, does it still load slowly?

If not, enable the plugins one by one and see if you can figure out which one is making it load slowly.

If it still does, try enabling MySQL’s slow query log to see what might be causing that: Analyse slow-query-log using mysqldumpslow & pt-query-digest. Make sure you restart the MySQL service after editing /etc/mysql/my.cnf so the changes take effect:

sudo service mysql restart

After enabling it, submit a few posts and browse around the admin panel so that it collects some data, and then post the output of the following commands:

mysqldumpslow /var/log/mysql/mysql-slow.log
mysqldumpslow -a -s r -t 5 /var/log/mysql/mysql-slow.log

Finally, revert the changes you made to /etc/mysql/my.cnf and restart MySQL.