You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/04/30 13:38:45 UTC
[Bug 56474] New: WebSocket memory consumption too much
https://issues.apache.org/bugzilla/show_bug.cgi?id=56474
Bug ID: 56474
Summary: WebSocket memory consumption too much
Product: Tomcat 8
Version: 8.0.5
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: WebSocket
Assignee: dev@tomcat.apache.org
Reporter: veliscu.cristi@gmail.com
Hi,
I noticed that for 60k websockets the memory consumption is around 6G. I
compared with other Web/EE containers and it's with at least 75% more (same
test, just creating 60 thousands persistent connections).
Has to do with default Socket io buffers?
My HTTP configuration:
<Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="20000" keepAliveTimeout="-1" redirectPort="8443"
acceptCount="20000" acceptorThreadCount="8" maxThreads="10000"
maxConnections="-1" maxKeepAliveRequests="-1" />
Thank you,
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
[Bug 56474] WebSocket memory consumption too much
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56474
--- Comment #2 from vlcvlc <ve...@gmail.com> ---
(In reply to Konstantin Kolinko from comment #1)
> (In reply to vlcvlc from comment #0)
>
> At least the following in your configuration is insane:
> 10000 threads x 2Mb jvm thread stack each = 20 Gb.
>
> Bugzilla is NOT a support forum. The users mailing list is the place to look
> for help. If people identify that some specific defaults need changing, come
> back here.
>
> http://tomcat.apache.org/bugreport.html#Bugzilla_is_not_a_support_forum
2Mb per Thread? Is the default?
Thank you
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
[Bug 56474] WebSocket memory consumption too much
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56474
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
(In reply to vlcvlc from comment #0)
At least the following in your configuration is insane:
10000 threads x 2Mb jvm thread stack each = 20 Gb.
Bugzilla is NOT a support forum. The users mailing list is the place to look
for help. If people identify that some specific defaults need changing, come
back here.
http://tomcat.apache.org/bugreport.html#Bugzilla_is_not_a_support_forum
--
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