On Fri, Jan 23, 2026 at 5:27 PM Stephen J. Turnbull <[email protected]>
wrote:

> Washington Odhiambo via Mailman-users writes:
>  > On Thu, Jan 22, 2026 at 10:07?PM Stephen J. Turnbull <[email protected]
> >
>  > 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.
>

None.


>  > > 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.
>

That is okay.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/OUQGMKTY7TQYA3YXI2RD2BUAMMBMVLCQ/

This message sent to [email protected]

Reply via email to