'dbus-daemon' repeatedly spams logs with: "increase limits in configuration file if required; max_match_rules_per_connection=2048".

Solution Verified - Updated -

Issue

  • How to change or increase the max_match_rules_per_connectionin the dbus configuration file?

  • Reported messages "Connection ":1.461" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)" by dbus-daemon.

Feb 20 05:04:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.671" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 05:04:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.671" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 07:54:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.680" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 07:54:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.680" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 10:45:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.686" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 10:45:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.686" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 13:36:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.692" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 13:36:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.692" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 16:26:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.698" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 16:26:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.698" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 19:17:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.704" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 19:17:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.704" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 22:08:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.710" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 20 22:08:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.710" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 00:58:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.716" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 00:58:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.716" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 03:49:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.732" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 03:49:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.732" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 06:40:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.738" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 06:40:10 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.738" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 09:30:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.743" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 09:30:50 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.743" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
Feb 21 12:21:30 prdlxism001 dbus-daemon[1313]: [system] Connection ":1.752" is not allowed to add more match rules (increase limits in configuration file if required; max_match_rules_per_connection=2048)
  • After dbus service restart reported below messages by dbus-daemon.
[root@prdlxism001 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Mon 2022-03-07 22:05:25 +08; 18h ago
     Docs: man:dbus-daemon(1)
 Main PID: 2787435 (dbus-daemon)
    Tasks: 2 (limit: 2063310)
   Memory: 1.9M
   CGroup: /system.slice/dbus.service
           └─2787435 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

Mar 07 22:05:26 prdlxism001 dbus-daemon[2787435]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.2' >
Mar 07 22:05:27 prdlxism001 dbus-daemon[2787435]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Mar 07 22:27:57 prdlxism001 dbus-daemon[2787435]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.14' (u>
Mar 07 22:27:57 prdlxism001 dbus-daemon[2787435]: [system] Successfully activated service 'net.reactivated.Fprint'
Mar 08 01:01:50 prdlxism001 dbus-daemon[2787435]: [system] Connection ":1.5" is not allowed to add more match rules (increase limits in configuration file if required;>
Mar 08 03:52:30 prdlxism001 dbus-daemon[2787435]: [system] Connection ":1.49" is not allowed to add more match rules (increase limits in configuration file if required>
Mar 08 06:43:10 prdlxism001 dbus-daemon[2787435]: [system] Connection ":1.60" is not allowed to add more match rules (increase limits in configuration file if required>
Mar 08 09:34:00 prdlxism001 dbus-daemon[2787435]: [system] Connection ":1.66" is not allowed to add more match rules (increase limits in configuration file if required>
Mar 08 12:24:50 prdlxism001 dbus-daemon[2787435]: [system] Connection ":1.72" is not allowed to add more match rules (increase limits in configuration file if required>
Mar 08 15:15:30 prdlxism001 dbus-daemon[2787435]: [system] Connection ":1.85" is not allowed to add more match rules (increase limits in configuration file if required>

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7
    • 8
  • dbus-1.12.8-14.el8.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content