add new limit: max_connections_per_process
Submitted by Alban Crequy
Assigned to D-Bus Maintainers
dbus-daemon already has the following limits:
- max_completed_connections: (default|system bus)=2048 (session bus)=100000
- max_connections_per_user: (default|system bus)=256 (session bus)=100000
This bug is to add a new limit: - max_connections_per_process: (default|system bus)=8 (session bus)=8
Most applications should have only one connection to the bus. But sometimes, a process could legitimately create a few connections to the bus: it happens in an applications with plugins written with different dbus bindings such as libdbus and Qt D-Bus linked in the same process. But there are no good reasons for a process to have plenty of connections.
See also Bug #81469 (max_connections_per_cgroup) for another limit on cgroups.