typo in uwsgi.ini

Bug #1802212 reported by Paul Collins
8
This bug affects 1 person
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-web/uwsgi.ini has the following:

ubuntu@neat-satyr:~$ grep process\ \\\|master\ /etc/mailman3/uwsgi.ini
master = true
process = 2
ubuntu@neat-satyr:~$ _

There should be 3 processes (the master + 2), but there are only 2:

ubuntu@neat-satyr:~$ ps uf -C uwsgi
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/uwsgi.ini
www-data 5102 0.0 0.3 316364 53656 ? Sl Nov07 0:00 \_ /usr/bin/uwsgi --ini /etc/mailman3/uwsgi.ini
ubuntu@neat-satyr:~$ _

Changing "process" to "processes", which is what the uwsgi documentation says to use, yields the expected number:

ubuntu@neat-satyr:~$ grep processes\ \\\|master\ /etc/mailman3/uwsgi.ini
# Setup default number of processes and threads per process.
master = true
processes = 2
ubuntu@neat-satyr:~$ ps uf -C uwsgi
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/uwsgi.ini
www-data 9347 0.0 0.3 316508 55160 ? Sl 01:45 0:00 \_ /usr/bin/uwsgi --ini /etc/mailman3/uwsgi.ini
www-data 9349 0.0 0.3 316508 55160 ? Sl 01:45 0:00 \_ /usr/bin/uwsgi --ini /etc/mailman3/uwsgi.ini
ubuntu@neat-satyr:~$ _

Please consider changing the config file in the package to use the correct key.

Revision history for this message
Paul Collins (pjdc) wrote :

We're updating the mailman3-web-charm to manage uwsgi.ini and to use the correct "processes" directive.

Changed in mailman-suite (Ubuntu):
status: New → Fix Committed
status: Fix Committed → New
Changed in mailman3-web-charm:
status: New → Fix Committed
Revision history for this message
Tom Haddon (mthaddon) wrote :

I've just published cs:~mailman3-charmers/mailman3-web-19

Changed in mailman3-web-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.