On 4 servers, there is Memcached module (1.0, libmemcached 0.34, memcached 1.2.6), which is bolted to: 1. Nginx + PHP-FPM (5.2.11) 2. Nginx + SpawnFCGI + PHP (5.2.6)
After some time, php stops accepting new connections - in error.log nginx'a falls “connection refused”. When the Memcache module was used, no such problems were observed. Now the problem is solved with a crutch - something like nc -w 2 localhost 9000 ||/etc/init.d/php restart . Has anyone encountered a similar problem? Any ideas how to solve it? Return to memcache, change the YAP, etc. Do not offer.