Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Server sockets stuck in FIN_WAIT2 #155

Open
col-panic opened this issue May 4, 2016 · 0 comments
Open

Server sockets stuck in FIN_WAIT2 #155

col-panic opened this issue May 4, 2016 · 0 comments

Comments

@col-panic
Copy link

Jax-Rs works great, thanks a lot for your work :)

Now, however, using it in production I see a lot of open sockets on my linux server in state FIN_WAIT2. We have a task running every 10 seconds, and it seems, that the connection is not getting properly closed by the client, which slowly eats up the available ports, although linux frees the FIN_WAIT2 after 60 seconds.

FIN-WAIT-2: The remote end-point has sent an acknowledgement for the previously sent connection termination request. The local end-point waits for an active connection termination request from the remote end-point.

We use both your client and server and I don't know on how to request a proper termination request from the client. This problem is documented for other solutions as well

spray/spray#1058

Any hint on what to do here? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant