Benoit,

  Its experimental. I've taken the procfs.tar.gz tarball and updated it
to include restricting the view of /proc/cpuinfo and /proc/stat 

  The updated version is up on
http://www.tinola.com/lxc/procfs-1.2.tar.gz

  However there are some known bugs with it. 

The first is  that /proc/self does not work. 

The second is that files which are just passed through the fuse procfs
module with zero size (which is common) will not work. (so, for example 
cat /proc/slabinfo will return nothing). However, if I fix that other
worse things break :-).

 The /proc/self thing breaks java for me, so I'm thinking about the best
way to proceed here at the moment.

  Andy 

  

On Thu, 2010-05-20 at 13:59 +0200, Benoit Guguin wrote:
> Hi,
> 
> I'm currently testing LXC as a contener solution.
> 
> It's seems to be a cool thing, but only one thing annoy me :
> When I restrict memory usage, with cgroups, the memory reported inside a 
> CT is always the ammount of the host machine, and not the limit defined.
> 
> Is there a way to deal with ?  Any plan to have this feature in the next 
> release ?
> 
> Well I've see the tarball "procfs" on the website of lxc (with fuse) but 
> it seems a bit experimental, no ?
> 
> 
> Thank you in advance.
> 
> 
> Regards,
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
Andrew Phillips
Head of Systems

www.lmax.com 

Office: +44 203 1922509
Mobile: +44 (0)7595 242 900

LMAX | Level 2, Yellow Building | 1 Nicholas Road | London | W11 4AN




The information in this e-mail and any attachment is confidential and is 
intended only for the named recipient(s). The e-mail may not be disclosed or 
used by any person other than the addressee, nor may it be copied in any way. 
If you are not a named recipient please notify the sender immediately and 
delete any copies of this message. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden. Any view or 
opinions presented are solely those of the author and do not necessarily 
represent those of the company.

------------------------------------------------------------------------------

_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to