summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2016-11-04 11:12:43 +0100
committerGiulio Fidente <gfidente@redhat.com>2016-11-04 11:12:43 +0100
commit69be131d4075e5347b18c342b4de4fb503de39a5 (patch)
tree1c7a7937489e5171db76cde4aea7ded589fe090a /puppet
parent2df74cc8295bcc96add61d559068153056ba3e5d (diff)
Defaults kernel.pid_max to 1048576
In some scenarios we reach the kernel.pid_max value, this change adds a parameter to the Kernel service for configuration of the sysctl key and defaults it to 1048576. Change-Id: Id8f3e6b7ed9846022898d7158fe9180418847085 Closes-Bug: #1639191
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/kernel.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/services/kernel.yaml b/puppet/services/kernel.yaml
index 1fc88bf1..69898718 100644
--- a/puppet/services/kernel.yaml
+++ b/puppet/services/kernel.yaml
@@ -18,6 +18,10 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
+ KernelPidMax:
+ default: 1048576
+ description: Configures sysctl kernel.pid_max key
+ type: number
outputs:
role_data:
@@ -49,5 +53,7 @@ outputs:
value: 0
net.core.netdev_max_backlog:
value: 10000
+ kernel.pid_max:
+ value: {get_param: KernelPidMax}
step_config: |
include ::tripleo::profile::base::kernel