PHp fpm 100%

Hello i have a server on debian 9 with nginx and php 8.0 fpm
The specs of the server :
64 go of ram
i7 6700k

But when i start nginx my cpu reach 100%
In my php config file :

pm = ondemand

; The number of child processes to be created when pm is set to ‹ static › and the
; maximum number of child processes when pm is set to ‹ dynamic › or ‹ ondemand ›.
; This value sets the limit on the number of simultaneous requests that will be
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
; CGI. The below defaults are based on a server without much resources. Don’t
; forget to tweak pm.* to fit your needs.
; Note: Used when pm is set to ‹ static ›, ‹ dynamic › or ‹ ondemand ›
; Note: This value is mandatory.
pm.max_children = 400000

Sur ce forum, il vaut mieux écrire en français si tu veux avoir des réponses :wink:

Ouch ! :exploding_head:
Pas étonnant que le CPU soit à 100%.
C’est quoi cette valeur délirante ? Où sont les autres directives obligatoires avec les processus à la demande ?

«10 ou9 pour être prudent»