Update sample uwsgi config for lazy-apps

Keystone had a problem where there was a memcached socket
opened very early on startup which then got shared between
worker processes when running under uwsgi. Since we don't have
a test or a way to ensure that no sockets are opened too early
for uwsgi, let's recommend setting lazy-apps to avoid issues.

Change-Id: I8b46c5424094d3abe9a986da4ee1143f72a91a4d
Related-Bug: 1600394
This commit is contained in:
Brant Knudson 2016-08-31 15:41:21 -05:00
parent 7a82aa8a6d
commit cc3e797bca
2 changed files with 6 additions and 0 deletions

View File

@ -20,3 +20,6 @@ processes = 4
thunder-lock = true
plugins = python
# This ensures that file descriptors aren't shared between keystone processes.
lazy-apps = true

View File

@ -20,3 +20,6 @@ processes = 4
thunder-lock = true
plugins = python
# This ensures that file descriptors aren't shared between keystone processes.
lazy-apps = true