Enormous fail2ban database

My /var/lib/fail2ban directory is 7GB and I’m short on space in my VPS. The oldest entries date to last year. Allegedly Fail2ban version 0.11.x incorporates a dbpurgeage setting but it does not seem to be working. Advise anyone please?

Not directly related, but this may help with your space issue.

~/journal consumes under 1GB. Thanks.

See here, running sudo sqlite3 /var/lib/fail2ban/fail2ban.sqlite3 "VACUUM;" might also give back some space.

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.