Python Multithreading – Unterminated Processes
The code below, which I’ve modeled after the code I’m working on and simplified for the purpose of this question, doesn’t seems to be using p.join() properly to manage the processes created by p.start() As a result, there’s a memory leak, and the K8S pod where this code runs experiences resource exhaustion. Is there something obvious I’m missing?