[Users] Re: Re: How to set resource quota of other process

vaverin vvs at sw.ru
Wed Dec 26 01:49:23 EST 2007



Ian,

sorry for previous message, it was incorrect because I didn't understand Your original question.

You are right, setrlimit() set the limits for current process only (and for its new childern) and I don't know the ways to set these limits for some another processes. 

OpenVZ uses own accounting/limiting subsytem that is not related to   setrlimit(). OpenVZ allows to set some group identificator for current process only (like setrlimit), however then any privliged process can set the limits for this process group.

thank you,
Vasily Averin


More information about the Users mailing list