nginx php5-fpm droplet 512Mb load optimize

  • Posted August 2, 2013

I have a droplet on 512Mb. Is there a website where the main burden is through api. Site is written in php + redis. Recently, I started getting error 502, 504. Changed the configuration. I would like to find out how my configuration is optimal. In the second comes up to 15 requests to the api. Api used ~ 150 users.

all config:


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Your droplet might be running out of RAM. Try adding some swap so that processes don’t crash.

no, mysql no used. only redis