Skip to content

Commit 4dba262

Browse files
committed
settings: Add default_* service settings
1 parent d278613 commit 4dba262

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

data/settings.js

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4588,6 +4588,22 @@ Path to the CDB database file.`
45884588
text: `The log file to use for debug messages.`
45894589
},
45904590

4591+
default_client_limit: {
4592+
values: setting_types.UINT,
4593+
default: '1000',
4594+
text: `
4595+
Default value for [[setting,service_client_limit]], if not overridden by
4596+
service-specific configuration.`
4597+
},
4598+
4599+
default_idle_kill_interval: {
4600+
values: setting_types.TIME,
4601+
default: '1 min',
4602+
text: `
4603+
Default value for [[setting,service_idle_kill_interval]], if not overridden by
4604+
service-specific configuration.`
4605+
},
4606+
45914607
default_internal_group: {
45924608
default: 'dovecot',
45934609
seealso: [ 'default_internal_user' ],
@@ -4617,6 +4633,22 @@ This is the least trusted user in Dovecot: this user should not have access
46174633
to anything at all.`
46184634
},
46194635

4636+
default_process_limit: {
4637+
values: setting_types.UINT,
4638+
default: '100',
4639+
text: `
4640+
Default value for [[setting,service_process_limit]], if not overridden by
4641+
service-specific configuration.`
4642+
},
4643+
4644+
default_vsz_limit: {
4645+
values: setting_types.SIZE,
4646+
default: '256 M',
4647+
text: `
4648+
Default value for [[setting,service_vsz_limit]], if not overridden by
4649+
service-specific configuration.`
4650+
},
4651+
46204652
deliver_log_format: {
46214653
default: 'msgid=%m: %$',
46224654
values: setting_types.STRING_NOVAR,
@@ -9913,15 +9945,15 @@ is launched.
99139945
service_process_limit: {
99149946
tags: [ 'service' ],
99159947
values: setting_types.UINT,
9916-
default: 100,
9948+
default: '[[setting,default_process_limit]]',
99179949
text: `
99189950
The maximum number of processes that may exist for this service.`
99199951
},
99209952

99219953
service_client_limit: {
99229954
tags: [ 'service' ],
99239955
values: setting_types.UINT,
9924-
default: 1000,
9956+
default: '[[setting,default_client_limit]]',
99259957
text: `
99269958
Maximum number of simultaneous client connections per process. Once this number
99279959
of connections is received, the next incoming connection will prompt Dovecot to
@@ -9950,7 +9982,7 @@ can be good values.`
99509982
This behavior was redesigned to work better in busy servers.`,
99519983
},
99529984
values: setting_types.TIME,
9953-
default: '1 min',
9985+
default: '[[setting,default_idle_kill_interval]]',
99549986
text: `
99559987
Time interval between killing extra idling processes. During the interval the
99569988
master process tracks the lowest number of idling processes for the service.
@@ -9964,7 +9996,7 @@ Using \`infinite\` disables the idle-killing.`
99649996
service_vsz_limit: {
99659997
tags: [ 'service' ],
99669998
values: setting_types.SIZE,
9967-
default: '256 M',
9999+
default: '[[setting,default_vsz_limit]]',
996810000
text: `
996910001
Limit the process's address space (both \`RLIMIT_DATA\` and \`RLIMIT_AS\` if
997010002
available). When the space is reached, some memory allocations may start

0 commit comments

Comments
 (0)