From 1459e74b5abc196dd4178577a0ba514ba4d0ca76 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Wed, 19 Mar 2025 12:26:34 +0100 Subject: [PATCH] [pagure] Tweak the performance of httpd server Today the pagure started to be unresponsive. After few hours of debugging we narrowed the issue to worker limit. We tweaked the value to something that should be more responsive and it helped. Here is the PR to make the change permanent. Thanks @gwmngilfen and @nphillip for help with that. --- roles/pagure/templates/0_pagure.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/pagure/templates/0_pagure.conf b/roles/pagure/templates/0_pagure.conf index 8ed899f6de..81e84ec666 100644 --- a/roles/pagure/templates/0_pagure.conf +++ b/roles/pagure/templates/0_pagure.conf @@ -13,8 +13,9 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na Protocols h2 h2c http/1.1 -ServerLimit 1500 -MaxRequestWorkers 1500 +ServerLimit 100 +ThreadsPerChild 30 +MaxRequestWorkers 3000 MaxConnectionsPerChild 1000 ## Redirects http -> https