Report this

What is the reason for this report?

WordPress Admin Loading Slow & Publishing & Saving Post Too

Posted on 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.



This textbox defaults to using Markdown to format your 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.