[systemd-bugs] [Bug 80002] New: systemd-journal consumes 100% cpu (lxc-container with getty.target)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 13 13:34:35 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80002

          Priority: medium
            Bug ID: 80002
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-journal consumes 100% cpu (lxc-container with
                    getty.target)
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: urs at helmig.com.de
          Hardware: ARM
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Problem
--------------------

systemd-journal consumes 100% cpu only if the getty.target is started. 

The getty.target can be started for /dev/console or for /dev/tty1 (logical pts
console) - no difference.

Without getty.target and an installed sshd daemon, the system works fine.

The strace is very simular to the strace in BUG 61191, but MaxRetentionSec in
journald.conf is not set.


System-Information:
--------------------
- raspberry-pi arm board with arch-linux
-> LXC-Container with fresh archlinux installation
      - no capabilities dropped
      - /dev/kmsg is symlinked to /dev/console

      - Linux 3.12.20-4-ARCH armv6l GNU/Linux

      - systemd 213
        +PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL 
        +XZ +SECCOMP -APPARMOR


STRACE:
--------------------

clock_gettime(CLOCK_REALTIME, {1402689055, 61457752}) = 0
clock_gettime(CLOCK_REALTIME, {1402689055, 62066735}) = 0
epoll_wait(7, {{EPOLLIN, {u32=3080684416, u64=3080684416}}, {EPOLLIN,
{u32=3080684000, u64=3080684000}}, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=3080684624,
u64=3080684624}}, {EPOLLIN, {u32=3080684208, u64=3080684208}}}, 12, 0) = 4
clock_gettime(CLOCK_REALTIME, {1402689055, 63220702}) = 0
clock_gettime(CLOCK_MONOTONIC, {347291, 774525484}) = 0
clock_gettime(0x7 /* CLOCK_??? */, {347291, 774947472}) = 0
writev(2, [{"/dev/kmsg buffer overrun, some m"..., 45}, {"\n", 1}], 2) = 46
read(9, "", 8192)                       = 0
clock_gettime(CLOCK_REALTIME, {1402689055, 65947625}) = 0
clock_gettime(CLOCK_REALTIME, {1402689055, 66394612}) = 0
epoll_wait(7, {{EPOLLIN, {u32=3080684416, u64=3080684416}}, {EPOLLIN,
{u32=3080684000, u64=3080684000}}, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=3080684624,
u64=3080684624}}, {EPOLLIN, {u32=3080684208, u64=3080684208}}}, 12, 0) = 4
clock_gettime(CLOCK_REALTIME, {1402689055, 67409583}) = 0
clock_gettime(CLOCK_MONOTONIC, {347291, 778714365}) = 0
clock_gettime(0x7 /* CLOCK_??? */, {347291, 779147353}) = 0
writev(2, [{"/dev/kmsg buffer overrun, some m"..., 45}, {"\n", 1}], 2) = 46
read(9, "", 8192)                       = 0
clock_gettime(CLOCK_REALTIME, {1402689055, 69843514}) = 0
clock_gettime(CLOCK_REALTIME, {1402689055, 70276502}) = 0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140613/2603e73f/attachment.html>


More information about the systemd-bugs mailing list