Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make webapp containers "smaller" from a memory footprint standpoint, …
…log memory usage, bump desired count to 2
- Loading branch information
jbraswell
committed
Mar 29, 2018
1 parent
86d70b0
commit e7391da
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
[uwsgi] | ||
master = 1 | ||
memory-report = true | ||
module = tomato.wsgi | ||
http = 0.0.0.0:8000 | ||
max-requests = 50 | ||
processes = 32 | ||
log-format = [pid: %(pid)|app: -|req: -/-] %(addr) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core)) uagent (%(uagent)) | ||
processes = 16 | ||
log-format = [pid: %(pid)|app: -|req: -/-] %(addr) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core)) uagent (%(uagent)) vszM %(vszM) rssM %(rssM) |