Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust thread/process counts on httpd services #158

Merged
merged 2 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading