Merge "Reduce the number of workers spawned by services"

This commit is contained in:
Zuul 2018-03-10 15:56:01 +00:00 committed by Gerrit Code Review
commit b177040b6c
5 changed files with 11 additions and 8 deletions

View File

@ -452,7 +452,7 @@ conf:
use_stderr: true
enable_v1_api: false
volume_name_template: "%s"
osapi_volume_workers: 8
osapi_volume_workers: 1
glance_api_version: 2
os_region_name: RegionOne
host: cinder-volume-worker

View File

@ -218,6 +218,7 @@ conf:
#NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section.
bind_port: null
workers: 1
keystone_authtoken:
auth_type: password
auth_version: v3
@ -266,6 +267,7 @@ conf:
#NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section.
bind_port: null
workers: 1
keystone_authtoken:
auth_type: password
auth_version: v3

View File

@ -210,7 +210,7 @@ conf:
resource_types:OS::Cinder::QoSSpecs: rule:project_admin
heat:
DEFAULT:
num_engine_workers: 4
num_engine_workers: 1
trusts_delegated_roles: ""
host: heat-engine
keystone_authtoken:
@ -226,17 +226,17 @@ conf:
#NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section.
bind_port: null
workers: 4
workers: 1
heat_api_cloudwatch:
#NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section.
bind_port: null
workers: 4
workers: 1
heat_api_cfn:
#NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section.
bind_port: null
workers: 4
workers: 1
paste_deploy:
api_paste_config: /etc/heat/api-paste.ini
clients:

View File

@ -25,7 +25,7 @@ CustomLog /dev/stdout combined env=!forwarded
CustomLog /dev/stdout proxy env=forwarded
<VirtualHost *:{{ tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}>
WSGIDaemonProcess keystone-public processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
WSGIDaemonProcess keystone-public processes=1 threads=1 user=keystone group=keystone display-name=%{GROUP}
WSGIProcessGroup keystone-public
WSGIScriptAlias / /var/www/cgi-bin/keystone/keystone-wsgi-public
WSGIApplicationGroup %{GLOBAL}
@ -41,7 +41,7 @@ CustomLog /dev/stdout proxy env=forwarded
</VirtualHost>
<VirtualHost *:{{ tuple "identity" "internal" "admin" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}>
WSGIDaemonProcess keystone-admin processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
WSGIDaemonProcess keystone-admin processes=1 threads=1 user=keystone group=keystone display-name=%{GROUP}
WSGIProcessGroup keystone-admin
WSGIScriptAlias / /var/www/cgi-bin/keystone/keystone-wsgi-admin
WSGIApplicationGroup %{GLOBAL}

View File

@ -954,7 +954,8 @@ conf:
# via the endpoints section.
bind_port: null
default_availability_zones: nova
api_workers: 4
api_workers: 1
rpc_workers: 1
allow_overlapping_ips: True
# core_plugin can be: ml2, calico
core_plugin: ml2