我在一台运行非常频繁的服务器上遇到了一个行为异常的 fail2ban 服务。启动后大约 30 分钟内 CPU 使用率会达到 100%,然后稳定在 0.1%。这让我很害怕,有什么东西导致服务器崩溃,现在我必须迁移。
日志
2011-09-26 09:02:45,921 fail2ban.filter : INFO Added logfile = /var/log/auth.log
2011-09-26 09:02:45,922 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,922 fail2ban.filter : INFO Set maxRetry = 6
2011-09-26 09:02:45,923 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,923 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,924 fail2ban.filter : INFO Set findtime = 600
2011-09-26 09:02:45,924 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,924 fail2ban.actions: INFO Set banTime = 600
2011-09-26 09:02:45,925 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,929 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,933 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,939 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,944 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,951 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:45,959 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,014 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,014 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,015 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,016 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,017 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,017 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,018 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,019 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,019 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:02:46,035 fail2ban.jail : INFO Jail 'ssh' started
2011-09-26 09:02:46,043 fail2ban.server : ERROR Unexpected communication error
2011-09-26 09:13:48,352 fail2ban.actions: WARNING [ssh] Ban 114.135.11.187
意外的通信错误看起来好像它无法与其袜子通信,有人同意吗?
谢谢凯尔
答案1
我同意它看起来好像无法连接到它的插座。
您能解除锁定吗:
2011-09-26 09:02:46,035 fail2ban.jail : INFO Jail 'ssh' started
chroot 可能会干扰其查找所需内容的能力。