FerrariCalifornia opened a new issue, #414: URL: https://github.com/apache/mina-sshd/issues/414
### Version 2.9.2 ### Bug description When using a custom thread to send netconf messages, the cpu is continuously occupied, which affects the code of other modules. I suspect that this happened due to the link being broken during key exchange.The debug log is as follows ### Actual behavior When using a custom thread to send netconf messages, the cpu is continuously occupied, which affects the code of other modules. ### Expected behavior Don't take up the cpu in an infinite loop ### Relevant log output ```Shell 2023-09-06 16:19:58.960 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.523 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 292 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Thread Thread[transferEpQueryReq-thread-8,5,main] awakens after KEX done 2023-09-06 16:19:59.524 [transferEpQueryReq-thread-8] DEBUG org.apache.sshd.server.session.ServerSessionImpl 282 [] writeOrEnqueue(ServerSessionImpl[itran@/200.200.60.22:47442])[SSH_MSG_CHANNEL_DATA]: Blocking thread Thread[transferEpQueryReq-thread-8,5,main] until KEX is over or timeout 10000 MILLISECONDS ``` ``` ### Other information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org