-
Notifications
You must be signed in to change notification settings - Fork 71
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
Adding an implementation of the aio.c using EPOLL in Linux. #805
Adding an implementation of the aio.c using EPOLL in Linux. #805
Conversation
Avoiding the limit of file descriptors
Hi Pablo, Thanks very much for this! I've been running a GT VM with this patch for a couple of weeks, and under light load (and a small number of sockets) it works fine. Unfortunately it is crashing the VM in what appears to be two separate situations:
This isn't very reproducable, but a couple of symptoms I've seen:
In these cases there have been less than 1023 sockets open, thus avoiding the next issue...
(the reason the socket count gets up to 1500 is that the test program opens all the sockets, and then starts writing). Once the The test harness I've been using is:
To reproduce the second issue just run 15 times simultaneously. |
… and removing select from socket writable
Hi @akgrant43, I have fixed the implementation. Cheers, |
Hi @tesonep , Thanks! I'll be able to test it next week. Cheers, |
…r. So we assume, we can always write
…o handle the would block error in send/sendto
Hi Pablo, This is looking much better!:
I'll continue to use it on my personal machine and will report if anything comes up, but from my perspective it's ready to release. Do you have any idea of when it is likely to be released? Thanks! |
Thanks for the feedback! Very much appretiated! |
Thanks so much for checking, I was waiting for your Ok to start pushing the release. |
Great, thanks! |
Avoiding the limit of file descriptors