On Monday, September 16, 2019 at 8:37:17 PM UTC-4, hynek wrote:
 

> - I don’t know whether it’s me, my Python DB driver (sqlanydb 😞), or the 
> underlying libs: there’s stuff leaking all the time so I wouldn’t use a 
> WSGI container that doesn’t do worker recycling after a configurable amount 
> of requests served. Otherwise you get best case uncontrolled recycling via 
> crash and worst case deadlocks.
>

this is actually the main reason why I adopted uwsgi. a hook loads most of 
the Python we need into the shared memory before the fork, and then workers 
are recycled to our specs.

how do you avoid leaks / leak-like process growth in the threaded gunicorn 
solution you adopted? 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/5df47be5-5f1a-40cc-870b-9e5132925434%40googlegroups.com.

Reply via email to