Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty 8.0.0 - 8.0.4 not closing connections using SelectChannelConnector

Hi,
I'm running an embedded jetty server which has fairly high numbers
ofconnections from mobile phones, which oftensuddenly lose connections
without properly shutting them down.I noticed that on my server, over
time it's building up lots ofconnections that are in FIN_WAIT2 state.
This was the casewith 8.0.0, and also with the latest version 8.0.4. I
tried both withopenJDK 6 and Sun JDK 6 (all on a linux 64 bit
machine).Using a thread dump, I see that jetty is
maintainingSelectChannelEndPoint s for these hundreds of idle
connections,even though I'm setting maxIdleTime to 15000 (i.e. 15
seconds). Someof the _idleTimestamp values are hours old already,but
the connection doesn't seem to be cleaned up.Is there some setting I'm
overlooking or is this a bug in jetty?
Best regards,Mathijs Vogelzang


Back to the top