Netty Provider - Socket leakage- Server reset the connection
Version: 1.8.3 With Netty provider, if the server reset the connection, then SOCKET leakage happening. Connection in CLOSE_WAIT mode and having the one byte of data on the receive queue of the socket. I don't have the test code for this. When integrated with our project module and did some performance tests. This is observed. This is with Netty only. With Grizzly, the SOCKET's are handled properly and no CLOSE_WAIT sockets.
Could you provide some more details, please?
- Netty version
- JDK version
- SSL?
- Websocket?
Hi Slandelle, I am using the
Netty version: The one which comes as part of Async 1.8.3 JDK version: jdk1.6.0_32 SSL: No ssl communication Websockets: No web socket.
The remote server is Apache HTTP daemon. It is serving PHP page. In the PHP page there is a random delay of 0~18 seconds. Also, in the server HTTP 1.1 is enabled. Let me know any other information required.
This looks like a Netty bug, but could as well be a JDK one. Can you reproduce with a modern JDK7 too?
@srirama-rayaprolu ping
Hi Stephane: My product need to run with JAVA 6 only. I cannot go for latest JAVA as of now. Planned to go for JAVA 7 in next major release. Till the time pl. close/hold it.
Sriram.
OK. Closing for now. Feel free to ping if you can reproduce with modern JDK and we can reproduce.