[Pkg-mailman-hackers] Bug#1014037: mailman3-web: Possible memory leak: uwsgi OOMs after a few weeks
Michael Tremer
michael.tremer at ipfire.org
Wed Jan 15 15:18:21 GMT 2025
Hello everyone,
> On 15 Jan 2025, at 15:04, Antoine Beaupré <anarcat at debian.org> wrote:
>
> Control: tags -1 -moreinfo
>
> On 2024-04-25 01:59:07, Pierre-Elliott Bécue wrote:
>> Peter Chubb <peter.chubb at unsw.edu.au> wrote on 29/06/2022 at 03:11:15+0200:
>
> [...]
>
>> Having the same kind of setup for the past 6 years, I never had such an
>> issue.
>>
>> Do you have more intel?
>
> What do you need? :)
I would also happy to provide more information.
> Here you can see uwsgi suddenly spiking up to 12GB of RAM, mostly
> resident (RSS) memory.
>
> It seems memory leaks is a known issue with uwsgi. Our investigation
> shows there are numerous upstream bug reports about it, this search
> counts 9 reports mentioning "memory leak":
>
> https://github.com/unbit/uwsgi/issues?q=is%3Aissue+is%3Aopen+memory+leak
>
> I should also mention that uwsgi is "in maintenance mode" according to
> the upstream README.
>
> This thread on the upstream mailman mailing list mentions people don't
> have this kind of problem with gunicorn:
>
> https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/QCTB7Y6W7I7GDRCIJKFNEVQB7DSNC4WG/
I am running mailman3-web in Apache with mod_wsgi and I also have the same memory usage problem. Therefore I thought it was a mailman3 problem rather than in the application that is hosting it.
I would be happy to hear if running mailman3 in Gunicorn resolves the problem, but maybe it is just a coincidence that the problem doesn’t appear there?
All the best,
-Michael
More information about the Pkg-mailman-hackers
mailing list