[www] ; Small footprint: spawn workers only on demand (9 services share 8GB WSL2) pm = ondemand pm.max_children = 8 pm.process_idle_timeout = 20s pm.max_requests = 500 ; Kill a runaway worker at 5 min (matches nginx fastcgi_read_timeout + php ; max_execution_time). 0 (default) never reaps, so a stuck sync would hold a worker. request_terminate_timeout = 300 ; Pass container environment (APP_ENV etc.) through to PHP getenv() clear_env = no ; Forward PHP worker stdout/stderr to the FPM master (which supervisord sends to ; the container's stdout/stderr) so the Yii "/proc/self/fd/2" log target and any ; raw PHP errors surface in `docker logs` and the ELK pipeline. Without this, ; FastCGI discards worker output to /dev/null. decorate=no keeps lines verbatim ; so Logstash's multiline/grok parsing stays intact. catch_workers_output = yes decorate_workers_output = no