Send 502 when all php-fpm workers are in use

Maxim Dounin mdounin at mdounin.ru
Mon Jul 7 11:56:31 UTC 2014


Hello!

On Sun, Jul 06, 2014 at 10:14:42PM -0400, justink101 wrote:

> Maxim,
> 
> If I set the php-fpm pool listen.backlog to 0, will this accomplish what I
> want. I.e. fill up workers, once all the workers are used, fail requests.

Note that such a low value will have a downside of not tolerating 
connection spikes, so you may want to actually use something 
slightly bigger.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list