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/20 06:57] luke7858php-fpm_investigation [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 15: Line 15:
 /etc/php-fpm.d/www.conf:pm.max_children = 50 /etc/php-fpm.d/www.conf:pm.max_children = 50
 </sxh> </sxh>
-\\ 
 \\ \\
 === Process Check === === Process Check ===
Line 32: Line 31:
       5 apache S php-fpm: www       5 apache S php-fpm: www
 </sxh> </sxh>
 +\\
 === Netstat Check === === Netstat Check ===
 <sxh bash> <sxh bash>
 netstat -pant | awk '/fpm/ {print $5, $6, $7}' | awk -F'[: /]' '{print $1, $3, $5}' | sort | uniq -c | sort -rn netstat -pant | awk '/fpm/ {print $5, $6, $7}' | awk -F'[: /]' '{print $1, $3, $5}' | sort | uniq -c | sort -rn
 </sxh> </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.1463727452.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