max_clients
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| max_clients [2015/12/07 09:16] – luke7858 | max_clients [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Quick note: apache 2.4 - Max Clients is now named MaxRequestWorkers | + | **Quick note**: apache 2.4 - Max Clients is now named MaxRequestWorkers |
| + | \\ | ||
| + | You can find the apache values in: | ||
| + | \\ | ||
| + | / | ||
| + | \\ | ||
| + | OR | ||
| + | \\ | ||
| + | / | ||
| + | \\ | ||
| + | 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 9: | Line 20: | ||
| ps afx | grep httpd | wc | ps afx | grep httpd | wc | ||
| </ | </ | ||
| - | |||
| - | Output shows how many connections apache currently has | ||
| \\ | \\ | ||
| \\ | \\ | ||
| Line 17: | Line 26: | ||
| grep -i maxclients / | grep -i maxclients / | ||
| </ | </ | ||
| + | \\ | ||
| \\ | \\ | ||
| When did apache hit max clients? | When did apache hit max clients? | ||
| Line 23: | 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.1449479796.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
