2c95fcd60c
This change makes apache set process group name in the process name, so when listing the processes the user can easily identify what's running in each apache process. This is specially useful to debug memory consumption or when a process consumming too much CPU. Change-Id: I9787980052f451f452d3b8e5e51385ad5aa01e6a
27 lines
909 B
Plaintext
27 lines
909 B
Plaintext
Listen %PUBLICPORT%
|
|
Listen %ADMINPORT%
|
|
|
|
<VirtualHost *:%PUBLICPORT%>
|
|
WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP}
|
|
WSGIProcessGroup keystone-public
|
|
WSGIScriptAlias / %PUBLICWSGI%
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
ErrorLog /var/log/%APACHE_NAME%/keystone
|
|
LogLevel debug
|
|
CustomLog /var/log/%APACHE_NAME%/access.log combined
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:%ADMINPORT%>
|
|
WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP}
|
|
WSGIProcessGroup keystone-admin
|
|
WSGIScriptAlias / %ADMINWSGI%
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
ErrorLog /var/log/%APACHE_NAME%/keystone
|
|
LogLevel debug
|
|
CustomLog /var/log/%APACHE_NAME%/access.log combined
|
|
</VirtualHost>
|
|
|
|
# Workaround for missing path on RHEL6, see
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1121019
|
|
WSGISocketPrefix /var/run/%APACHE_NAME%
|