tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 56449] WebSocket session get closed if in onOpen will sendText (sync mode)
Date Thu, 24 Apr 2014 08:08:56 GMT

--- Comment #4 from vlcvlc <> ---
(In reply to Mark Thomas from comment #1)
> At the moment, I don't see a code path that could trigger this. The session
> is open when it is created so something must be closing it very quickly. My
> assumption is that there must be an error path triggering this but I don;t
> see it so far. What would be very useful is the stack trace from when the
> session is closed. If I add some debug logging are you able to build Tomcat
> from source and run your test to collect some more information?

Mark, HI

I am evaluating Tomcat websockets implementation. For this, I use a client side
websockets library that creates connection after connection. After a while
(<10000 connections) the error is thrown and Tomcat 8 server hangs for a while. 

I attached HTTP NIO connector configuration used:
    <Connector port="8080"
               connectionTimeout="20000" keepAliveTimeout="-1"
           acceptCount="20000" acceptorThreadCount="8" 
           minSpareThreads="100" maxThreads="10000" 
           maxConnections="-1" URIEncoding="UTF-8" 
               maxKeepAliveRequests="-1" />


You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message