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