Skip to content
Snippets Groups Projects
Commit 1689bd18 authored by ale's avatar ale
Browse files

Merge branch 'fpm-status-sock' into 'master'

Use dedicated socket for status

See merge request !7
parents 840d2b8a b3d9183f
No related branches found
No related tags found
1 merge request!7Use dedicated socket for status
Pipeline #92025 passed
......@@ -9,6 +9,7 @@ pm.max_spare_servers = 10
pm.max_requests = 10000
pm.status_path = /status
pm.status_listen = /run/php/php8.2-status.sock
; Redirect worker stdout and stderr into main error log. If not set, stdout and
; stderr will be redirected to /dev/null according to FastCGI specs.
......
#!/bin/sh
. /etc/apache2/envvars
export HOME=/
exec /usr/sbin/php-fpm-exporter server "--phpfpm.scrape-uri=unix:///run/php/php8.2-fpm.sock;/status" --web.listen-address=:$PHP_FPM_EXPORTER_PORT --phpfpm.fix-process-count
exec /usr/sbin/php-fpm-exporter server "--phpfpm.scrape-uri=unix:///run/php/php8.2-status.sock;/status" --web.listen-address=:$PHP_FPM_EXPORTER_PORT --phpfpm.fix-process-count
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment