Question

Load Average Cant Go Above 1.00 on Nginx

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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