tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56449] WebSocket session get closed if in onOpen will sendText (sync mode)
Date Thu, 24 Apr 2014 08:08:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56449

--- Comment #4 from vlcvlc <veliscu.cristi@gmail.com> ---
(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"
protocol="org.apache.coyote.http11.Http11NioProtocol"
               connectionTimeout="20000" keepAliveTimeout="-1"
redirectPort="8443" 
           acceptCount="20000" acceptorThreadCount="8" 
           minSpareThreads="100" maxThreads="10000" 
           maxConnections="-1" URIEncoding="UTF-8" 
               maxKeepAliveRequests="-1" />


Regards, 
Cristian

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message