Report this

What is the reason for this report?

nginx php5-fpm droplet 512Mb load optimize

Posted on 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: http://pastebin.com/SGuceqUw



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!

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.

no, mysql no used. only redis

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.