On 10/16/2012 04:44 AM, Dhaval Giani wrote:
> What prevents you from having a cgroup for each such process?

Nothing, but if I understand correctly, I should manually create a
cgroup hierarchy for each process, right ? Not very usable and automated.

On 10/16/2012 08:01 AM, Balbir Singh wrote:
> You can use the cgrules file and utilities to do the automation of
> migration of tasks/processes.

If I understand correclty (once again ^^) the spirit behind cgrules is
to move process in a predefined cgroup hierarchy. I'll need a different
The fact seems to be that I need to defined a different hierarchy for
each process to apply the memory limit the way I want (limit each
process to a specific amount of maximum RSS memory).

I'm just beginning to play seriously with cgroup, and it's quite sure I
didn't get everything correctly, but I would be glad if you could
elaborate on what you have in mind to address my specific problem.

Ultimately, I want to limit memory (or whatever) of each process for a
specific set of user/groups. I'm not interested in limiting the memory
for all the process launched by a user, but for each one, individually
(and transparently, the user should not be aware of this limitation).

Anyway, thank you for having taking the time to answser.

Jean-Baptiste



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to