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
2 days 11 hours ago
2 days 20 hours ago
2 days 23 hours ago
3 days 19 min ago
3 days 1 hour ago
3 days 3 hours ago
3 days 4 hours ago
3 days 6 hours ago
3 days 22 hours ago
3 days 22 hours ago