NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

flatcurve: change default amount of processes to 1

31e001eb
DerLinkman <[email protected]> 1 year, 6 months ago
generate_config.sh | 2 +-
 update.sh          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Diff

diff --git a/generate_config.sh b/generate_config.sh
index 6e66c919..3044ab8d 100755
--- a/generate_config.sh
+++ b/generate_config.sh
@@ -394,7 +394,7 @@ FTS_HEAP=128
 # Too many indexing processes can use a lot of CPU and Disk I/O.
 # Please visit: https://doc.dovecot.org/configuration_manual/service_configuration/#indexer-worker for more informations
 
-FTS_PROCS=5
+FTS_PROCS=1
 
 # Allow admins to log into SOGo as email user (without any password)
 
diff --git a/update.sh b/update.sh
index 6d9f8dd7..1d0bfe8b 100755
--- a/update.sh
+++ b/update.sh
@@ -466,7 +466,7 @@ adapt_new_options() {
         echo '# Dovecot Indexing (FTS) Process maximum heap size in MB, there is no recommendation, please see Dovecot docs.' >> mailcow.conf
         echo '# Flatcurve is used as FTS Engine. It is supposed to be pretty efficient in CPU and RAM consumption.' >> mailcow.conf
         echo '# Please always monitor your Resource consumption!' >> mailcow.conf
-        echo "FTS_HEAP=1024" >> mailcow.conf
+        echo "FTS_HEAP=128" >> mailcow.conf
       fi
     elif [[ ${option} == "SKIP_FTS" ]]; then
       if ! grep -q ${option} mailcow.conf; then
@@ -481,7 +481,7 @@ adapt_new_options() {
         echo '# Controls how many processes the Dovecot indexing process can spawn at max.' >> mailcow.conf
         echo '# Too many indexing processes can use a lot of CPU and Disk I/O' >> mailcow.conf
         echo '# Please visit: https://doc.dovecot.org/configuration_manual/service_configuration/#indexer-worker for more informations' >> mailcow.conf
-        echo "FTS_PROCS=2" >> mailcow.conf
+        echo "FTS_PROCS=1" >> mailcow.conf
       fi
     elif [[ ${option} == "ENABLE_SSL_SNI" ]]; then
       if ! grep -q ${option} mailcow.conf; then