Want to subscribe to topics you're interested in?
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 Member

    61
    9
    8
    Aug 6, 2014
    Ratings:
    +12
    Local Time:
    2:57 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

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    4:57 AM
    Nginx-1.26.x
    MariaDB 10.6.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 :)