Question

Website becoming non-responsive

Posted January 3, 2020 359 views
ApacheFAQWordPressDigitalOcean

I have been using the Digital ocean for about a few months now and I am facing an issue. My website got high traffic. Each day, I have around 7.5k + users and 80k+ views. Sometimes at a single moment, I have around 180+ users according to google analytics and that is when I face my issue.

My website just shuts down. It becomes non-responsive and even when the traffic falls down to 100 users at a moment, the server stays non-responsive until I reboot it.

The only graph/value that rise is disk i/o when it happens everything else stays stable.

I am not sure what is causing this issue, I used cloudflare to solve this issue, but it did complete opposite and broke my website, i.e my website page load time exceeded 40 seconds, so I turned it off.

The website is hosted on wordpress and I have seen people have similar nature website working flawlessly with cloudflare and digital ocean.

Any help would be appreciated.

Thanks.

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.

×
2 answers

There are a million reasons this could happen, running out of resources is just one of them, configuration of the OS, PHP, WP, MySql, Apache, etc… all could be issues.

First thing to do is track down what errors you’re finding in your web logs.

Another important thing to understand: Monitoring is like taking a picture of the state of something very specific every 5-60 minutes. Your site can be unresponsive in 10 seconds and back to responsive in another 10. Monitoring may completely miss your problem because it is not configured to debug or troubleshoot performance, but instead understand capacity usage over time.

Chances are you’re trying to use the smallest possible droplet size and you’re swapping out to disk or running out of memory at peaks and things stop responding.

Watch out for bots, Google analytics does not record bots traffic, What I do is monitor the server logs, I see bots request. even if google does not show any active user.

Submit an Answer