osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dbus daemon Issues


On Thu, Jan 25, 2018 at 06:06:18PM +0000, Donaldson Jeff wrote:
> Thank you for the reply. I should probably elaborate on our setup a
> little bit. It was a clean install of Ubuntu 16.04 on a server with
> dual NICs. I then installed the ltsp-server-standalone and
> gnome-session-flashback and configured the environment for users and
> thin\fat clients. Thin\Fat clients and user sessions all load without
> any issues, it's after about 15 users log in that I see the
> dbus-daemon spike and when I run dbus-monitor --system, I see the
> following errors...
> 
> error time=1516902042.457461 sender=org.freedesktop.DBus -> destination=:1.2076 error_name=org.freedesktop.DBus.Error.LimitsExceeded reply_serial=52599  string "The maximum number of pending replies per connection has been reached"

OK, I think you're running into a different limit.  You should be able
to override this by writing something like this to
/etc/dbus-1/system-local.conf:

  <!DOCTYPE busconfig PUBLIC
   "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
   "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
  <busconfig>
    <limit name="max_replies_per_connection">4096</limit>
  </busconfig>

Beware of https://bugs.freedesktop.org/show_bug.cgi?id=81053 when doing
this, though; and you might need to get somebody who's more of a D-Bus
expert than I am to look into whether there's some deeper reason you're
hitting a limit on pending replies.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]