I think you're confusing the output. With ps -aux the 5th column is virtual memory size and the 6th is real memory. Here's my output after I restarted yesterday with ulimit -s 256
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 16045 10.8 0.3 2002252 25488 ? Ssl Oct15 126:46 /bin/python /usr/bin/fail2ban-server -xf start On Mon, 15 Oct 2018 at 23:30, r fancher <[email protected]> wrote: > Correct, I am running ps -aux to get you that output, additionally I can > see using webmin what the real memory is being used and fail2ban is at the > top of the list. > > > ------------------------------ > *From:* Tony Collins <[email protected]> > *To:* Fail2ban Users <[email protected]> > *Sent:* Monday, October 15, 2018 7:24 AM > > *Subject:* Re: [Fail2ban-users] Lowering the memory usage > > I want to check here - in your original post when you showed the figures > for fail2ban, are you saying that the 1205264 was real memory and 17088 was > virtual memory which has now gone down to zero, or did those figures come > from somewhere else? > > What's the specific command you're running to get the output you posted in > your first message? > > > > > On Mon, 15 Oct 2018 at 13:46, r fancher <[email protected]> wrote: > > I am showing 1.2 gigs real memory. Currently showing 0 being used in > virtual memory. > > > ------------------------------ > *From:* Tony Collins <[email protected]> > *To:* Fail2ban Users <[email protected]> > *Sent:* Monday, October 15, 2018 5:05 AM > *Subject:* Re: [Fail2ban-users] Lowering the memory usage > > I think that's the virtual memory size - the real memory is 0.2% of your > RAM total, about 16mb. IIRC, ulimit -s doesn't apply to virtual memory. > > > > > > On Mon, 15 Oct 2018 at 12:12, r fancher via Fail2ban-users < > [email protected]> wrote: > > > > I have added ulimit -s 256 to the end of my /etc/default/fail2ban file but > it is still consuming over a gig of memory. Does this not work in 0.9.3? > > Also, whats the command to check what the current ulimit is? > > root 760 0.0 0.2 *1205264* 17088 ? Sl Oct14 0:54 > /usr/bin/python3 /usr/bin/fail2ban-server -s > /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b > > > _______________________________________________ > Fail2ban-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > > _______________________________________________ > Fail2ban-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > > > _______________________________________________ > Fail2ban-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > > >
_______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
