Skip to content

Commit

Permalink
Update uwsgi.ini file - lazy-apps
Browse files Browse the repository at this point in the history
  • Loading branch information
mohierf committed Feb 1, 2017
1 parent 4108105 commit 5524879
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions etc/uwsgi.ini
@@ -1,5 +1,5 @@
[uwsgi]
http-socket = 0.0.0.0:5001
http-socket = 0.0.0.0:5000

# Uncomment if you installed from distribution packaging
# plugin = python
Expand All @@ -12,16 +12,21 @@ module = alignak_backend.app:app
enable-threads = true
processes = 4

# Each detached worker loads its own app instance
lazy-apps = true

# Log activity in those files
req-logger = file:/usr/local/var/log/alignak-backend-access.log
logger = file:/usr/local/var/log/alignak-backend-error.log

# Report memory activity to the stats
memory-report = true

# Define specific uid/gid if needed
# uid = root
# guid = root
# Define specific uid/gid if uWSGI started as root
# uid = alignak
# guid = alignak

# Default buffer size for HTTP header is very low (4096)
buffer-size = 32768

# uWSGI master process: use a master process and store its pid
Expand Down

0 comments on commit 5524879

Please sign in to comment.