Tune up mod_wsgi settings in example configuration
Explicitly set mod-wsgi process-group to ceilometer-api in sample This gives the process a good name in process listings. Set number of process and threads to two and ten respectively. This represents a reasonable setting to achieve moderate levels of concurrency. Change-Id: Iada6126cb525d597cc385c2d63e6228ef08d55a7
This commit is contained in:
parent
85b859f42f
commit
5fc5f75c5b
@ -19,15 +19,15 @@
|
||||
# running devstack to configure the software.
|
||||
|
||||
<VirtualHost *>
|
||||
WSGIDaemonProcess ceilometer user=vagrant group=vagrant threads=5
|
||||
WSGIDaemonProcess ceilometer-api user=vagrant group=vagrant processes=2 threads=10
|
||||
WSGIScriptAlias / /opt/stack/ceilometer/ceilometer/api/app.wsgi
|
||||
|
||||
SetEnv APACHE_RUN_USER vagrant
|
||||
SetEnv APACHE_RUN_GROUP vagrant
|
||||
WSGIProcessGroup ceilometer
|
||||
WSGIProcessGroup ceilometer-api
|
||||
|
||||
ErrorLog /var/log/apache2/ceilometer_error.log
|
||||
LogLevel warn
|
||||
CustomLog /var/log/apache2/ceilometer_access.log combined
|
||||
|
||||
</VirtualHost>
|
||||
</VirtualHost>
|
||||
|
Loading…
Reference in New Issue
Block a user