linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Nazarewicz <mina86@tlen.pl>
To: Tharindu Rukshan Bamunuarachchi <btharindu@gmail.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: memory limit/quota per user
Date: Tue, 08 Jun 2010 13:51:51 +0200	[thread overview]
Message-ID: <87aar5g2so.fsf@erwin.mina86.com> (raw)
In-Reply-To: <AANLkTimOB5rMTRmHgz6ZcoTDZhZ3az4LuYdcBx3TRZak@mail.gmail.com> (Tharindu Rukshan Bamunuarachchi's message of "Tue, 8 Jun 2010 11:32:46 +0100")

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

Tharindu Rukshan Bamunuarachchi <btharindu@gmail.com> writes:
> 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.

Unless something has changed recently, not with standard utilities.
Maybe SELinux or similar allows for something like that but otherwise
it's impossible.

-- 
Best regards,                                         _     _
 .o. | Liege of Serenly Enlightened Majesty of      o' \,=./ `o
 ..o | Computer Science,  Michal "mina86" Nazarewicz   (o o)
 ooo +--<mina86-tlen.pl>--<jid:mina86-jabber.org>--ooO--(_)--Ooo--

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2010-06-08 11:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 10:32 memory limit/quota per user Tharindu Rukshan Bamunuarachchi
2010-06-08 11:51 ` Michal Nazarewicz [this message]
     [not found] ` <AANLkTimp6NZgSXfyrwB5GSOFxom6lLYsMBxdENCgqzUI@mail.gmail.com>
2010-06-08 12:41   ` Tharindu Rukshan Bamunuarachchi
2010-06-18 14:34 ` Alex Brandt
2010-06-18 18:56   ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aar5g2so.fsf@erwin.mina86.com \
    --to=mina86@tlen.pl \
    --cc=btharindu@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).