From 6bb313137b815ec511088a34995e776ead185333 Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Fri, 28 Jul 2023 00:23:16 +0200 Subject: [PATCH] Allow more workers for synapse-proxy apache Signed-off-by: Magic_RB --- nixos/systems/altra/http-synapse-proxy.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixos/systems/altra/http-synapse-proxy.nix b/nixos/systems/altra/http-synapse-proxy.nix index 60ebb9b..919f72e 100644 --- a/nixos/systems/altra/http-synapse-proxy.nix +++ b/nixos/systems/altra/http-synapse-proxy.nix @@ -52,10 +52,16 @@ in { ErrorLog = "/var/log/apache/error.log"; TransferLog = "/var/log/apache/access.log"; - - LogLevel = "debug"; } + { + MaxConnectionsPerChild = 1024; + MaxMemFree = 8192; + ThreadsPerChild = 64; + MaxRequestWorkers = 2048; + ServerLimit = 32; + AsyncRequestWorkerFactor = 8; + } { AddType = singleton [ "image/svg+xml"