Лечим нагрузку logrotate
Лечим нагрузку
/etc/logrotate.conf
/var/log/auth.log {
missingok
daily
notifempty
compress
rotate 7
size 10M
}
Обнявляем и чистим логи
Stopped fail2ban
Deleted /var/lib/fail2ban/fail2ban.sqlite3
Started fail2ban
With those steps,
sudo fail2ban-client status sshd
logrotate -v -f /etc/logrotate.conf