forked from CAVEconnectome/AnnotationEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuwsgi.ini
More file actions
33 lines (30 loc) · 690 Bytes
/
uwsgi.ini
File metadata and controls
33 lines (30 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[uwsgi]
socket = /tmp/uwsgi.sock
chown-socket = nginx:nginx
chmod-socket = 664
# Graceful shutdown on SIGTERM, see https://github.com/unbit/uwsgi/issues/849#issuecomment-118869386
hook-master-start = unix_signal:15 gracefully_kill_them_all
module = run
callable = application
need-app = true
uid = nginx
gid = nginx
master = true
vacuum = true
auto-procname = true
env = HOME=/home/nginx
cheaper = 1
processes = %(%k + 1)
enable-threads = true
die-on-term = true
listen = 128
max-requests = 2048
max-worker-lifetime = 3600
reload-on-rss = 128
buffer-size = 32768g
harakiri = 600
http-timeout = 600
socket-timeout = 600
worker-reload-mercy = 600
reload-mercy = 600
mule-reload-mercy = 600