core 6
memory 142

How many cores does your server have?

To find out how many cores your server has, run the following command:

echo Cores = $(( $(lscpu | awk '/^Socket/{ print $2 }') * $(lscpu | awk '/^Core/{ print $4 }') ))



ps --no-headers -o "rss,cmd" -C php-fpm7.4 | awk '{ sum+=$1 } END { printf ("%d%s\n", sum/NR/1024,"M") }'



    pm.max_children   RAM (10GB) dividido entre la memoria que me de (142)  = 127
    pm.start_servers    4 por la candidad de core (6) = 24
    pm.min_spare_servers
    pm.max_spare_servers
