mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
process_count_max: disable by default
This commit is contained in:
parent
d53550de35
commit
fd4194ade0
3 changed files with 6 additions and 6 deletions
|
@ -692,8 +692,8 @@
|
|||
# Limit the maximum amount of processes or threads created by salt-minion.
|
||||
# This is useful to avoid resource exhaustion in case the minion receives more
|
||||
# publications than it is able to handle, as it limits the number of spawned
|
||||
# processes or threads. -1 disables the limit.
|
||||
#process_count_max: 20
|
||||
# processes or threads. -1 is the default and disables the limit.
|
||||
#process_count_max: -1
|
||||
|
||||
|
||||
##### Logging settings #####
|
||||
|
|
|
@ -2426,16 +2426,16 @@ executed in a thread.
|
|||
|
||||
.. versionadded:: Oxygen
|
||||
|
||||
Default: ``20``
|
||||
Default: ``-1``
|
||||
|
||||
Limit the maximum amount of processes or threads created by ``salt-minion``.
|
||||
This is useful to avoid resource exhaustion in case the minion receives more
|
||||
publications than it is able to handle, as it limits the number of spawned
|
||||
processes or threads. ``-1`` disables the limit.
|
||||
processes or threads. ``-1`` is the default and disables the limit.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
process_count_max: 20
|
||||
process_count_max: -1
|
||||
|
||||
.. _minion-logging-settings:
|
||||
|
||||
|
|
|
@ -1261,7 +1261,7 @@ DEFAULT_MINION_OPTS = {
|
|||
'auto_accept': True,
|
||||
'autosign_timeout': 120,
|
||||
'multiprocessing': True,
|
||||
'process_count_max': 20,
|
||||
'process_count_max': -1,
|
||||
'mine_enabled': True,
|
||||
'mine_return_job': False,
|
||||
'mine_interval': 60,
|
||||
|
|
Loading…
Add table
Reference in a new issue