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: 98.225.134.147, server: clearcdgcontrol.com, request: “GET /?a=17763&c=29498&s1=advertiseRON&s5=30868234|21352|29498|12097| HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “smartquotefinder.com”, 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?