Put horizon in its own process
This change makes mod_wsgi create standalone processes for horizon. This avoids obscure start up errors when mod_wsgi needs to spawn a new process or thread. These restarts occur, for example, when mod_wsgi receives a request from a client that is accessing the service through a non-standard SSL port that is mapped to the port mod_wsgi is listening on. Change-Id: I5907b5c06cef0272ee145c277f79f23ba37741a4 Closes-Bug: #1499073
This commit is contained in:
parent
d7450b1a10
commit
f28e412db7
@ -31,6 +31,8 @@
|
||||
|
||||
WSGIScriptAlias / {{ horizon_lib_dir }}/openstack_dashboard/wsgi/django.wsgi
|
||||
WSGIDaemonProcess horizon user={{ horizon_system_user_name }} group={{ horizon_system_group_name }} processes={{ ansible_processor_cores }} threads={{ threads if threads > 0 else 1 }}
|
||||
WSGIProcessGroup horizon
|
||||
WSGIApplicationGroup horizon
|
||||
|
||||
Alias /static {{ horizon_lib_dir }}/static/
|
||||
<Directory /usr/local/lib/python2.7/dist-packages/openstack_dashboard/wsgi/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user