By howelljerome
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.