Allow up to 4096 simultaneous connections

On large system we hit the limit on 512 simultaneous dbus
connections, resulting in tons of annoying messages:

Too many concurrent connections, refusing

This patch raises the limit to 4096.

(cherry picked from commit cbecf9bf92)
(cherry picked from commit 7eaa810935)
This commit is contained in:
Hannes Reinecke
2015-03-23 02:27:40 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent d53586d247
commit 7ab8dc0dd4
+1 -1
View File
@@ -44,7 +44,7 @@
#include "bus-internal.h"
#include "selinux-access.h"
#define CONNECTIONS_MAX 512
#define CONNECTIONS_MAX 4096
static void destroy_bus(Manager *m, sd_bus **bus);