max_clients
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| max_clients [2017/01/09 08:16] – luke7858 | max_clients [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| / | / | ||
| \\ | \\ | ||
| - | If no value has been set then chances are the default of 256 is set. | + | If no value has been set then chances are the default of 256 is set. (Tip: run apache2buddy to find out the value if you are having trouble working it out) |
| \\ | \\ | ||
| === CentOS === | === CentOS === | ||
| - | Best command: | + | Best command |
| <sxh bash> | <sxh bash> | ||
| pstree | grep httpd | pstree | grep httpd | ||
| Line 20: | Line 20: | ||
| ps afx | grep httpd | wc | ps afx | grep httpd | wc | ||
| </ | </ | ||
| - | |||
| - | Output shows how many connections apache currently has | ||
| \\ | \\ | ||
| \\ | \\ | ||
| Line 28: | Line 26: | ||
| grep -i maxclients / | grep -i maxclients / | ||
| </ | </ | ||
| + | \\ | ||
| \\ | \\ | ||
| When did apache hit max clients? | When did apache hit max clients? | ||
| Line 34: | Line 33: | ||
| grep -i maxclients / | grep -i maxclients / | ||
| </ | </ | ||
| - | Has it happened before? | + | Has it happened before? |
| <sxh bash> | <sxh bash> | ||
| zgrep -i maxclients / | zgrep -i maxclients / | ||
max_clients.1483949810.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
