Re: CLOSE_WAIT connections when OutOfMemoryError is thrown

2018-09-04 Thread Mark Thomas
On 04/09/18 03:20, Antonio Rafael Rodrigues wrote: > Hi > In my rest API, everytime time my request generates an OutOfMemoryError the > client doesn't get a response from server and hangs forever. If I kill the > client, I can see by lsof that a CLOSE_WAIT connection remains and it goes > away

CLOSE_WAIT connections when OutOfMemoryError is thrown

2018-09-03 Thread Antonio Rafael Rodrigues
Hi In my rest API, everytime time my request generates an OutOfMemoryError the client doesn't get a response from server and hangs forever. If I kill the client, I can see by lsof that a CLOSE_WAIT connection remains and it goes away just if I restart the Spring application. I can reproduce it