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?
alento
June 20, 2023, 1:58pm
2
Not directly related, but this may help with your space issue.
I run my mailinabox on a small VPS with a 20G disk. The remaining space was getting tight, so I decided to go looking for some space and I discovered that /var/log/journal/ was consuming 1.8G. This was in logs only going back to March of this year which suggests lots of people may be losing a similar amount of storage.
I didn’t need to keep all the journals so I freed-up almost all the space with
journalctl --vacuum-time=10d
which preserves 10 days of journals. An alternative is to preserve b…
~/journal consumes under 1GB. Thanks.
See here , running sudo sqlite3 /var/lib/fail2ban/fail2ban.sqlite3 "VACUUM;"
might also give back some space.
system
Closed
July 31, 2023, 9:22am
5
This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.