From 5fc5f75c5bd3ddc902edc370a4bd65e3d5073930 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Tue, 16 Sep 2014 17:09:19 +0100 Subject: [PATCH] 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 --- etc/apache2/ceilometer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/apache2/ceilometer b/etc/apache2/ceilometer index 53d87ceec..86df3dbfb 100644 --- a/etc/apache2/ceilometer +++ b/etc/apache2/ceilometer @@ -19,15 +19,15 @@ # running devstack to configure the software. - 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 - \ No newline at end of file +