why after about three days , Hotspot frequent running full GC

Y. Srinivas Ramakrishna Y.S.Ramakrishna at Sun.COM
Thu Jan 7 17:15:38 UTC 2010


Difficult to tell. Did you check the perm gen occupancy?
GC logs with +PrintHeapAtGC might provide further clues as well.
What do your current gc logs say about perm gen occupancy (i believe
that would be printed from a full gc?)

-- ramki

On 01/06/10 19:37, renxijuninfo wrote:
> why after about three days , Hotspot frequent running full GC, although 
> there are enough old space?
> 
> At first the GC is running good about 20 seconds run a young GC and 
> about 15 minute run a full GC. But after about three days the full GC 
> running about every 5 second.
> I use jstat monitor when running full GC the Old Space just used less 
> then 60%.
> 
> This is jvm bug or others?
> 
> Thanks.
> 
> 
> FYI:
> 
> # java -version
> java version "1.6.0_11"
> Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)
> 
> # uname -a
> Linux 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 
> x86_64 x86_64 GNU/Linux
> 
> jps -lmv:
> 
> 26938 com.caucho.server.resin.Resin -socketwait 58977 -server b -stdout 
> /usr/local/resin/log/stdout.log -stderr /usr/local/resin/log/stderr.log
> -Xmx6144m
> -Xms6144m
> -Xss512k
> -XX:PermSize=512M
> -XX:MaxPermSize=512m
> -XX:NewSize=3072m
> -XX:MaxNewSize=3072m
> -XX:SurvivorRatio=14
> -XX:MaxTenuringThreshold=15
> -XX:GCTimeRatio=19
> -XX:+DisableExplicitGC
> -XX:+UseParNewGC
> -XX:+CMSScavengeBeforeRemark
> -XX:+UseConcMarkSweepGC
> -XX:+UseCMSCompactAtFullCollection
> -XX:+CMSClassUnloadingEnabled
> -XX:CMSInitiatingOccupancyFraction=80
> -XX:SoftRefLRUPolicyMSPerMB=0
> -XX:+PrintClassHistogram
> -XX:+PrintGCDetails
> -XX:+PrintGCTimeStamps
> -XX:+PrintTenuringDistribution
> -Xloggc:log/gc.log
> -Dcom.sun.management.jmxremote -Xss1m -Dresin.home=/usr/local/resin 
> -Dserver.root=/usr/local/resin 
> -Djava.util.logging.manager=com.caucho.log.LogManagerImpl 
> -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl
>  
>  
>  
>  
>  
>  
> 2010-01-07
> ------------------------------------------------------------------------
> renxijuninfo
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

-------------- next part --------------
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use


More information about the hotspot-gc-dev mailing list