]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Change worker defaults to ::os_workers
authorMaksym Yatsenko <maxy.1982@gmail.com>
Mon, 10 Oct 2016 13:57:46 +0000 (16:57 +0300)
committerAlex Schultz <aschultz@redhat.com>
Thu, 13 Oct 2016 19:44:37 +0000 (13:44 -0600)
commit51f5519f11ba212e9d9c68ca51929db2b405ab77
tree32379272288f2f368469a8ecb0d8ad67da82fcca
parentd4aa3e5cad9b66044d31f0c885458aac7cfbc792
Change worker defaults to ::os_workers

This patch changes the default worker count from ::processorcount to the
new ::os_workers fact. ::os_workers is based on the number of processors
(currently cpu/4) but is capped at a maximum of 8 worker processors.
This is a much more reasonable default in general and prevents excessive
resource consumption on systems with a large number of CPUs.

Change-Id: I6b994becf8963020a56902785e2c569553c95a14
manifests/wsgi/apache.pp
releasenotes/notes/os_workers_for_worker_count-05563e8178495993.yaml [new file with mode: 0644]
spec/classes/ceilometer_api_spec.rb
spec/classes/ceilometer_db_postgresql_spec.rb
spec/classes/ceilometer_db_sync_spec.rb
spec/classes/ceilometer_wsgi_apache_spec.rb