Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better cleanup channel FDs #4890

Merged
merged 2 commits into from Jan 29, 2014
Merged

better cleanup channel FDs #4890

merged 2 commits into from Jan 29, 2014

Conversation

minrk
Copy link
Member

@minrk minrk commented Jan 27, 2014

closes #4882

- use ioloop.close(all_fds=True)
- ensure socket is closed
- no longer need override of stop in any Channel subclass
@astrofrog
Copy link
Contributor

This fixes my issue on Python 2.x, but it looks like it's failing on Python 3.x on Travis.

@astrofrog
Copy link
Contributor

Thanks for the quick fix!

@minrk
Copy link
Member Author

minrk commented Jan 27, 2014

I also meant to say: I ran your test all the way to 1000 kernels, so this should be okay.

The failure is in javascript tests, so not related to this, but I restarted travis anyway it anyway.

@ellisonbg
Copy link
Member

Looks good, I am +1 on merging.

@takluyver
Copy link
Member

And Travis has given it the green light now.

@ellisonbg
Copy link
Member

Tests passing, code looks good, merging.

ellisonbg added a commit that referenced this pull request Jan 29, 2014
@ellisonbg ellisonbg merged commit 29f1ec2 into ipython:master Jan 29, 2014
@minrk minrk deleted the cleanup-channels branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Too many files open when starting and stopping kernel repeatedly
4 participants