GNOME Bugzilla – Bug 758751
[PATCH review] Avoid loosing signals due to org.freedesktop.DBus.Error.LimitsExceeded
Last modified: 2015-12-02 15:10:04 UTC
Created attachment 316410 [details] A workaround With 100 devices we're getting these: ======================================================================== GDBus-debug:Message: <<<< RECEIVED D-Bus message (251 bytes) Type: error Flags: no-reply-expected Version: 0 Serial: 1254 Headers: error-name -> 'org.freedesktop.DBus.Error.LimitsExceeded' reply-serial -> uint32 1631 destination -> ':1.114' sender -> 'org.freedesktop.DBus' signature -> signature 's' Body: ('Connection ":1.114" is not allowed to add more match rules (increase limits in configuration file if required)',) UNIX File Descriptors: (none) See: https://bugzilla.gnome.org/show_bug.cgi?id=758749
in the commit message, could you write: Related: https://bugzilla.gnome.org/show_bug.cgi?id=758749 because this commit doesn't fix 758749 and there is a script to parse the commit message for bugs that are fixed by the commit. The "Related" keyword helps there. Why do you want to allow 1024 signals unmodified before subscribing to all? Can you not do it for all proxies and get rid of <limit name="max_match_rules_per_connection">2048</limit>. Maybe nm_assert (!g_strcmp0 (g_dbus_proxy_get_name (proxy), "org.freedesktop.NetworkManager")); to ensure we only handle expected senders.