php-fpm_investigation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| php-fpm_investigation [2016/05/16 19:18] – luke7858 | php-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: | ||
| </ | </ | ||
| \\ | \\ | ||
| - | \\ | + | === 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 | ||
| </ | </ | ||
| - | + | \\ | |
| + | === Netstat Check === | ||
| + | <sxh bash> | ||
| + | netstat -pant | awk '/fpm/ {print $5, $6, $7}' | awk -F'[: /]' ' | ||
| + | </ | ||
| + | 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 | ||
| + | </ | ||
| \\ | \\ | ||
php-fpm_investigation.1463426315.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
