linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* memory limit/quota per user
@ 2010-06-08 10:27 Tharindu Rukshan Bamunuarachchi
  2010-06-09  1:18 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 2+ messages in thread
From: Tharindu Rukshan Bamunuarachchi @ 2010-06-08 10:27 UTC (permalink / raw)
  To: linux-mm

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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: memory limit/quota per user
  2010-06-08 10:27 memory limit/quota per user Tharindu Rukshan Bamunuarachchi
@ 2010-06-09  1:18 ` KAMEZAWA Hiroyuki
  0 siblings, 0 replies; 2+ messages in thread
From: KAMEZAWA Hiroyuki @ 2010-06-09  1:18 UTC (permalink / raw)
  To: Tharindu Rukshan Bamunuarachchi; +Cc: linux-mm

On Tue, 8 Jun 2010 11:27:10 +0100
Tharindu Rukshan Bamunuarachchi <btharindu@gmail.com> wrote:

> 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.
> 

please check memory cgroup and libcgroup.
(memory cgroup is for limiting memory usage per a group of processes,
 libcgroup provides automatic grouping method.)

Thanks,
-Kame

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-09  1:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-08 10:27 memory limit/quota per user Tharindu Rukshan Bamunuarachchi
2010-06-09  1:18 ` KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox