Skip to content

Variables or at least better defaults for PHP pm.* settings #1982

Closed
@t3easy

Description

@t3easy

The default values for

pm.max_children
pm.start_servers
pm.min_spare_servers
pm.max_spare_servers

are not usable in production in most Nextcloud installations.

In the new docs, there is a part that these settings should be changed depending on the available resources:
https://docs.nextcloud.com/server/26/admin_manual/installation/server_tuning.html#tune-php-fpm

Older docs had some example values:
https://docs.nextcloud.com/server/21/admin_manual/installation/server_tuning.html#tune-php-fpm

If these settings are not changed, the Nextcloud no longer responds when the load increases.

[pool www] server reached pm.max_children setting (5), consider raising it

The docker image should provide better defaults for PHP pm.* settings and environment variables to change them without building the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions