typo in uwsgi.ini
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mailman 3 Web Charm |
Fix Released
|
Undecided
|
Unassigned | ||
mailman-suite (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Package: mailman3-web
Version: 0+20170523-14
/etc/mailman3-
ubuntu@
master = true
process = 2
ubuntu@
There should be 3 processes (the master + 2), but there are only 2:
ubuntu@
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
www-data 5099 0.0 0.3 242632 60076 ? Ss Nov07 0:01 /usr/bin/uwsgi --ini /etc/mailman3/
www-data 5102 0.0 0.3 316364 53656 ? Sl Nov07 0:00 \_ /usr/bin/uwsgi --ini /etc/mailman3/
ubuntu@
Changing "process" to "processes", which is what the uwsgi documentation says to use, yields the expected number:
ubuntu@
# Setup default number of processes and threads per process.
master = true
processes = 2
ubuntu@
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
www-data 9345 0.0 0.3 242776 62228 ? Ss 01:45 0:00 /usr/bin/uwsgi --ini /etc/mailman3/
www-data 9347 0.0 0.3 316508 55160 ? Sl 01:45 0:00 \_ /usr/bin/uwsgi --ini /etc/mailman3/
www-data 9349 0.0 0.3 316508 55160 ? Sl 01:45 0:00 \_ /usr/bin/uwsgi --ini /etc/mailman3/
ubuntu@
Please consider changing the config file in the package to use the correct key.
We're updating the mailman3-web-charm to manage uwsgi.ini and to use the correct "processes" directive.