tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Rosenberg" <rosenberg.l...@googlemail.com>
Subject what have i done to get 9 million cookies?
Date Tue, 06 Jan 2009 00:55:42 GMT
Hi,

i'm performing a jmap -histo:live on a tomcat which froze because of
full (8GB) old space gen, and my top 10 looks like:

 num     #instances         #bytes  class name
----------------------------------------------
   1:      19268009     2655683368  [C
   2:      17410092     1392807360  org.apache.tomcat.util.buf.MessageBytes
   3:      17411294     1114322816  org.apache.tomcat.util.buf.ByteChunk
   4:      17410562      974991472  org.apache.tomcat.util.buf.CharChunk
   5:      19275640      771025600  java.lang.String
   6:       8697280      626204160  javax.servlet.http.Cookie
   7:       8699584      417580032  org.apache.tomcat.util.http.MimeHeaderField
   8:           188      134247456
[Lorg.apache.tomcat.util.http.MimeHeaderField;
   9:        198645      114493776  [Ljava.lang.Object;
  10:         21303       30450504  [B


So how did I manage to get almost 9 million of mimeheaderfields and
cookies and 17 millions message bytes and chunks.
During normal operation mode the number of the above doesn't increase
except before the gc freeze.

I assume they come from hanging .catalina.connector.Request objects I
found (about 300), but is it the reason for the freeze or just the
followup?

tomcat 5.5.20 on linux, java 1.6

regards
Leon

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


Mime
View raw message