File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def http_internal_server_error(e):
163163if MEMCACHED_MODE :
164164 try :
165165 # Use client pool to maintain a pool of already-connected clients for improved performance
166- # The uwsgi config launches the app across multiple threads (8 ) inside each process (32 ), making essentially 256 processes
166+ # The uwsgi config launches the app across multiple threads (16 ) inside each process (16 ), making essentially 256 processes
167167 # Set the connect_timeout and timeout to avoid blocking the process when memcached is slow, defaults to "forever"
168168 # connect_timeout: seconds to wait for a connection to the memcached server
169169 # timeout: seconds to wait for send or reveive calls on the socket connected to memcached
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ log-4xx = true
1313log-5xx = true
1414logto = /usr/src/app/log/uwsgi-entity-api.log
1515
16- # Master with 32 worker process (based on CPU number)
16+ # Master with 16 worker processes (based on CPU number)
1717master = true
18- processes = 32
18+ processes = 16
1919
2020# Enable the multithreading within uWSGI
2121# Launch the application across multiple threads inside each process
2222enable-threads = True
23- threads = 8
23+ threads = 16
2424
2525# Use http socket for integration with nginx running on the same machine
2626socket = localhost:5000
You can’t perform that action at this time.
0 commit comments