OpenVZ Forum


Home » Mailing lists » Users » How to set resource quota of other process
Re: Re: How to set resource quota of other process [message #25445 is a reply to message #25439] Wed, 26 December 2007 06:49 Go to previous message
vaverin is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Live Migration Fails
Next Topic: Fedora core 7
Goto Forum:
  


Current Time: Fri Sep 13 06:49:53 GMT 2024

Total time taken to generate the page: 0.05098 seconds