<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-journal consumes 100% cpu (lxc-container with getty.target)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80002">80002</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-journal consumes 100% cpu (lxc-container with getty.target)
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>urs@helmig.com.de
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>ARM
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - systemd-journald eats 100% CPU"
   href="show_bug.cgi?id=61191">BUG 61191</a>, 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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>