Learn about Centmin Mod LEMP Stack today
Register Now

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

    58
    9
    8
    Aug 6, 2014
    Ratings:
    +12
    Local Time:
    12:02 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,898
    260
    83
    May 31, 2014
    Ratings:
    +463
    Local Time:
    2:02 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