[lxc-users] High Memory utilization with lxc containers

István Király LaKing at D250.hu
Sat Jul 5 10:49:22 UTC 2014


hi, ..

systemd-journald is not really fixed yet, it uses up CPU, and resources.

systemctl mask systemd-journald

.. and then reboot your containers.

Greetings,..


On Sat, Jul 5, 2014 at 12:19 PM, Ajith Adapa <ajith.adapa at gmail.com> wrote:

> I mean there is around 1.5GB RAM freely available when I just start
> the containers.
>
> KiB Mem:   2025228 total,   593388 used,  1431840 free,    36708 buffers
> KiB Swap:  2129916 total,        0 used,  2129916 free.   394116 cached Mem
>
> Regards,
> Ajith
>
> On Sat, Jul 5, 2014 at 3:33 PM, Ajith Adapa <ajith.adapa at gmail.com> wrote:
> > Hi,
> >
> > I am not exactly sure if LXC is the reason but atleast I am seeing
> > that memory is exhausted after running lxc containers for more than a
> > day.
> >
> > Setup information:
> > Guest VM running Fedora 20 with 2GB RAM and 4 logical cores assigned.
> > It is only used for running LXC containers. lxc version 1.0.3
> >
> > I have 4 containers created using the default templates. When I
> > started all the containers the amount of free ram available is around
> > 500MB (As per the output from top).
> >
> > After 24 hours, I have got only 100MB free as per top command output.
> > I am not starting any process inside lxc-containers after starting
> > them.
> >
> > # lxc-ls -f
> > NAME        STATE    IPV4         IPV6  AUTOSTART
> > -------------------------------------------------
> > centostest  RUNNING  10.12.4.101  -     NO
> > debiantest  RUNNING  10.12.4.117  -     NO
> > f19i686     RUNNING  10.12.4.122  -     NO
> > ubuntu      RUNNING  10.12.4.131  -     NO
> >
> > As per below output systemd-journald seems the culprit but I am not sure
> why.
> >
> > # ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5
> >  2.7  0.0 124036  1997 /usr/lib/systemd/systemd-journald
> >  1.2  0.0 325168   558 /usr/bin/python /usr/sbin/firewalld --nofork
> --nopid
> >  0.6  0.0 511304  1348 /usr/lib/polkit-1/polkitd --no-debug
> >  0.6  0.0 102340  1342 /sbin/dhclient -H blrlt1144 -1 -q -lf
> > /var/lib/dhclient/dhclient--virbr0.lease -pf
> > /var/run/dhclient-virbr0.pid virbr0
> >  0.4  0.0  40636     1 /usr/lib/systemd/systemd --switched-root
> > --system --deserialize 26
> >
> > Have anyone faced similar issue ?
> >
> > Regards,
> > Ajith
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>



-- 
Király István
+36 209 753 758
LaKing at D250.hu
<http://d250.hu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140705/0c85a338/attachment.html>


More information about the lxc-users mailing list