Gregory P. Smith <g...@krypto.org> added the comment:

Marking everything as immortal/eternal after you've loaded your common code & 
data but before you do your forking is thenorm for this kind of serving system.

You already presumably have a defined lifetime for the processes so they'll 
likely be set to die within N hours or days.  Memory leaks of too many things 
persisting is a non-issue in this kind of system.

The alternative of trying to pick and choose exactly what (and anything they 
reference) sticks around is a maintenance nightmare exercise in futility.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40255>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to