Facing server down problem from last 3-4 days. No help/response from digitalocean.

Posted February 18, 2014 4.2k views
Facing server down problem from last 3-4 days. No help/response from digitalocean. I was using a server with 512 MB RAM. It was going down, if real time visitors are more. Upgraded the server to 1GB. Still facing the same problem. It goes down, if more than 30 users are active at a moment. Any help will be appreciated.

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.

Submit an Answer
7 answers
I have the same config but have no issues. Maybe the wrong place to get a quick response.
try reading this:

by Etel Sverdlov
This article covers how to set up a simple load balancer on a DigitalOcean droplet with nginx. The tutorial covers setting up a round robin loadbalancer that can then direct site visitors to one of a set of IPs
I am using apache. 3-4 other websites are also there. But these websites does not have any traffic at all.
Checkout (memory status)
At that time I was having 23 active users.
You may consider adding swap file, at least the server won't goes down immediately.

You app seems very memory intensive, there is nothing to do with limited memory.

The solutions is to optimize your code, bring up a higher memory instance.

Or put a load balancer in front and bring up multiple droplets at the back to spread out the load.
by Etel Sverdlov
Linux swaps allow a system to harness more memory than was originally physically available. Here's how to set up a linux swap file on Ubuntu 12.04
@Tony Tsang

My website is a simple wordpress website.

Added a swap file. I have one doubt. How swapped memory gets freed up?

Contacted DO. they are telling it is because of mysql crash.