| 1 | = Procedure during Server Crisis = |
| 2 | |
| 3 | Sometimes our servers will stop responding, experience extremely high loads or do other unpredictable behavior. |
| 4 | |
| 5 | Our shared servers now have scripts installed to help analyze and record what is going on so you don't have to remember all the right commands. |
| 6 | |
| 7 | At the moment, these scripts are only installed on our shared servers (malcolm, chavez, mandela, viewsic, etc.). |
| 8 | |
| 9 | If a shared server experiences unpredictable behavior, please do the following: |
| 10 | |
| 11 | * Become root on the machine |
| 12 | {{{ |
| 13 | sudo -i |
| 14 | }}} |
| 15 | * Run the analyze-server script |
| 16 | {{{ |
| 17 | analyze-server |
| 18 | }}} |
| 19 | |
| 20 | The analyze server scripts will generate a lot of files that you can read to help determine what the problems is. In addition, you may want to use the scripts installed in the /usr/local/sbin directory. In particular the suite of check- scripts. They will show which IP addresses are accessing the server and can be useful in determining if single IP is causing a disproportionate amount of trouble. |