<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 --- - Interaction between systemd and systemd-logind fails during reloads with many units"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72816">72816</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Interaction between systemd and systemd-logind fails during reloads with many units
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>david@davidstrauss.net
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </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>systemd sends DBus messages for every unit added and removed, which is all of
them for reloads. This is on v208 with the Fedora 20 patches, but it looks like
the same occurs in master.

systemd-logind can't keep up with these:

Dec 17 23:07:02 519149-11pod01 dbus[1636]: [system] Rejected: destination has a
full message queue, 0 matched rules; type="signal", sender=":1.55216" (uid=0
pid=1 comm="/usr/lib/systemd/systemd --system --deserialize 26")
interface="org.freedesktop.systemd1.Manager" member="UnitRemoved" error
name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (uid=0
pid=32361 comm="/usr/lib/systemd/systemd-logind ")
Dec 17 23:07:02 519149-11pod01 dbus[1636]: [system] Rejected: destination has a
full message queue, 0 matched rules; type="signal", sender=":1.55216" (uid=0
pid=1 comm="/usr/lib/systemd/systemd --system --deserialize 26")
interface="org.freedesktop.systemd1.Manager" member="UnitRemoved" error
name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (uid=0
pid=32361 comm="/usr/lib/systemd/systemd-logind ")

Here's what it looks like from dbus-monitor --system:

signal sender=:1.55216 -> dest=(null destination) serial=24348
path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager;
member=UnitRemoved
   string "nginx_c4d9e5763f294ca19d6abf242a2575cc.socket"
   object path
"/org/freedesktop/systemd1/unit/nginx_5fc4d9e5763f294ca19d6abf242a2575cc_2esocket"
signal sender=:1.55216 -> dest=(null destination) serial=24349
path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager;
member=UnitRemoved
   string "nginx_add76a5f40704da0832bb6065de7f342.socket"
   object path
"/org/freedesktop/systemd1/unit/nginx_5fadd76a5f40704da0832bb6065de7f342_2esocket"
signal sender=:1.55216 -> dest=(null destination) serial=24350
path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager;
member=UnitRemoved</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>