lxc not modified memory.limit_in_bytes

Asked by iandriyanov

This is string from config file for lxc-container
...
lxc.cgroup.memory.limit_in_bytes = 268435456 (256M)
lxc.cgroup.memory.memsw.limit_in_bytes = 268435456 (256M)
...

But! Into lxc-start vm-container and call $(free), i get out this

             total used free shared buffers cached
Mem: 2050144 1366252 683892 0 57004 1060544

Pls say, what can i wrong do? total memory on my host 2GB, and virtual container total 2G memory, and not 256M

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Just to clarify:
Do you have the value "268435456 (256M)" in the config file, or do you have "268435456" and you added " (256M)" just in the decription of the problem to explain that this is the same value?

Revision history for this message
iandriyanov (iandriyanov) said :
#2

Just only description!

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.