apache_sitedown
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apache_sitedown [2016/03/14 09:21] – luke7858 | apache_sitedown [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Note: I have written a python script to check a system and report back on any potential Out-Of-Memory issues: | ||
| + | <sxh bash> | ||
| + | curl -s https:// | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| == Step 1 == | == Step 1 == | ||
| did apache hit max clients? | did apache hit max clients? | ||
| Line 20: | Line 26: | ||
| egrep -i ' | egrep -i ' | ||
| </ | </ | ||
| + | \\ | ||
| + | Summarise date and times the server ran out of memory (CentOS/ | ||
| + | <sxh bash> | ||
| + | zgrep -i ' | ||
| + | </ | ||
| + | <sxh bash> | ||
| + | zgrep -i ' | ||
| + | </ | ||
| + | Example output: | ||
| + | <sxh bash> | ||
| + | 2 Apr 25 (driveclient) | ||
| + | 1 Apr 27 (driveclient) | ||
| + | 2 Apr 29 (driveclient) | ||
| + | 1 May 12 (driveclient) | ||
| + | 1 May 2 (driveclient) | ||
| + | 1 May 22 (driveclient) | ||
| + | 1 May 5 (driveclient) | ||
| + | 1 May 9 (driveclient) | ||
| + | </ | ||
| + | \\ | ||
| + | Debian/ | ||
| + | <sxh bash> | ||
| + | zgrep -i ' | ||
| + | </ | ||
| + | \\ | ||
| \\ | \\ | ||
| ==Step 3 == | ==Step 3 == | ||
apache_sitedown.1457947311.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
