Re: memory limit/quota per user

2010-06-09 Thread Mulyadi Santosa
On Wed, Jun 9, 2010 at 01:27, Tharindu Rukshan Bamunuarachchi wrote: > what could be possible with cgroups ... any resource on how to use cgroups ? Please check cgroups folder under Documentation folder of the Linux source kernel tree. I believe it's all explained there. -- regards, Mulyadi S

Re: memory limit/quota per user

2010-06-08 Thread Tharindu Rukshan Bamunuarachchi
what could be possible with cgroups ... any resource on how to use cgroups ? __ tharindu.info "those that can, do. Those that can’t, complain." -- Linus On Tue, Jun 8, 2010 at 6:34 PM, Mulyadi Santosa wrote: > On Tue, Jun 8, 2010 at 17:28, Tharindu Rukshan Bamunuarachchi > wrote: >> Hello All

Re: memory limit/quota per user

2010-06-08 Thread Mulyadi Santosa
On Tue, Jun 8, 2010 at 17:28, Tharindu Rukshan Bamunuarachchi wrote: > Hello All, > > Is it possible to limit memory quota per user (like disk quota) in linux ? reminds me to cgroup. But AFAIK, cgroup still can't do per user resource accounting. -- regards, Mulyadi Santosa Freelance Linux trai

Re: memory limit/quota per user

2010-06-08 Thread Srdjan Todorovic
Hi, On 8 June 2010 11:28, Tharindu Rukshan Bamunuarachchi wrote: > Is it possible to limit memory quota per user (like disk quota) in linux ? I have no idea if there's an existing framework for that. But what you wrote below gives me an idea. > AFAIK, RLIMIT_* (i.e. RSS, DATA) are applicable p

Re: memory limit/quota per user

2010-06-08 Thread Tharindu Rukshan Bamunuarachchi
yes, it is not easy to implement such mechanism. for each memory allocation, it should be audited for user maximum limit. this helps us to maintain good resource sharing with multiple user/environment machines. __ tharindu.info "those that can, do. Those that can’t, complain." -- Linus On Tue

memory limit/quota per user

2010-06-08 Thread Tharindu Rukshan Bamunuarachchi
Hello All, Is it possible to limit memory quota per user (like disk quota) in linux ? AFAIK, RLIMIT_* (i.e. RSS, DATA) are applicable per process not per user. thankx a lot. tharindu. "those that can, do. Those that can’t, complain." -- Linus -- To unsubscribe from this list: send an email wi