[lxc-users] OOMScoreAdjust= in dbus.service on systemd-based

Christian Brauner christianvanbrauner at gmail.com
Thu Feb 5 21:19:16 UTC 2015


On Thu, Feb 05, 2015 at 10:14:37PM +0100, Christian Brauner wrote:
> On Thu, Feb 05, 2015 at 09:25:12PM +0100, Christian Brauner wrote:
> > I hope so, I've just patched my systemd source code and it's currently
> > compiling. :) One thing I'm currently not clear about is whether the
> > host or the container systemd needs to be patched... I'll go with the
> > host. :)
> > 
> > Christian
> 
> I think this is the patch on cgit for systemd you were talking about,
> Serge?
> http://cgit.freedesktop.org/systemd/systemd/patch/?id=d5243d628624038567c576e9b69c1d775eb05a05
> 
> I downloaded and succesfully applied it but systemd stills seems to be
> hanging no matter if I patch the host or the container... I'm just
> compiling it again to make sure I made no mistake. Did you already have
> the chance to test it yourself?
> 
> Christian

Starting the container without OOMScoreAdjust commented out gives me
(when I strace /sbin/init from the host):

epoll_wait(4, {{EPOLLIN, {u32=3, u64=3}}}, 29, 0) = 1
clock_gettime(CLOCK_BOOTTIME, {2116, 108967782}) = 0
read(25, "\1\0\0\0\0\0\0\0", 8)         = 8
timerfd_settime(25, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={2062, 785850000}}, NULL) = 0

Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150205/15475d74/attachment.sig>


More information about the lxc-users mailing list