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/04/29 10:52] – 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 23: | Line 29: | ||
Summarise date and times the server ran out of memory (CentOS/ | Summarise date and times the server ran out of memory (CentOS/ | ||
<sxh bash> | <sxh bash> | ||
- | zgrep -i ' | + | 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 == | ||
Check to see if the website received traffic during the period of 'down time' | Check to see if the website received traffic during the period of 'down time' |
apache_sitedown.1461927138.txt.gz · Last modified: 2024/05/23 07:26 (external edit)