Quoting MALATTAR ([email protected]):
>
>
> -------- Message original --------
> Sujet: Re: lxc-performance
> Date : Thu, 07 Oct 2010 16:56:05 +0200
> De : MALATTAR <[email protected]>
> Pour : MALATTAR <[email protected]>
>
>
>
> Le 07/10/2010 16:43, MALATTAR a écrit :
> > ------------------------------------------------------------------------
> > 06.10.2010 23:41, MALATTAR ?????:
> >
> > >/ the container dora1, where i launch an instance of my IDS, does not take
> > />/ more than 70 MB as memory even though the memory limit for it is much
> > />/ bigger than this value,
> > /
> > How do you measure memory usage?
>
> by using the command:
> lxc-cgroup -n dora1 memory.usage_in_bytes
> > What's in memory.max_usage_in_bytes of
> > the container's cgroup?
> executing the next command lxc-cgroup -n dora1 memory.max_usage_in_bytes
> gave me 70193152 bytes
Ah, linux/Documentation/cgroups/memory.txt explains that max_usage_in_bytes
reports the maximum memory usage recorded, not the limit. Look at
lxc-cgroup -n dora1 memory.max_usage_in_bytes
-serge
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel