<div dir="ltr"><div><div>Thanks Istvan<br><br></div>I will try the same and hope it will fix it up<br><br></div>Regards,<br>Ajith<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 5, 2014 at 4:19 PM, István Király <span dir="ltr"><<a href="mailto:LaKing@d250.hu" target="_blank">LaKing@d250.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi, ..<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">systemd-journald is not really fixed yet, it uses up CPU, and resources.</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">systemctl mask systemd-journald </span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">.. and then reboot your containers.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Greetings,..</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
<div><div class="h5">
On Sat, Jul 5, 2014 at 12:19 PM, Ajith Adapa <span dir="ltr"><<a href="mailto:ajith.adapa@gmail.com" target="_blank">ajith.adapa@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
I mean there is around 1.5GB RAM freely available when I just start<br>
the containers.<br>
<br>
KiB Mem: 2025228 total, 593388 used, 1431840 free, 36708 buffers<br>
KiB Swap: 2129916 total, 0 used, 2129916 free. 394116 cached Mem<br>
<br>
Regards,<br>
Ajith<br>
</div></div><div><div><div><div class="h5"><br>
On Sat, Jul 5, 2014 at 3:33 PM, Ajith Adapa <<a href="mailto:ajith.adapa@gmail.com" target="_blank">ajith.adapa@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am not exactly sure if LXC is the reason but atleast I am seeing<br>
> that memory is exhausted after running lxc containers for more than a<br>
> day.<br>
><br>
> Setup information:<br>
> Guest VM running Fedora 20 with 2GB RAM and 4 logical cores assigned.<br>
> It is only used for running LXC containers. lxc version 1.0.3<br>
><br>
> I have 4 containers created using the default templates. When I<br>
> started all the containers the amount of free ram available is around<br>
> 500MB (As per the output from top).<br>
><br>
> After 24 hours, I have got only 100MB free as per top command output.<br>
> I am not starting any process inside lxc-containers after starting<br>
> them.<br>
><br>
> # lxc-ls -f<br>
> NAME STATE IPV4 IPV6 AUTOSTART<br>
> -------------------------------------------------<br>
> centostest RUNNING 10.12.4.101 - NO<br>
> debiantest RUNNING 10.12.4.117 - NO<br>
> f19i686 RUNNING 10.12.4.122 - NO<br>
> ubuntu RUNNING 10.12.4.131 - NO<br>
><br>
> As per below output systemd-journald seems the culprit but I am not sure why.<br>
><br>
> # ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5<br>
> 2.7 0.0 124036 1997 /usr/lib/systemd/systemd-journald<br>
> 1.2 0.0 325168 558 /usr/bin/python /usr/sbin/firewalld --nofork --nopid<br>
> 0.6 0.0 511304 1348 /usr/lib/polkit-1/polkitd --no-debug<br>
> 0.6 0.0 102340 1342 /sbin/dhclient -H blrlt1144 -1 -q -lf<br>
> /var/lib/dhclient/dhclient--virbr0.lease -pf<br>
> /var/run/dhclient-virbr0.pid virbr0<br>
> 0.4 0.0 40636 1 /usr/lib/systemd/systemd --switched-root<br>
> --system --deserialize 26<br>
><br>
> Have anyone faced similar issue ?<br>
><br>
> Regards,<br>
> Ajith<br></div></div>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all">
<div><br></div>-- <br><div dir="ltr">
<div style="text-align:left"><font size="4">Király </font><span style="font-size:large">István</span></div><div style="text-align:left"><font>+36 209 753 758</font></div><div style="text-align:left"><font><a href="mailto:LaKing@D250.hu" target="_blank">LaKing@D250.hu</a></font></div>
<div style="text-align:left"><a href="http://d250.hu" target="_blank"><img src="http://laking.d250.hu/lab.png"></a><br></div></div>
</font></span></div>
<br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div>