By bn520995
I am getting outrageously bad server response times and page load times on a digital ocean WordPress image installation. I have used this many times in the past without any issue. My load times are between 5 seconds to 60 seconds averaging around 10 seconds. Similar setups I’ve been getting <2 seconds in almost all cases. The first packet/first byte often shows >3 seconds.
There is absolutely nothing to explain this.
Server load is 0.00 - 0.10 There is plenty of free memory There is plenty of free swap file space CPU is mostly idle There are no errors or warnings in the mysql error or the apache error log There is nothing abnormal in the apache access log
What can possibly be causing such terrible performance?
Waterfall tests show that most resources are loaded with pretty poor times but 2 or 3 static resources like images or javascript files take 5 seconds, 10 seconds or even more to load. (maybe 50kb or 100kb per file).
How can I diagnose the problem?
Thanks.
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!
I have been getting “Reduce server response time” issues with the Pagespeed Insights tool.
To test whether it is due to some slow PHP script or Wordpress or hosting issue, I duplicated my website at Digitalocean and pasted it in Google Cloud - Google Compute Engine instance.
Problem solved! In Google Cloud I’m able to get faster server response times and pass the Pagespeed test with flying colors even with the smallest VPS in gcloud.
So it’s not due to PHP or Wordpress. Digitalocean server has server response time issues. The difference was between 300ms and 1s.
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.