Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

364
Visualizações
Nginx with PHP-FPM reached max_childrent too fastly

I'm not sure why server reached max_children very fast. About 2-5 mins after restart php-fmp My server: 4 vCPU, 8GB Ram

FPM log

[19-Mar-2020 11:01:11] WARNING: [pool www] child 6984, script '/home/forge/example.com/public/index.php' (request: "GET /index.php") execution timed out (72.300251 sec), terminating
[19-Mar-2020 11:01:11] WARNING: [pool www] child 6847, script '/home/forge/example.com/public/index.php' (request: "GET /index.php") execution timed out (60.922255 sec), terminating
[19-Mar-2020 11:01:11] WARNING: [pool www] child 6841, script '/home/forge/example.com/public/index.php' (request: "GET /index.php") execution timed out (78.432021 sec), terminating
[19-Mar-2020 11:01:11] WARNING: [pool www] child 6828, script '/home/forge/example.com/public/index.php' (request: "POST /index.php") execution timed out (71.056632 sec), terminating

FPM conf

pm = dynamic
pm.max_childrent = 120
pm.max_requests = 500
pm.max_spare_servers = 72
pm.min_spare_servers = 24

Nginx conf

location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/run/php/php7.4-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_read_timeout 300;
        fastcgi_buffer_size 4k;
        fastcgi_buffers 32 4k;
    }
over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda