modbus-tk icon indicating copy to clipboard operation
modbus-tk copied to clipboard

filedescriptor out of range in select()

Open jperaltamalvar opened this issue 8 years ago • 1 comments

I'm getting the following error (IP address masked by me) in a Slave server:

18:03:55. ('x.x.x.x', 55345) is connected with socket 1024... 18:03:55. server error: filedescriptor out of range in select()

There is a documented bug in select function in Linux, and you cannot open sockets greater than 1023. See BUGS section in: http://man7.org/linux/man-pages/man2/select.2.html

Has anyone faced this issue?

jperaltamalvar avatar Dec 26 '17 02:12 jperaltamalvar

Hello,

Do you think this is a linux error or a modbus-tk error?

How do you get this 'socket greater than 1023'

Best

ljean avatar Feb 12 '18 14:02 ljean