Tweaking FPM config You may also need to tweak PHP-FPM config to match new sysctl.conf settings. Open PHP-FPM pool config file: vim /etc/php5/fpm/pool.d/www.conf Look for line: ;listen.backlog = 128 Change it to: listen.backlog = 65536 Restart php5-fpm service. service php5-fpm restart Additionally, make sure that operating system limit allows for above value. Run: sysctl net.core.somaxconn Should