mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 06:10:12 +01:00
lowering the default max connection value to 64
Change-Id: Ib0f317d6ed0480686d2dbf4ddcfd4a97315959a7 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
4a1c1785d1
commit
f4e9238aaf
@ -41,7 +41,7 @@ number_of_worker_processes=2
|
|||||||
; max. number of parallel connections piler-smtp can handle.
|
; max. number of parallel connections piler-smtp can handle.
|
||||||
; Important! If you want to change this value, then you must first
|
; Important! If you want to change this value, then you must first
|
||||||
; stop piler-smtp, change the value, then start piler-smtp.
|
; stop piler-smtp, change the value, then start piler-smtp.
|
||||||
max_connections=256
|
max_connections=64
|
||||||
|
|
||||||
; number of processed emails per each piler process
|
; number of processed emails per each piler process
|
||||||
max_requests_per_child=1000
|
max_requests_per_child=1000
|
||||||
|
@ -80,7 +80,7 @@ struct _parse_rule config_parse_rules[] =
|
|||||||
{ "listen_addr", "string", (void*) string_parser, offsetof(struct __config, listen_addr), "0.0.0.0", MAXVAL-1},
|
{ "listen_addr", "string", (void*) string_parser, offsetof(struct __config, listen_addr), "0.0.0.0", MAXVAL-1},
|
||||||
{ "listen_port", "integer", (void*) int_parser, offsetof(struct __config, listen_port), "25", sizeof(int)},
|
{ "listen_port", "integer", (void*) int_parser, offsetof(struct __config, listen_port), "25", sizeof(int)},
|
||||||
{ "locale", "string", (void*) string_parser, offsetof(struct __config, locale), "", MAXVAL-1},
|
{ "locale", "string", (void*) string_parser, offsetof(struct __config, locale), "", MAXVAL-1},
|
||||||
{ "max_connections", "integer", (void*) int_parser, offsetof(struct __config, max_connections), "256", sizeof(int)},
|
{ "max_connections", "integer", (void*) int_parser, offsetof(struct __config, max_connections), "64", sizeof(int)},
|
||||||
{ "max_requests_per_child", "integer", (void*) int_parser, offsetof(struct __config, max_requests_per_child), "1000", sizeof(int)},
|
{ "max_requests_per_child", "integer", (void*) int_parser, offsetof(struct __config, max_requests_per_child), "1000", sizeof(int)},
|
||||||
{ "memcached_servers", "string", (void*) string_parser, offsetof(struct __config, memcached_servers), "127.0.0.1", MAXVAL-1},
|
{ "memcached_servers", "string", (void*) string_parser, offsetof(struct __config, memcached_servers), "127.0.0.1", MAXVAL-1},
|
||||||
{ "memcached_to_db_interval", "integer", (void*) int_parser, offsetof(struct __config, memcached_to_db_interval), "900", sizeof(int)},
|
{ "memcached_to_db_interval", "integer", (void*) int_parser, offsetof(struct __config, memcached_to_db_interval), "900", sizeof(int)},
|
||||||
|
Loading…
Reference in New Issue
Block a user