-
Notifications
You must be signed in to change notification settings - Fork 36
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
filedescriptor out of range in select() #131
Comments
This needs to be changed to poll() instead of select() |
I can look at implementing poll instead of select, but could you try to bump the open file limit on your system to see if that has any affect? |
Thank you for your answer, this changed nothing (i already had a very high custom open file limit), i am sure poll would fix this, but you should know that it does not work on windows (if i remember correctly). In case anyone reads this in the future, I would like to point out that i changed it all to PIKA and i did not regret it, after you cross the "threadsafe" barrier of it, it is very very fast with less overhead than AMQPSTORM, it is literally a choice between performance and ease of programming, since i got a massive server running with rabbitmq, i had to choose PIKA. |
Happens when you have lots of processes (I had about 150) that constantly restart connections. Happens because of the 1024 limit on FD_SETSIZE. More info here: https://stackoverflow.com/questions/14250751/how-to-increase-filedescriptors-range-in-python-select
The text was updated successfully, but these errors were encountered: