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, Jun 8, 2010 at 11:43 AM, Srdjan Todorovic <todorovic.s@xxxxxxxxxxxxxx> wrote: > Hi, > > On 8 June 2010 11:28, Tharindu Rukshan Bamunuarachchi > <btharindu@xxxxxxxxx> 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 per process not per user. > > The sum of RLIMIT_* for all processes owned by a specific user would > be the same as a per-user memory quota. > > I have no concrete idea of how exactly you would implement this. Does > that help you? > > Regards, > Srdjan > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ