Re: Are user beancounters available as separate patch? [message #14072 is a reply to message #14005] |
Thu, 14 June 2007 08:53 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Hello,
You're right, UBC is a separate thing, that can be used as a separate technology. I see now two major ways:
1) You can use pure OpenVZ kernel. There are syscalls: setluid(), setublimit(), ... that allow you to set a UB for a process and manage UB limits. So, actually you can set a separate UB for every user's first process and in this way achieve your aim.
You can consult vzctl soruces and kernel sources for more details.
2) There was an attempt to merge UBC in mainstream, so there were patches and user-space tools that allow to create a UBC-based solutions separated from OpenVZ. Look at lkml and container mailing lists archives.
HTH,
Vasily.
|
|
|