Skip to content

Commit

Permalink
Adjust thread/process counts on httpd services (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianunruh authored Jul 10, 2024
1 parent 64a51cc commit 102fc76
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ci/preview/capi/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
template:
spec:
cloudName: default
flavor: c1-medium
flavor: hm1-medium
identityRef:
kind: Secret
name: cluster-admin-keystone
Expand Down Expand Up @@ -128,7 +128,7 @@ spec:
template:
spec:
cloudName: default
flavor: c1-large
flavor: hm1-large
identityRef:
kind: Secret
name: cluster-admin-keystone
Expand Down
2 changes: 1 addition & 1 deletion templates/heat/httpd-heat-api-cfn.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

<VirtualHost *:8000>
WSGIScriptAlias / /var/lib/kolla/venv/bin/heat-wsgi-api-cfn
WSGIDaemonProcess heat-api-cfn processes=1 threads=10 user=heat group=heat display-name=%{GROUP}
WSGIDaemonProcess heat-api-cfn processes=4 threads=1 user=heat group=heat display-name=%{GROUP}
WSGIProcessGroup heat-api-cfn
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
Expand Down
2 changes: 1 addition & 1 deletion templates/heat/httpd-heat-api.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

<VirtualHost *:8004>
WSGIScriptAlias / /var/lib/kolla/venv/bin/heat-wsgi-api
WSGIDaemonProcess heat-api processes=1 threads=10 user=heat group=heat display-name=%{GROUP}
WSGIDaemonProcess heat-api processes=4 threads=1 user=heat group=heat display-name=%{GROUP}
WSGIProcessGroup heat-api
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
Expand Down
2 changes: 1 addition & 1 deletion templates/horizon/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

<VirtualHost *:8080>
WSGIScriptAlias / /var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/wsgi.py process-group=horizon
WSGIDaemonProcess horizon user=horizon group=horizon processes=1 threads=10 display-name=%{GROUP}
WSGIDaemonProcess horizon user=horizon group=horizon processes=4 threads=1 display-name=%{GROUP}
WSGIProcessGroup horizon
WSGIApplicationGroup %{GLOBAL}

Expand Down
2 changes: 1 addition & 1 deletion templates/nova/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

<VirtualHost *:{{ .ListenPort }}>
WSGIScriptAlias / /var/lib/kolla/venv/bin/nova-api-wsgi
WSGIDaemonProcess nova-api processes=1 threads=10 user=nova group=nova display-name=%{GROUP}
WSGIDaemonProcess nova-api processes=4 threads=1 user=nova group=nova display-name=%{GROUP}
WSGIProcessGroup nova-api
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
Expand Down
2 changes: 1 addition & 1 deletion templates/octavia/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

<VirtualHost *:9876>
WSGIScriptAlias / /var/lib/kolla/venv/bin/octavia-wsgi
WSGIDaemonProcess octavia-api processes=1 threads=10 user=octavia group=octavia display-name=%{GROUP}
WSGIDaemonProcess octavia-api processes=4 threads=1 user=octavia group=octavia display-name=%{GROUP}
WSGIProcessGroup octavia-api
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
Expand Down
2 changes: 1 addition & 1 deletion templates/placement/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

<VirtualHost *:8778>
WSGIScriptAlias / /var/lib/kolla/venv/bin/placement-api
WSGIDaemonProcess placement-api processes=1 threads=10 user=placement group=placement display-name=%{GROUP}
WSGIDaemonProcess placement-api processes=4 threads=1 user=placement group=placement display-name=%{GROUP}
WSGIProcessGroup placement-api
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
Expand Down

0 comments on commit 102fc76

Please sign in to comment.