AnsweredAssumed Answered

imx6q with linux 4.1.6 select() timeout

Question asked by zhao zhongxing on Mar 12, 2019
Latest reply on Mar 13, 2019 by igorpadykov

Recently ,i got a problem in imx6q,with linux version 4.1.6.

The one side is arm linux(imx6q) as tcp client ,and other is pc computer as tcp server(server port:31122),the client connected to server and then receive data from server in fixed interval time ,like 5ms. The most of time, the select works fine,but sometimes the select() continuous returns zero.

 

Does anyone  can give me any suggestion? thanks a lot.

 

Follows snippets are logs when error happened.

 

select timeout
select timeout
select timeout
select timeout
rcv data len 16384 , delta time = 3768
rcv data len 16384 , delta time = 0
rcv data len 14802 , delta time = 0
rcv data len 16384 , delta time = 3
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 1
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 3088 , delta time = 0

Outcomes