On 9/16/20 8:25 AM, Pawel Grzywaczewski wrote:
We increased timeout in mailman.cfg
[gunicorn] workers: 4 timeout: 900
This doesn't do it. In order to pass configuration settings to the REST gunicorn servers, you need to put in mailman.cfg
[webservice]
configuration: /path/to/gunicorn.cfg
and then put settings like these
[gunicorn]
workers: 4
timeout: 900
in /path/to/gunicorn.cfg. Some settings, but only hostname, port and workers can be put in mailman.cfg, but in the [webservice] section, not in a [gunicorn] section. See <https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/rest/gunicorn.py#L48> for more detail.
And we increased timeout in nginx
http { # MODIF UNICORN proxy_connect_timeout 300s; proxy_read_timeout 300s; # MODIF UNICORN
nginx is not involved. These are not proxied requests through nginx. They are requests to Mailman's REST API which use a separate gunicorn server.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan