Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 26th October 2010, 17:58
ivomendonca ivomendonca is offline
Join Date: Sep 2009
Posts: 132
Thanks: 10
Thanked 14 Times in 8 Posts
Default 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 20:13.
Reply With Quote
The Following 7 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), teslax (6th February 2014), vaio (6th November 2010)
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 16:18
fail2ban is doing nothing? rlischer Server Operation 16 29th June 2010 08:29
Out of memory errors pan69 General 9 13th April 2010 08:10
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
Ispconfig and Virtuemart shajazzi Installation/Configuration 7 21st February 2006 21:25

All times are GMT +2. The time now is 04:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.