php-fpm status 확인 페이지 설정방법


nginx + php-fpm 환경입니다~



nginx.conf 추가

 

location ~ ^/status$ {

                include fastcgi_params;

                fastcgi_param SCRIPT_FILENAME $document_root${fastcgi_script_name};

                fastcgi_pass 127.0.0.1:9000;

        }

 




php-fpm.conf 추가

pm.status_path = /status

 

 

 



http://웹서버IP/status 접속


php-fpm status 가 아래와 같이 확인됨.



pool:                 www
process manager:      static
start time:           13/Oct/2015:15:26:11 +0900
start since:          48
accepted conn:        146
listen queue:         0
max listen queue:     0
listen queue len:     128
idle processes:       3
active processes:     2
total processes:      5
max active processes: 2
max children reached: 0

'Linux' 카테고리의 다른 글

php session 공유 sharedance 설치  (2) 2015.10.30
centos6 samba 설치  (0) 2015.10.30
apache geoip 설정  (0) 2015.09.30
nagios centos6 install  (0) 2015.09.16
nginx modsecurity install  (2) 2015.09.12
Posted by pysany
,