directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Boorshtein" <>
Subject Re: TCP service not shutting down cleanly
Date Wed, 27 Dec 2006 14:04:32 GMT
> Well, this is a rampant problem we have, and it don't want to vanish...

Odd, why didn't this happen in the original version I used?

> If you are on linux, you can modify you TCP keepalive parameter to a smaller
> value, so the socket will be freed faster.

This didn't work.  How does the ApacheDS team handle this issue in
it's automated tests?

> The problem might be that you violently stop the server, and some sockets
> are still pending, waiting for a timeout. If you gently stop the server,
> then I *think* mina closes all the opened socket nicely, and left the socket
> available immediatly. To be verified...

Was the code I was using to stop my server incorrect?


View raw message