Description
dave burns opened SPR-14266 and commented
The original boot issue (or similar issue) still occurs for a broker/server receiving simultaneous connections. I've modified the sample project and added a multi-threaded Junit method as a client. This launches 2000 concurrent threads, about 1100 successfully connect to the server (on my setup). I don't know if its the load or the failed connections (rather than clean disconnects) but the org.springframework.messaging.tcp.reactor.Reactor2TcpClient can be seen to be leaking following by the same instructions as in the original boot issue.
Weird thing is the original leak showed both the Reactor2TcpClient and StompBrokerRelayMessagHandler leaking, this just shows the reactor 2 client.
Noticed this in our production application, i.e. system accepting concurrent connections. The multi-threaded harness mimics this behavior.
Affects: 4.2.6
Reference URL: #18805
Issue Links:
- SockJs heartbeat during message send closes socket [SPR-14356] #18928 SockJs heartbeat during message send closes socket
Referenced from: commits 4a81aab, b502210
Backported to: 4.2.7