From 69be131d4075e5347b18c342b4de4fb503de39a5 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Fri, 4 Nov 2016 11:12:43 +0100 Subject: 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 --- puppet/services/kernel.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'puppet/services/kernel.yaml') 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 -- cgit 1.2.3-korg