; PHP-FPM pool overrides. Logs to stderr, dynamic process manager. ; The pm.* sizing below is a baseline; docker/common/entrypoint.sh rewrites it ; at startup from PHP_FPM_MAX_CHILDREN / PHP_FPM_MAX_REQUESTS so you can tune ; throughput per service without rebuilding. [www] user = www-data group = www-data listen = 127.0.0.1:9000 ; Accept a decent backlog of pending connections before refusing. listen.backlog = 4096 pm = dynamic pm.max_children = 25 pm.start_servers = 6 pm.min_spare_servers = 4 pm.max_spare_servers = 12 pm.max_requests = 1000 pm.process_idle_timeout = 20s ; Kill runaway requests so a slow page can't starve the pool. request_terminate_timeout = 180s rlimit_files = 65535 ; Expose a status endpoint (reachable only inside the container network). pm.status_path = /fpm-status ping.path = /fpm-ping clear_env = no catch_workers_output = yes decorate_workers_output = no access.log = /dev/null