0

Can php-fpm pools have NICE values? Each one of my pools run under it's own user and group, like:

[pool1]
user = pool1
group = pool1
...

I've tried to create /etc/security/limits.d/prio.conf with contents:

@pool1  hard  priority  39

But with htop that pool still have she same PRI and NI values than other pools after reboot.

CrazyRabbit
  • 251
  • 3
  • 10

1 Answers1

1

Just use https://www.php.net/manual/install.fpm.configuration.php#worker-process-priority

[pool]
process.priority = 10
CrazyRabbit
  • 251
  • 3
  • 10