Re: Re: How to set resource quota of other process [message #25445 is a reply to message #25439] |
Wed, 26 December 2007 06:49 |
vaverin
Messages: 708 Registered: September 2005
|
Senior Member |
|
|
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
|
|
|