-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Assertion failed: fds.size () <= FD_SETSIZE #109
Comments
It's windows limit of 64 file descriptors per pollset. Define FD_SETSIZE to something more reasonable and recompile 0MQ. |
Ok, thanks. |
benjdero
pushed a commit
to benjdero/libzmq
that referenced
this issue
Feb 20, 2023
Removed FileMQ support from libzre
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I create a bunch of connections very quickly, I get the following assertion:
Assertion failed: fds.size () <= FD_SETSIZE (\zeromq2\src\select.cpp:67)
Example code:
for (int i = 0; i < 50; i++)
{
ZMQ.Socket socket = ctx.socket(ZMQ.PUSH);
socket.connect("tcp://localhost:5000");
socket.send(("" + i).getBytes(), 0);
socket.close();
}
See: http://gist.github.com/654077 for fully working test case
The text was updated successfully, but these errors were encountered: