ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
923a60
From b4ea0d8280135b7eabb1bb70e24d62c86e065db3 Mon Sep 17 00:00:00 2001
923a60
From: Hannes Reinecke <hare@suse.de>
923a60
Date: Wed, 4 Mar 2015 16:32:17 +0100
923a60
Subject: [PATCH] Allow up to 4096 simultaneous connections
923a60
923a60
On large system we hit the limit on 512 simultaneous dbus
923a60
connections, resulting in tons of annoying messages:
923a60
923a60
Too many concurrent connections, refusing
923a60
923a60
This patch raises the limit to 4096.
923a60
923a60
(cherry picked from commit cbecf9bf929318533fea798c57c10efcf6b2b447)
923a60
---
923a60
 src/core/dbus.c | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/core/dbus.c b/src/core/dbus.c
923a60
index 260775cd85..85b5174868 100644
923a60
--- a/src/core/dbus.c
923a60
+++ b/src/core/dbus.c
923a60
@@ -44,7 +44,7 @@
923a60
 #include "bus-internal.h"
923a60
 #include "selinux-access.h"
923a60
 
923a60
-#define CONNECTIONS_MAX 512
923a60
+#define CONNECTIONS_MAX 4096
923a60
 
923a60
 static void destroy_bus(Manager *m, sd_bus **bus);
923a60