diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-02-17 02:44:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-17 02:44:02 +0000 |
commit | 053b65b95a25039c0569eb243bdb0a534eeedadd (patch) | |
tree | afc768c68350298f9fe11b5348d7bb67d2fb6396 /build | |
parent | 8d54827c99506e0874569b384090fceb60c62eb2 (diff) | |
parent | 6e4a8918101498eef1ded4e9e605f4391a39976d (diff) |
Merge "Sync os_workers fact with upstream"
Diffstat (limited to 'build')
-rw-r--r-- | build/f_repos/patch/fuel-library/0002-Rework-processorcount-limits-to-os_workers.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/f_repos/patch/fuel-library/0002-Rework-processorcount-limits-to-os_workers.patch b/build/f_repos/patch/fuel-library/0002-Rework-processorcount-limits-to-os_workers.patch index 53b1b6009..715cdd33b 100644 --- a/build/f_repos/patch/fuel-library/0002-Rework-processorcount-limits-to-os_workers.patch +++ b/build/f_repos/patch/fuel-library/0002-Rework-processorcount-limits-to-os_workers.patch @@ -253,8 +253,8 @@ index 0000000..404fb90 +# used to determine number of workers in a single place but use it across all +# modules. +# -+# The value for os_workers is max between '(<# processors> / 4)' and '2' with -+# a cap of 8. ++# The value for os_workers is max between '(<# processors> / 2)' and '2' with ++# a cap of 12. +# +# This fact can be overloaded by an external fact from /etc/factor/facts.d if +# a user would like to provide their own default value. @@ -263,7 +263,7 @@ index 0000000..404fb90 + has_weight 100 + setcode do + processors = Facter.value('processorcount') -+ [ [ (processors.to_i / 4), 2 ].max, 8 ].min ++ [ [ (processors.to_i / 2), 2 ].max, 12 ].min + end +end diff --git a/deployment/puppet/osnailyfacter/manifests/apache_mpm.pp b/deployment/puppet/osnailyfacter/manifests/apache_mpm.pp |