[IPython-User] Parallel IPython -- too many open files
Sun Jan 8 13:35:43 CST 2012
On Sun, Jan 8, 2012 at 11:27 AM, MinRK <firstname.lastname@example.org> wrote:
> Client *does* close on del. The problem is that somehow not every last
> reference is cleaned up. Note that *every* IPython.parallel object
> ultimately has a reference to the Client, even AsyncResult objects,
> paralllel functions, views, etc. So `del rc` almost never actually results
> in `rc.__del__()`. Also note that Client.close() on __del__ should also be
> redundant, as Socket.__del__ closes itself, and cleaning up the client
> should cleanup references to the socket at the same time.
> That said, I can't see the mechanism in the example code for a reference
> sticking around. The actual root cause of *that* might be a bug, though not
> one I understand.
Ah, OK; thanks for the clarification. At least Erik has a path
forward, and we can keep the problem in mind in case later on we
understand the root cause better.
More information about the IPython-User