Difference between revisions of "Large Scale Configuration Guidelines"
Arnaud.morin (talk | contribs) (→api.max_limit) |
Arnaud.morin (talk | contribs) |
||
Line 1: | Line 1: | ||
== Large Scale Configuration Guideline == | == Large Scale Configuration Guideline == | ||
=== Introduction === | === Introduction === | ||
+ | === WSGI === | ||
+ | When running a python app as WSGI, you need to use maximum 1 thread! | ||
+ | Example with apache config: | ||
+ | |||
+ | |||
+ | $ grep WSGIDaemonProcess /etc/apache2/sites-available/10-cinder_wsgi.conf | ||
+ | WSGIDaemonProcess cinder-api display-name=cinder_wsgi group=cinder processes=8 threads=1 user=cinder | ||
+ | |||
=== Nova === | === Nova === | ||
==== api.max_limit ==== | ==== api.max_limit ==== |
Revision as of 14:32, 7 May 2021
Contents
Large Scale Configuration Guideline
Introduction
WSGI
When running a python app as WSGI, you need to use maximum 1 thread! Example with apache config:
$ grep WSGIDaemonProcess /etc/apache2/sites-available/10-cinder_wsgi.conf WSGIDaemonProcess cinder-api display-name=cinder_wsgi group=cinder processes=8 threads=1 user=cinder
Nova
api.max_limit
Documentation link: https://docs.openstack.org/nova/latest/configuration/config.html#api.max_limit
This settings needs to be tuned in order to make sure that Nova API will give you an expected number of objects..