Set display name in apache processes
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
This commit is contained in:
parent
6db41b9716
commit
2c95fcd60c
@ -1,6 +1,6 @@
|
||||
<VirtualHost *:80>
|
||||
WSGIScriptAlias / %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi
|
||||
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR%
|
||||
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR% display-name=%{GROUP}
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
|
||||
SetEnv APACHE_RUN_USER %USER%
|
||||
|
@ -2,7 +2,7 @@ Listen %PUBLICPORT%
|
||||
Listen %ADMINPORT%
|
||||
|
||||
<VirtualHost *:%PUBLICPORT%>
|
||||
WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER%
|
||||
WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP}
|
||||
WSGIProcessGroup keystone-public
|
||||
WSGIScriptAlias / %PUBLICWSGI%
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
@ -12,7 +12,7 @@ Listen %ADMINPORT%
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:%ADMINPORT%>
|
||||
WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER%
|
||||
WSGIDaemonProcess keystone-admin processes=5 threads=1 user=%USER% display-name=%{GROUP}
|
||||
WSGIProcessGroup keystone-admin
|
||||
WSGIScriptAlias / %ADMINWSGI%
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
|
Loading…
Reference in New Issue
Block a user