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
Suggestion: use poll() for solving 1024 (FD_SETSIZE) clients problem in Linux #439
Comments
Using poll() SGTM. |
SGTM as well |
Rojer, related to cesanta/fossa#113 |
Recent related issue: #506 |
Recent PR against mongoose: #508 |
Perhaps some additional IO event handling functions should be provided to allow users to do what select is doing, so that Mongoose can be used as a pure module, without any framework's features, and more convenient in other frameworks,such as libev. |
we do have even manager internal interface and even used to have an epoll-based manager. |
Hi,
Mongoose use select() for checking file descriptor of server and clients, but this function has limitation with FD_SETSIZE in Linux.
User need to enlarge this define and recompile their Linux kernel.
Is there any solution to handle > 1024 incoming (or long connected) client sockets?
I have one suggestion by using poll():
The text was updated successfully, but these errors were encountered: