fail2ban excessive write amplification of sqlite

Bug #1706085 reported by JorSol
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
fail2ban (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I use Ubuntu 16.04 LTS on a mail server with many users and configured fail2ban to reject spammers and attackers.

When the server is under load fail2ban has high cpu usage, but most notably a high write to disk.

This inherently slows the system and put high stress to disks, trying to find the cause I found this mailing list thread: https://sourceforge.net/p/fail2ban/mailman/message/35961119/ on which SSD suffers the pain of this write amplification caused by sqlite database, this is a major trouble for SSD, but any system is hit by the performance degradation.

The fix can be found on https://github.com/fail2ban/fail2ban/pull/1436/files and since Ubuntu 16.04 will be supported until 2021, this should be back-ported.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fail2ban (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.