From 62c70148f0fb97609acff0181fdd09245a8a617e Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 8 Feb 2024 14:45:35 +0100 Subject: [PATCH] Ajout d'une optimisation pour Postfix --- HowtoPostfix.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/HowtoPostfix.md b/HowtoPostfix.md index 58be7090..21188d8c 100644 --- a/HowtoPostfix.md +++ b/HowtoPostfix.md @@ -1696,4 +1696,29 @@ On peut ainsi par exemple rechercher les emails entre le 18 mai 2016 et 11 octob $ find $HOME/Maildir/.foo/ -type f -newermt 2016-05-18 ! -newermt 2016-09-11 ~~~ +### warning: service "smtp" (25) has reached its process limit "100" + +En cas de message d'erreur du type : + +~~~ +postfix/master: warning: service "smtp" (25) has reached its process limit "100": new clients may experience noticeable delays +postfix/master: warning: to avoid this condition, increase the process count in master.cf or reduce the service time per client +postfix/master: warning: see http://www.postfix.org/STRESS_README.html for examples of stress-adapting configuration settings +~~~ + +Vous pouvez augmenter le paramètre `maxproc` ainsi dans le `master.cf` : + +~~~ +# service type private unpriv chroot wakeup maxproc command + args +# (yes) (yes) (yes) (never) (100) +# ========================================================================== +smtp inet n - y - 1000 smtpd +~~~ + +ou alors de façon plus globale le paramètre `default_process_limit` : + +~~~ +default_process_limit = 500 +~~~ +