services.nextcloud.poolSettings

NixOS option

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.

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";
  "pm.status_path" = "/status";
}
declared in: nixos/modules/services/web-apps/nextcloud.nixView source on NixOS/nixpkgs →