.
.
.git/config2021-03-31 17:08:49
PHP
.git/config, 2021-03-31 17:08:49

Can php-fpm handle more connections than pm.max_children?

pm.max_children=100
The number of processes that the server normally keeps.
Problem: sometimes there are bursts when 120-150 requests can come at a time. Due to the limit of 100 processes, some requests will fall off. But the processing itself is very fast (<0.1 seconds). And to solve the problem with bursts, it is enough to force the add. requests to wait a fraction of a second until the workers are free.
Is it possible to do this with php-fpm or nginx? If you can use haproxy or another solution, that's fine too.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
.
.git/config, 2021-04-01
@Jsty

as a solution
listen.backlog = 1024

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question