Re: [Proftpd-user] RLimitMemory question

IanAtYahoo--- via Proftp-user <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
One more piece of info.  Our server has 8GB of RAM and 2CPU.  We have one rogue user who logs in and every time , that user session would eventually consume all 8GB within  10 minutes.

This is why we started looking at limiting memory. If there’s a better way to address this , please point me to the right direction 

Thanks 

Sent from mobile device.

> On Jul 31, 2018, at 7:13 AM, IanAtYahoo--- via Proftp-user <[email protected]> wrote:
> 
> Hello Matus
> 
> yes, without the limit, everything works as expected
> 
> When a single user logs in, I observed that the session uses about 6-8K of memory . That is what’s shown via htop
> 
> 
> 
> 
> Sent from mobile device.
> 
>> On Jul 31, 2018, at 12:24 AM, Matus UHLAR - fantomas <[email protected]> wrote:
>> 
>>> On 31.07.18 05:30, Ian via Proftp-user wrote:
>>> I am running 1.3.6 , using only SFTP and no FTPS
>>> WHen I add the following directive to the conf file at the server level,  none of the user can connect .
>> 
>> Can they connect when you do NOT add the directive?
>> 
>>> RLimitMemory    session    32M . 
>> 
>> Have you tried to increase the limit?
>> How much of memory do proftp servers use when no limit is set?
>> 
>> 
>> -- 
>> Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
>> Warning: I wish NOT to receive e-mail advertising to this address.
>> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
>> "Where do you want to go to die?" [Microsoft]
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> ProFTPD Users List   <[email protected]>
>> Unsubscribe problems?
>> http://www.proftpd.org/list-unsub.html
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> ProFTPD Users List   <[email protected]>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.