[systemd-devel] [PATCH 2/2] Allow up to 4096 simultaneous connections
Hannes Reinecke
hare at suse.de
Wed Mar 4 07:32:17 PST 2015
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.
Signed-off-by: Hannes Reinecke <hare at suse.de>
---
src/core/dbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/dbus.c b/src/core/dbus.c
index 5dcb0d1..80f7589 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -43,7 +43,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);
--
1.8.4.5
More information about the systemd-devel
mailing list