High Memory Usage by php fpm

Hi I did a load test as soon aa 200 user hit a page non cached Memory usage skyrocketed and Crash My sql Im using Nginx Fast CGI cache Using 5$ server on do Can Someone tell me how to fix this?

Show comments

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.

If your site is getting traffic you will have to look at upgrading your server. Compression and Caching only go so far.

You can only fit so many clowns into a car ;-)

When you hit this ceiling you have a few choices. Either toss more logs on the fire and increase the size of the server (vertical scale) or make more fires (horizontal scale)

It would depend on how the lemp stack is configured. How many mysql processes are running? How may php-fpm process as running?

Sorry i forget to mention wordpress although caching plugin can handle 10k user but Nginx fast cgi cache isn’t why?