Skip to content

Commit

Permalink
Update uwsgi.ini file:
Browse files Browse the repository at this point in the history
- use master process
- comment lazy-apps
  • Loading branch information
mohierf committed Feb 1, 2017
1 parent 4e05ec1 commit bf0e5cb
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions etc/uwsgi.ini
@@ -1,20 +1,36 @@
[uwsgi]
http-socket = 0.0.0.0:5000

# Uncomment if you installed from distribution packaging
# plugin = python
# Uncomment if you installed from distribution packaging
# plugin = logfile

# Python module
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
# 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 pid
# uWSGI master process: use a master process and store its pid
master = true
pidfile = /tmp/alignak-backend.pid

# ---
Expand Down

0 comments on commit bf0e5cb

Please sign in to comment.