increase more sysctl values by default to allow 256k threads per process

and 2M threads in total, LP: #1420339
This commit is contained in:
Nobuto Murata
2015-02-16 15:35:20 +09:00
parent fc1fda6136
commit 5e1b9194ad

View File

@@ -157,12 +157,13 @@ options:
your network interface.
sysctl:
type: string
default: '{ kernel.pid_max : 2097152 }'
default: '{ kernel.pid_max : 2097152, vm.max_map_count : 524288, kernel.threads-max: 2097152 }'
description: |
YAML-formatted associative array of sysctl key/value pairs to be set
persistently. As a default we set pid_max to a high value to avoid
problems with large numbers (>20) of OSDs recovering. very large clusters
should set this value even higher (max 4194303).
persistently. As a default we set pid_max, max_map_count and
threads-max to a high value to avoid problems with large numbers (>20)
of OSDs recovering. very large clusters should set pid_max even
higher (max 4194303).
nagios_context:
default: "juju"
description: |