Washington Odhiambo via Mailman-users writes:
On Thu, Jan 22, 2026 at 10:07?PM Stephen J. Turnbull <steve@turnbull.jp> wrote:
The patch seems very simple, I don't see why it would cause the problems you see. Are there any other changes vs. the stock version you have?
None.
Well, at least that means we know exactly what you're running in Mailman. But this could be a problem in any of the dependencies pulled in, as well.
I have not been in close contact with this situation ever since I switched to Gunicorn. And TBH, I have not seen any OOMs happening on the host.
So you do not have a resource limitation, specifically memory, set on the processes? This can be done with ulimit in the shell, and I'd bet it can be done by systemd, but if you didn't do it it's very unlikely that such a limit is in effect.
Many multiprocess or multithread server implementations have a tuning parameter where each task is limited to processing N requests, then it exits and a new one is initialized. If gunicorn has such a feature, lowering the number of tasks before exit might help keep memory usage down if there's a leak.
Limiting the number of requests before a worker thread/process exits is still my best guess for immediate relief. See 'max_requests' https://gunicorn.org/reference/settings/#max_requests and 'max_requests_jitter' (next on the same page). 'max_requests' defaults to 0, meaning "unlimited".
I am only having issues with mailmanweb. No other application - unless I haven't realized it.
I don't know how the OOM killer makes its decisions. But it might know which processes have grown quickly and kill those. If so, and it is a memory leak in gunicorn or some other aspect of the mailmanweb processes, other processes might not notice (except that the whole system likely slows down when you run out of memory).
I don't have markdown enabled. IIRC, we checked this last time.
Ah, that's right. I have trouble keeping track of who's had which problems, and mistune is on the execution path for plain text, too, which I have a tendency to forget.
Good luck!
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan