User Tools

Site Tools


php-fpm_investigation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
php-fpm_investigation [2016/05/16 19:18] luke7858php-fpm_investigation [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +=== Children Check ===
 List the max children configuration for all php-fpm pools: List the max children configuration for all php-fpm pools:
 <sxh bash> <sxh bash>
Line 15: Line 16:
 </sxh> </sxh>
 \\ \\
-\\+=== Process Check ===
 Check the amount of processes running for each php-fpm pool: Check the amount of processes running for each php-fpm pool:
 <sxh bash> <sxh bash>
Line 30: Line 31:
       5 apache S php-fpm: www       5 apache S php-fpm: www
 </sxh> </sxh>
- +\\ 
 +=== Netstat Check === 
 +<sxh bash> 
 +netstat -pant | awk '/fpm/ {print $5, $6, $7}' | awk -F'[: /]' '{print $1, $3, $5}' | sort | uniq -c | sort -rn 
 +</sxh> 
 +Example output: 
 +<sxh bash> 
 +     10 10.x.x.x ESTABLISHED php-fpm 
 +      7 127.0.0.1 ESTABLISHED php-fpm 
 +      6 x.x.x.x SYN_SENT php-fpm 
 +      3 127.0.0.1 CLOSE_WAIT php-fpm 
 +      1 0.0.0.0 LISTEN php-fpm 
 +</sxh>
  
 \\ \\
php-fpm_investigation.1463426315.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki