-
Notifications
You must be signed in to change notification settings - Fork 387
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
kazoo patch to workaround select's file descriptor limitation #171
Labels
Comments
If this can be done as a PR and merged cleanly I'd be happy to include it. Closing this otherwise, feel free to re-open along with a PR using the latest master if you'd like to address it. |
packysauce
added a commit
to packysauce/kazoo
that referenced
this issue
Jun 2, 2017
This would use select() at all times, except on systems that have epoll, it would use epoll if we *know* select is going to fail (ie, fd > 1023) closes python-zk#266 closes python-zk#171
packysauce
added a commit
to packysauce/kazoo
that referenced
this issue
Jun 2, 2017
This would use select() at all times, except on systems that have epoll, it would use epoll if we *know* select is going to fail (ie, fd > 1023) closes python-zk#266 closes python-zk#171
packysauce
added a commit
to packysauce/kazoo
that referenced
this issue
Jun 3, 2017
This would use select() at all times, except on systems that have epoll, it would use epoll if we *know* select is going to fail (ie, fd > 1023) closes python-zk#266 closes python-zk#171
packysauce
added a commit
to packysauce/kazoo
that referenced
this issue
Jun 4, 2017
This would use select() at all times, except on systems that have epoll, it would use epoll if we *know* select is going to fail (ie, fd > 1023) closes python-zk#266 closes python-zk#171
packysauce
added a commit
to packysauce/kazoo
that referenced
this issue
Jun 4, 2017
When epoll is available, and the highest fd in use is > 1023, route through epoll. Otherwise, use the existing select() behavior so by and large nothing changes. Closes python-zk#266, python-zk#171
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote a patch to deal with the fact that select cannot handle file descriptors larger than 1024 (This problem is common to most posix select implementations). I would like to upstream this change.
This patch is only applicable to posix based systems (Windows does not support epoll).
patch: https://www.dropbox.com/s/9dae2bfk1jfilwr/kazoo-1.3.1.patch
original thread: https://groups.google.com/forum/#!topic/python-zk/kzX_8BBBpCM
The text was updated successfully, but these errors were encountered: