teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0251-sd-bus-bump-message-queue-size-again.patch

b9a53a
From 62623bafd9ce4842122ddeda83f9527e43b9a21f Mon Sep 17 00:00:00 2001
b9a53a
From: Jan Synacek <jsynacek@redhat.com>
b9a53a
Date: Fri, 8 Nov 2019 14:54:30 +0100
b9a53a
Subject: [PATCH] sd-bus: bump message queue size again
b9a53a
b9a53a
Simliarly to issue #4068, the current limit turns out to be too small for a
b9a53a
big storage setup that uses many small disks. Let's bump it further.
b9a53a
b9a53a
(cherry picked from commit 83a32ea7b03d6707b8e5bb90a0b3a6eb868ef633)
b9a53a
Resolves: #1770189
b9a53a
---
b9a53a
 src/libsystemd/sd-bus/bus-internal.h | 4 ++--
b9a53a
 1 file changed, 2 insertions(+), 2 deletions(-)
b9a53a
b9a53a
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h
b9a53a
index 90e6028983..5d773b14c4 100644
b9a53a
--- a/src/libsystemd/sd-bus/bus-internal.h
b9a53a
+++ b/src/libsystemd/sd-bus/bus-internal.h
b9a53a
@@ -328,8 +328,8 @@ struct sd_bus {
b9a53a
  * with enough entropy yet and might delay the boot */
b9a53a
 #define BUS_AUTH_TIMEOUT ((usec_t) DEFAULT_TIMEOUT_USEC)
b9a53a
 
b9a53a
-#define BUS_WQUEUE_MAX (192*1024)
b9a53a
-#define BUS_RQUEUE_MAX (192*1024)
b9a53a
+#define BUS_WQUEUE_MAX (384*1024)
b9a53a
+#define BUS_RQUEUE_MAX (384*1024)
b9a53a
 
b9a53a
 #define BUS_MESSAGE_SIZE_MAX (128*1024*1024)
b9a53a
 #define BUS_AUTH_SIZE_MAX (64*1024)