[Bug 1166730] Re: lxc not modified memory.limit_in_bytes

2013-04-09 Thread iandriyanov
I'm test again. This plan:

my host (2gb total mem) - my test_container (256M total allocate mem) -
switch into container and see 2gb in stout from "free" programm - run
into container $(tail /dev/zero) - and see to cat
/sys/fs/cgroup/lxc/VM_NAME/memory.usage_in_bytes - IT took all memory
(256M) - return to host and: And I see something that began to appear on
the host error that the memory is freed. Ie turns out that the
insulation broken

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1166730

Title:
  lxc not modified memory.limit_in_bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1166730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1166730] Re: lxc not modified memory.limit_in_bytes

2013-04-09 Thread Serge Hallyn
I've changed my mind, stgraber is right.  Given the title of this bug,
it is simply invalid.

** No longer affects: linux

** Changed in: lxc (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1166730

Title:
  lxc not modified memory.limit_in_bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1166730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1166730] Re: lxc not modified memory.limit_in_bytes

2013-04-09 Thread iandriyanov
If its memory using:

watch cat /sys/fs/cgroup/lxc/VM_NAME/memory.usage_in_bytes

I see that the figure does not rise above = 268435456 bytes.
BUT! I can see, into container lxc, what me available ALL host memory.
And I understand that this is not the case. After the threshold of memory not 
to cross. However, these figures $(free) make us think that something is not 
configured correctly

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1166730

Title:
  lxc not modified memory.limit_in_bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1166730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1166730] Re: lxc not modified memory.limit_in_bytes

2013-04-09 Thread Stéphane Graber
Your configuration is valid, it's just that free and the other memory
tools don't know how to check the cgroup limit.

If you try to allocate more than your limit in the container, you'll see
that it'll fail as expected once it reaches the quota.

** Changed in: lxc (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1166730

Title:
  lxc not modified memory.limit_in_bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1166730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1166730] Re: lxc not modified memory.limit_in_bytes

2013-04-09 Thread iandriyanov
** Package changed: ubuntu => lxc (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1166730

Title:
  lxc not modified memory.limit_in_bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1166730/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs