Optimize your fail2ban memory use by 90%.
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.
|
Recent comments
1 day 3 hours ago
1 day 10 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 23 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 13 hours ago
2 days 18 hours ago
2 days 18 hours ago