On 06/22/2015 01:26 PM, Orion Poplawski wrote:
> On 06/20/2015 12:25 PM, Michael Grant wrote:
>> I recently updated from 0.8.x to 0.9.2.  fail2ban-server is now consuming a
>> gig+ of memory in my server.  Before it was tiny fraction of this.  
>>
>> I thought fail2ban just did a sort of complex grep though the tail of the
>> logs.  Why would it need to keep huge amounts of data in memory?  Things are
>> working fine but it's a huge resource hog.  Is there something I can do to
>> reduce it's memory footprint without breaking something?
> 
> What exactly to you mean by "consuming a gig+ or memory"?
> 
> For example, on one of my machines, /proc/PID/status reports:
> 
> VmPeak:  2277900 kB
> VmSize:  2205532 kB
> VmLck:         0 kB
> VmPin:         0 kB
> VmHWM:     79880 kB
> VmRSS:     69712 kB
> VmData:   598436 kB
> VmStk:       136 kB
> VmExe:         4 kB
> VmLib:     11428 kB
> VmPTE:      1952 kB
> VmSwap:    13824 kB

For comparison:

VmPeak:   916900 kB
VmSize:   915856 kB
VmLck:         0 kB
VmHWM:     20660 kB
VmRSS:      8532 kB
VmData:   709800 kB
VmStk:        88 kB
VmExe:      1500 kB
VmLib:      8420 kB
VmPTE:       352 kB
VmSwap:    11876 kB

fail2ban 0.9.2  CentOS 6.6, 8 jails.

[snip]

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to