valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0074-Allow-up-to-4096-simultaneous-connections.patch

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