Re: memory limit/quota per user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux