By dadaas
Hello, I have a droplet with 2 CPUs and 4Gb RAM, and I have noticed that it is impossible for my droplet to go above 1.00 load average. If I hit 1.00 then the server will crash, and one or more servers will need restart: Php-fpm or nginx.
Can someone explain to me why it cant go above 1.00, do I have multiprocessor system or single core? Or maybe i set something worng?
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!
It isn’t the load average that is causing a system crash, as load averages can be 900+ and the system will still be online, though very slow. Most likely you are running out of RAM which is causing the system to hang. You are probably using more RAM than CPU, so you run out of RAM well before there is a high load on the CPU itself which is why your load average is low but the system hangs.
Try adding swap to your server and see what happens: https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
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.