Last active
June 20, 2017 10:32
-
-
Save jaderabbit/e57f9685102aa47d17b07c420c43f036 to your computer and use it in GitHub Desktop.
Hein & Derik Server wisdom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo netstat -lpn | |
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04 | |
Something like | |
swapoff -a | |
fallocate 4G /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
Run `iostat` | |
It shows you the io it is using. If the source is swap then we have a problem, else it is fine | |
Look at load averages in top to see how processors are being used and how many are waiting for processing | |
Look at CPU processing and CPU credits, make sure it's max usage, not average. | |
iotop | |
systemctl edit nameofservice.service | |
RestartSec / RestartUSec - Modify if service takes long to let go of a port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment