[lxc-users] LXCFS installation effects

Martín Fernández fmartin91 at gmail.com
Tue Jun 5 22:46:32 UTC 2018


Stéphane,

That seems to have done the trick :). Now a I see different outputs when running `free` on the container than in the host. At the same time, non-restarted containers are showing the host output which sound good as well.

One last question, If I don’t limit the amount of memory a container has it should show the host available memory right ? 

Asking this because I have the following situation that for sure it not right.

Host
```
             total       used       free     shared    buffers     cached
Mem:         32109      25432       6676          9       1297      18510
-/+ buffers/cache:       5624      26484
Swap:       138699        893     137806
```

Container (the restarted one):
```
             total       used       free     shared    buffers     cached
Mem:         32109        951      31157          9          0        256
-/+ buffers/cache:        695      31414
Swap:       138699        893     137806
```

The container is showing that it has 31157 megabytes free but that is obviously this is not true based on what the host is showing (6676).

Thanks a lot!!!!

Martín
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180605/1cae41d2/attachment.html>


More information about the lxc-users mailing list