Page 1 of 1

Limit the amount of ram memory used by a user

Posted: Sun Mar 26, 2017 9:46 pm
by Daimko
Hello,
How to limit the amount of ram memory used by a user ?
Thanks in advance for your help.

Re: Limit the amount of ram memory used by a user

Posted: Fri Mar 31, 2017 8:20 am
by Daimko
Nobody has an idea ?
Thank you in advance for your help.

Re: Limit the amount of ram memory used by a user

Posted: Fri Mar 31, 2017 9:31 am
by skurudo
ram memory used by a user for php/apache/mysql? Nope
You can can easyly limit php ram for user account, but if you need more, sorry.

Re: Limit the amount of ram memory used by a user

Posted: Fri Mar 31, 2017 10:01 am
by Daimko
The idea was to dedicate a quantity of RAM per user, a solution ?
Thank you in advance for your help.

Re: Limit the amount of ram memory used by a user

Posted: Mon Apr 03, 2017 9:59 am
by skurudo
Not really, but it's close
You can use hosting template with modifications -> php memory_limit

Re: Limit the amount of ram memory used by a user

Posted: Tue Jan 23, 2018 1:29 pm
by vikhyat
This can be achieved with the help of CGroups. You can have a look at this blog post https://blog.flaunt7.com/managing-resources-cgroups/ .
But limiting using CGroups is a bit complex and if proper implementation is not done then it can even cause crashes.