From c193cf1d60c379a3d8b8ee6c09c7f9e252b49880 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 12 Sep 2024 12:34:31 +0200 Subject: [PATCH] play it safe (cherry picked from commit f4ab22edbce7e4d2181f5821d1ae83f5ce46bd00) --- core/dovecot/conf/dovecot.conf | 3 ++- towncrier/newsfragments/3450.bugfix | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dovecot/conf/dovecot.conf b/core/dovecot/conf/dovecot.conf index 8ba0a8f2..e16ba8a6 100644 --- a/core/dovecot/conf/dovecot.conf +++ b/core/dovecot/conf/dovecot.conf @@ -89,7 +89,8 @@ plugin { service indexer-worker { executable = /bin/nice -n 10 /usr/libexec/dovecot/indexer-worker - process_limit = {{ CPU_COUNT }} + # TODO: maybe MAXPROC? I guess it depends on how much RAM is available + process_limit = 1 } ############### diff --git a/towncrier/newsfragments/3450.bugfix b/towncrier/newsfragments/3450.bugfix index ec92e429..50c75f22 100644 --- a/towncrier/newsfragments/3450.bugfix +++ b/towncrier/newsfragments/3450.bugfix @@ -1,3 +1,2 @@ Ensure we can do more than 100 parallel sessions. -Make use of all CPUs available for indexing Allow dovecot's config to be overriden in front too