The solution turns out to be a one-liner on Debian Lenny
append the ulimit command to /etc/default/fail2ban file.
Add (to the file) on last line :
"ulimit -s 256"
Using this sets the default stack size for the Python instances running fail2ban to 256 KB and lowers the memory consumption of fail2ban approximately by a factor of 10.
I had 256mb use -> now less than 20.
Last edited by ivomendonca; 9th November 2010 at 19:13.
The Following 6 Users Say Thank You to ivomendonca For This Useful Post:
drewb0y (3rd November 2010),
edge (26th October 2010),
falko (27th October 2010),
Horfic (3rd November 2010),
Nicram (18th November 2010),
vaio (6th November 2010)
Recent comments
22 hours 17 sec ago
1 day 4 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 18 hours ago
2 days 4 hours ago
2 days 4 hours ago
2 days 8 hours ago
2 days 12 hours ago
2 days 13 hours ago