File 0002-Allow-up-to-4096-simultaneous-connections.patch of Package systemd.1059
Based on cbecf9bf929318533fea798c57c10efcf6b2b447 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 4 Mar 2015 16:32:17 +0100
Subject: [PATCH] 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.
---
src/core/dbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- src/core/dbus.c
+++ 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);