[BlueOnyx:24381] Fail2Ban eating resources

Colin Jack colin at mainline.co.uk
Fri Oct 9 04:14:32 -05 2020


Good morning all.

I have just replaced DFix2 with Fail2Ban on an old 5208R CT and it seems to be slowing everything down :-/

Cpu(s): 20.9%us,  4.6%sy,  0.0%ni, 74.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  12582912k total,  2678548k used,  9904364k free,        0k buffers
Swap:  4194304k total,    21876k used,  4172428k free,   625856k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 8674 mysql     20   0  864m  27m 4332 S 289.6  0.2   4:05.19 mysqld
 1200 root      20   0 1283m  10m 2588 S 120.3  0.1  11:50.83 fail2ban-server

The server is being hammered by spammers and dfix2 didn't seem to be doing the job but now it is very laggy with fail2ban installed.
Also got APF installed obviously.

Any thoughts?

Thanks

Colin




More information about the Blueonyx mailing list