Get the most out of your Centmin Mod LEMP stack
Become a Member

PHP-FPM More php-fpm workers?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Tythus, May 21, 2016.

  1. Tythus

    Tythus Premium Member Premium Member

    56
    9
    8
    Aug 6, 2014
    Ratings:
    +12
    Local Time:
    3:16 AM
    I'm on a dual quadcore atm and php-fpm is only spinning up 6 workers I would like to beable to spin up atleast 8 so I can make sure it will use all the physical cores even if it doesn't use all the threads I have looked in the php conf but nothing particularly sticks out to me
     
  2. pamamolf

    pamamolf Well-Known Member

    2,726
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    5:16 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    running the command fpmconf will edit the file that you want and you will see something like this:

    Code:
    pm.start_servers =
    You can increase it if you want and then restart phpfpm :)
     
    • Informative Informative x 1