MyNixOS website logo
option

services.nextcloud.poolSettings

Options for nextcloud's PHP pool. See the documentation on php-fpm.conf for details on configuration directives. The above are recommended for a server with 4GiB of RAM.

It's advisable to read the section about PHPFPM tuning in the upstream manual and consider customizing the values.

Declarations
Type
attribute set of (string or signed integer or boolean)
Default
{
  pm = "dynamic";
  "pm.max_children" = "120";
  "pm.max_requests" = "500";
  "pm.max_spare_servers" = "18";
  "pm.min_spare_servers" = "6";
  "pm.start_servers" = "12";
}