[nobuto,r=hopem]

Increase more sysctl values by default to allow 256k
threads per process and 2M threads in total.

Closes-Bug: #1420339
This commit is contained in:
Edward Hope-Morley 2015-02-19 10:17:31 +00:00
commit 84c16fe67d

View File

@ -157,13 +157,16 @@ 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. By 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 those values even
higher (e.g. max for kernel.pid_max is 4194303).
nagios_context:
type: string
default: "juju"
description: |
Used by the nrpe-external-master subordinate charm.