-
Notifications
You must be signed in to change notification settings - Fork 3.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
Error on Win32 #678
Comments
Do you have lots of concurrent downloads? It looks like the aria2 process ran out of file descriptor (sockets + opened file), which is capped by 1024. Try to reduce the number of downloads. |
Yes, I have lots of concurrent downloads because I test aria2 with a lots of downloads. Can you fix this problem in next vesion? |
The next version, v1.24.0 is released today, and we'd like to avoid last minutes change. If you can build aria2, try increase value of FD_SETSIZE macro: Line 61 in 09e7cfc
|
Can you do auto select of value? |
Based on what? FD_SETSIZE is compile time constant. You cannot change it in runtime. |
I read that for Windows fd_setsize can be changed and more then 1024 but for Linux hardcore 1024. |
We use epoll for Linux, which is not limited by 1024 file descriptor. We have Dockerfile.mingw to compile windows binary. It clones master branch, so you have to change it to your copy to include the change. |
Okey. Thanks. |
I made a commit to increase FD_SETSIZE to 32768. |
Okay. |
I tested aria 2 with FD_SETSIZE 32768, and after 2 days work with 20 torrents all okay. No have any error. |
Thank you. I think this issue has been fixed. |
I have that error on Windows 10 x64 with aria2c.exe x32:
[WARN] [SelectEventPoll.cc:235] The number of file descriptor exceeded FD_SETSIZE. Download may slow down or fail.
How fix this error?
The text was updated successfully, but these errors were encountered: