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:
parent
7a82aa8a6d
commit
cc3e797bca
@ -20,3 +20,6 @@ processes = 4
|
|||||||
thunder-lock = true
|
thunder-lock = true
|
||||||
|
|
||||||
plugins = python
|
plugins = python
|
||||||
|
|
||||||
|
# This ensures that file descriptors aren't shared between keystone processes.
|
||||||
|
lazy-apps = true
|
||||||
|
@ -20,3 +20,6 @@ processes = 4
|
|||||||
thunder-lock = true
|
thunder-lock = true
|
||||||
|
|
||||||
plugins = python
|
plugins = python
|
||||||
|
|
||||||
|
# This ensures that file descriptors aren't shared between keystone processes.
|
||||||
|
lazy-apps = true
|
||||||
|
Loading…
Reference in New Issue
Block a user