[lxc-users] Container out of memory

Dr. Lars Hanke debian at lhanke.de
Sun Nov 13 22:52:51 UTC 2016


I've seen out of memory log entries in several containers. In particular 
sambe won't start on a vrand new container due to low memory. But

free -m
              total       used       free     shared    buffers cached
Mem:          7892       5230       2661         18 32       4102
-/+ buffers/cache:       1095       6797
Swap:        15255          0      15255

well, almost 7GB free! There's apparently no memory information available:

lxc-info -n samba
Name:           samba
State:          RUNNING
PID:            4451
IP:             172.16.xxx.xxx
CPU use:        0.76 seconds
BlkIO use:      140.00 KiB
Link:           vethE6HF6Q
  TX bytes:      8.19 KiB
  RX bytes:      3.95 KiB
  Total bytes:   12.14 KiB

lxc is version 1.0.6 as distributed with Debian Jessie.

Any ideas to troubleshoot this issue are welcome.Thanks for your help,

- lars.



More information about the lxc-users mailing list