Server running EasyEngine keeps crashing

We recently pushed our site live (running EE, WP Multisite, subdomains, FastCGI cache).

And unfortunately, the site has crashed now for several days in a row. The latest error looked like this…

2014/08/14 05:02:34 [error] 11344#0: *75660 upstream prematurely closed connection while reading response header from upstream, client:, server:, request: “GET /?a=17763&c=29498&s1=advertiseRON&s5=30868234|21352|29498|12097| HTTP/1.1”, upstream: “fastcgi://”, host: “”, referrer: “XXXX”

I asked a colleague to check it out, and he said the only problem that he is seeing is that we were running out of RAM. (Our VPS has 1GB RAM). He said the current settings in /etc/PHP5/FPM/pool.d/www.conf looked like this…

pm.max_children = 100
pm.start_servers = 20
pm.min_spare_servers = 10
pm.max_spare_servers = 30
pm.max_requests = 500

He suggested we tune this down quite a bit, saying there is no way our box can handle 100 PHP processes. If it needs this many, then it needs more RAM.

My question is this… is there a minimum RAM requirement for EasyEngine? Is it possible to run on smaller VPS’s like ours?

Currently, I have upgraded our server to 2GB RAM and tuned /etc/PHP5/FPM/pool.d/www.conf like this:

pm.max_children = 16
pm.start_servers = 2
pm.min_spare_servers = 8
pm.max_spare_servers = 12
pm.max_requests = 100

Just found this very helpful guide:

Looks like we were correct in our diagnosis! :slight_smile:

Hi nick1,

Glad to know your issue solved, If having any trouble, let us know.