Hi xiaojun, On 02/12/2012 05:27 PM, MaoXiaoyun wrote:
> Hi: > > I search the lxc-devel and find there has been some disscussiones on > the requirement of container's quota > since 2009. For example, under my scenario, I first make hole rootfs > read only , and then mount some writable dir, such > as /var/ /tmp and some other dirs for a container, and I want to > limit the quota of this directories, such as 20G. > But it looks like this is not support yet, right? If so, is there a > workaround way to fill my requirement? Looks there is no such feature in LXC userland tools for now, or am I missing something? Maybe you can write an RFC in detail to list. Dear LXC developer, I(from Oracle kernel team) just started a research regarding this kind of features. In short, something includes: 1) Task resource limits (like prlimit64(2)) for container, let LXC userland tools/kernel support the maximum open file descriptors, etc.. if possible. 2) Quota support(the max size of file/directory). I'd like to know if anyone has already been working on them? or does them sounds make sense? Thanks, -Jeff > > many thanks. > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > Lxc-devel mailing list > Lxc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-devel ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel