cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
10.68k stars 1.07k forks source link

Need to throttle introspection calls #1649

Open stefwalter opened 9 years ago

stefwalter commented 9 years ago

We need to throttle the introspection calls for DBus services that have lots of objects. The default system bus only allows 128 outstanding calls per connection.

Otherwise you start getting this:

Jan 13 20:43:09 falcon.thewalter.lan cockpit-bridge[11997]: org.freedesktop.NetworkManager: couldn't introspect /org/freedesktop/NetworkManager/IP6Config/6: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of pending replies per connection has been reached
martinpitt commented 5 years ago

We still occasionally see this on the Services page, which uses .proxy() on a large, and unbounded number of objects. This should be avoided.

t00 commented 1 year ago

Is there a workaround for this issue? On latest arch package cockpit 278-1 it shows several entries like following when any tab on services is selected: Nov 07 09:18:56 nuc dbus-daemon[331]: [system] The maximum number of pending replies for ":1.5718" (uid=0 pid=490087 comm="cockpit-bridge --privileged") has been reached (max_replies_per_connection=128)

thisisnotmyrealname commented 7 months ago

Ongoing issue is ongoing.