user can sepcify the max connections piler-smtp can handle

Change-Id: Id92d625d354838558a63dfdd668143168bb7ebee
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ
2016-10-30 22:53:49 +01:00
parent 49348fd261
commit 4a1c1785d1
4 changed files with 27 additions and 11 deletions

View File

@ -35,7 +35,13 @@ default_retention_days=2557
encrypt_messages=1
; number of worker processes, ie. the number of simultaneous smtp connections to piler.
number_of_worker_processes=10
; This value should be the number of cpus + 1, ie. 2 for a single cpu host
number_of_worker_processes=2
; max. number of parallel connections piler-smtp can handle.
; Important! If you want to change this value, then you must first
; stop piler-smtp, change the value, then start piler-smtp.
max_connections=256
; number of processed emails per each piler process
max_requests_per_child=1000