Hi Greg,

It was too hard to follow close sequence for me.

So decided to just add my own monitor bean that checks and logs QueuedThreadPool's idle/total/max threads.

I hope this log and netstat results would make this clear.

Thanks,
Takenori

(2013/12/13 6:25), Greg Wilkins wrote:
Ssl is a little complex in Jetty-8, specially when it comes to closing, so there is a chance that a thread can become blocked during the close conversation in jetty-8.

SSL has been entirely rewritten in Jetty-9 and what's more is fully asynchronous, so that a thread will should never block in close.

However, the caveat in this is that we have seen some JVM issues where close is blocking even for non-blocking channels.

cheers





On 13 December 2013 01:41, Takenori Sato <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I have a case that CLOSING state socket remains.

    And I wonder if this could have led to long latency in Jetty.
    For example, as more and more CLOSING state sockets get piled up,
    and reaches to maxThreads, then new requests won't get processed
    until they are cleaned up.

    So, when does a Jetty thread become idle, exactly?
    If it is soon after sending FIN, CLOSING state won't be an issue.

    I have looked through the source code,
    also like bug 364921, but didn't get any clue.
    Can you suggest where to look at?

    My environment:
    Jetty8.1
    JDK6
    SslSelectChannelConnector

    Thanks!
    Takenori

    _______________________________________________
    jetty-users mailing list
    [email protected] <mailto:[email protected]>
    https://dev.eclipse.org/mailman/listinfo/jetty-users




--
Greg Wilkins <[email protected] <mailto:[email protected]>>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to