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 2010/10/10 20:47:36 UTC
DO NOT REPLY [Bug 50070] New: memory leak using NIO connector
https://issues.apache.org/bugzilla/show_bug.cgi?id=50070
Summary: memory leak using NIO connector
Product: Tomcat 6
Version: 6.0.29
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: reemhal@hotmail.com
Hi
I am using tomcat 6.0.29 with a HTTP NIO connector (Http11NioProtocol) under
load tests.
Seems like I have a memory leak origin from the NIO Http connector ,since when
changing back to the regular HTTP connector - all is working fine.
I am using the jstat command to monitor the JVM's old generation pool - seems
like no matter how big it is (and I reached 1.5GB ) , it just get growing as
the load increase on the server (see class dump bellow ) .
Another important point is that this leak start happening only when I ported my
code to Linux OS from Solaris OS (Solaris 10).
I am using java 6 ( java version "1.6.0_13" )
And my JVM parameters are :
/usr/mms/java/bin/java -server -Xss256k -Xms3000m -Xmx3000m -Xmn1512m
-XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:SurvivorRatio=4
I am attaching the jmap dump + my JVM parameters :
1: 17932169 573829408
java.util.concurrent.ConcurrentLinkedQueue$Node
2: 87512 431355368 [B
3: 1255621 247535088 [C
4: 2736358 131345184
java.util.concurrent.locks.ReentrantLock$NonfairSync
5: 2736178 131336544
java.util.concurrent.ConcurrentHashMap$Segment
6: 3422985 109535520
java.util.concurrent.LinkedBlockingQueue$Node
7: 2736244 91386840
[Ljava.util.concurrent.ConcurrentHashMap$HashEntry;
8: 185050 55436224 [I
9: 716357 34385136 java.util.HashMap$Entry
10: 833420 33336800 java.lang.String
11: 827980 33119200 com.comverse.mms.util.ByReference
12: 248473 26073344 [Ljava.lang.Object;
13: 171013 25993736
[Ljava.util.concurrent.ConcurrentHashMap$Segment;
14: 170972 23252192 org.apache.catalina.session.StandardSession
15: 106757 20898400 [Ljava.util.HashMap$Entry;
16: 175378 20185544 [Ljava.util.Hashtable$Entry;
17: 171013 12312936 java.util.concurrent.ConcurrentHashMap
18: 77208 11834128 <constMethodKlass>
19: 174716 11181824 java.util.Hashtable
20: 77208 9277616 <methodKlass>
21: 7593 9266200 <constantPoolKlass>
22: 188955 9069840
java.util.concurrent.ConcurrentHashMap$HashEntry
23: 213533 8541320 java.util.ArrayList
24: 171012 8208576 java.beans.PropertyChangeSupport
25: 137289 7071968 <symbolKlass>
26: 103736 6639104 java.util.HashMap
27: 7593 5855112 <instanceKlassKlass>
28: 6332 5520192 <constantPoolCacheKlass>
29: 61325 5396600
com.comverse.mms.dispatcher.executors.ComponentExecutor
30: 153840 4922880 java.lang.StringBuilder
31: 170419 4090056
org.apache.catalina.session.StandardSessionFacade
32: 5836 3813664 <methodDataKlass>
33: 19859 3410688 [Z
34: 37362 2416176 [Ljava.lang.String;
35: 44119 2117712 java.util.Hashtable$Entry
36: 65056 2081792 java.lang.StringBuffer
37: 45353 1814120 java.util.AbstractList$Itr
38: 73621 1766904
com.comverse.mms.dispatcher.parameters.ControlParameters
39: 53961 1726752
com.comverse.mms.dispatcher.parameters.ParametersValidator
40: 52474 1679168
com.comverse.mms.dispatcher.parameters.ControlParametersWrapper
41: 10058 1528816 java.lang.reflect.Method
42: 8152 1499968 java.lang.Class
43: 12775 1338384 [S
44: 33200 1328000 java.util.LinkedList$Entry
45: 22524 1261344 java.util.HashMap$KeyIterator
46: 11232 1168128 [Ljava.util.regex.Pattern$GroupHead
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 50070] memory leak using NIO connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50070
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-10-10 14:51:52 EDT ---
There is nothing in the above report that points to a memory leak in the NIO
connector.
I'd suggest that you use the users list to help you debug this. Feel free to
re-open this issue if that debugging process tracks down a memory leak in the
Tomcat code base. You'll need to include the details of the source of the
memory leak.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 50070] memory leak using NIO connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50070
Reem Halevy <re...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Catalina |Connectors
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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