connect() to unix:/var/run/php-fpm/php.sock failed

justin nginx-forum at
Tue Oct 16 08:58:27 UTC 2012

I set PHP-FPM to:

    listen.backlog = 256

and restart PHP-FPM. It was slightly (very little) better, but still:

This rush generated 6,114 successful hits in 1.0 min and we transferred
34.39 MB of data in and out of your app. The average hit rate of 98/second
translates to about 8,476,385 hits/day.

The average response time was 229 ms.

You've got bigger problems, though: 10.77% of the users during this rush
experienced timeouts or errors!

Posted at Nginx Forum:,231839,231846#msg-231846

More information about the nginx mailing list