From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Nazarewicz Subject: Re: memory limit/quota per user Date: Tue, 08 Jun 2010 13:51:51 +0200 Message-ID: <87aar5g2so.fsf@erwin.mina86.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:x-face:face:x-url:x-pgp-fp:x-pgp:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=q/jFg3nleyRsa7/FKsLCmrzuwuP2ZayHHOGcQUTEDUs=; b=RcMlVtGQFCN77ngm9WUoaBGrEaIWITkSuvinGgFi13/VevPjJIPIHz1yQJHShIAddA sxuIbRdHNWNVV0xFCu60R4F3m7nYjR4x44U/6ld0CgOWT9QFwyoC7Iv4ROb4k+z78R9M ktKlnzzTMmWRZOtFXSR0Ltn6/zSPdLCvGhUTU= In-Reply-To: (Tharindu Rukshan Bamunuarachchi's message of "Tue, 8 Jun 2010 11:32:46 +0100") Sender: linux-admin-owner@vger.kernel.org List-ID: To: Tharindu Rukshan Bamunuarachchi Cc: linux-admin@vger.kernel.org --=-=-= Content-Transfer-Encoding: quoted-printable Tharindu Rukshan Bamunuarachchi 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. =2D-=20 Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +------ooO--(_)--Ooo-- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwOLt0ACgkQUyzLALfG3x47xACcD6Di3jaepL4DXfQf/8F6CHLY VmUAn0+NvHEJ1ASX9xWwvK4onmGGEmUX =6gUX -----END PGP SIGNATURE----- --=-=-=--