系统
Rocky Linux
https://rockylinux.org/download
openSUSE
https://www.opensuse.org/
数据库
MySQL
https://dev.mysql.com/downloads/mysql/
https://rockylinux.org/download
https://www.opensuse.org/
https://dev.mysql.com/downloads/mysql/
For RHEL 6, RHEL 7, RHEL 8, RHEL 9
RAM size | Recommended swap size | Recommended swap size if allowing for hibernation |
From 0 to 2GB | 2 times the RAM size | 3 times the RAM size |
From 2GB to 8GB | The same size of the RAM | 2 times the RAM size |
From 8GB to 64GB | At least 4GB | 1.5 times the RAM size |
From 64GB | At least 4GB | Hibernation is not recommended |
Note: A 100GB swap is recommended if system with over 140 logical processes or over 3TB RAM
https://access.redhat.com/solutions/15244
通过 docker 启动的线程无法被 kill 命令杀掉。如果要取消这个进程,则只能关闭此容器。
# ip -s -h link
# iftop -nN -i eth0
(补充:这里以持续查看名为 eth0 网卡的流量为例)
# startport=33000;endport=34000;for i in $(seq $startport $endport);do nc -lk $i &;done
(Add: Take start port is 33000 and end port is 34000 as an example here)
# for i in $(ps -aux | grep nc | grep '\-lk' | awk '{print $2}');do kill $i; done