Install packages
apt install sysstat iotop -y
iostat
# Output all device IO information
iostat -dxm 2
# Output all device partition information
iostat -dpxm 2
-d: device
-p: partition
-x: detail
-m: use MB unit to display information
2: refresh time
#ZFS
zpool iostat -v 2
watch
watch -n 1 -cdt ls -alh --color
watch -n 1 "cat /proc/sys/fs/file-nr"
lsof -p $(pgrep minio) | wc -l
vim /etc/security/limits.conf
-----
* soft nofile 65535
* hard nofile 65535
root soft nofile 65535
root hard nofile 65535
-----
vim /etc/systemd/system.conf
-----
DefaultLimitNOFILE=65535
DefaultLimitNOFILESoft=65535
-----
vim /usr/lib/systemd/system/minio.service
-----
LimitNOFILE=65535
-----
ulimit -n