(shrug) Works for me with ppa:ubuntu-lxc/daily
# grep MemTotal /proc/meminfo MemTotal: 12197888 kB # lxc-cgroup -n c7 memory.limit_in_bytes 1G # lxc-cgroup -n c7 memory.limit_in_bytes 1073741824 # lxc-attach -n c7 -- grep MemTotal /proc/meminfo MemTotal: 1048576 kB -- Fajar On Thu, Mar 5, 2015 at 2:38 PM, Rajasekar Darapuram <[email protected]> wrote: > Thanks for the reply..However > How come when i create 2 containers (I'm running the command lxc-create -f > config -n name1 -t none, and my config has the option lxc.rootfs = > /containers/container-name ) and run the cpuinfo, meminfo, uptime commands > on each container, they both are returning the same values and they match > the host machine values.. > > Did I miss anything? > > From: "Fajar A. Nugraha" <[email protected]> > To: LXC users mailing-list <[email protected]> > Cc: > Date: Thu, 5 Mar 2015 06:00:00 +0700 > Subject: Re: [lxc-users] newbee to LXC and LXCFS > > On Thu, Mar 5, 2015 at 1:02 AM, Rajasekar Darapuram > <[email protected]> wrote: >> 1. Should I explicitly bind the host /var/lib/lxcfs/cgroup/proc to the >> container /proc (or something like /container_proc) > > Not if you update lxc to 1.1. See > https://github.com/lxc/lxcfs/blob/master/README.md > > -- > Fajar _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
