https://issues.apache.org/bugzilla/show_bug.cgi?id=49115
Summary: gc new capacity of JVM is gradually reducing when
webapp started
Product: Tomcat 5
Version: 5.5.27
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
hi,all
there is a problem with my webapp.
by manual configuration, i allocated 1G(1024M) memory for webapp.
where the gc new capacity automatically is 262M, the gc old capacity
automatically is 699M, S0/S1 automatically is 43.6M/43.6M.
When my webapp is started, I use the jvm's own tools(jstat) to trace the
garbage collections.
when the 6th Young garbage collection has happened, gc new capacity(262M) is
gradually reducing.
About 10 hours after, gc new capacity is only 40.6M.
##web operating environment:
tomcat5.5.27 + Apache/2.2.3 + jdk1.5.0_13 + Linux_x86_64
##blow is my manual configurations for tomcat JVM
CATALINA_OPTS="-Xms1024M -Xmx1024M
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false"
##Jstat Tracking data (unit/k)
systemTime --- S0C --- S1C --- S0U --- S1U --- EC --- EU
--- OC --- OU --- YGC --- YGCT --- FGC --- FGCT --- GCT
10:03:10 --- 43648 --- 43648 --- 22444.3 --- 0 --- 262208 --- 217735.7
--- 699072 --- 163.6 --- 4 --- 0.126 --- 1 --- 0.007 --- 0.132 ##webpp
startup
10:03:13 --- 43648 --- 43648 --- 22444.3 --- 0 --- 262208 --- 217735.7
--- 699072 --- 163.6 --- 4 --- 0.126 --- 1 --- 0.007 --- 0.132
:::::::::::::::::::::
10:11:35 --- 43648 --- 43648 --- 0 --- 22445.1--- 262208 --- 261516.6
--- 699072 --- 163.6 --- 5 --- 0.161 --- 1 --- 0.007 --- 0.168 ##5th YGC
10:11:38 --- 20800 --- 33984 --- 19898 --- 0 --- 258688 --- 4845.1
--- 699072 --- 163.6 --- 6 --- 0.192 --- 1 --- 0.007 --- 0.199 ##6th YGC,
EC is reduced.
:::::::::::::::::::::
10:18:41 --- 33152 --- 19968 --- 0 --- 19949.1--- 255232 --- 4914
--- 699072 --- 163.6 --- 7 --- 0.221 --- 1 --- 0.007 --- 0.228 ##7th YGC,
EC is reduced.
:::::::::::::::::::::
18:34:43 --- 640 --- 704 --- 608 --- 0 --- 40832 --- 36858
--- 699072 --- 87896 --- 380--- 5.413 --- 1 --- 0.007 --- 5.419 ##380th YGC,
EC is reduced.
this problem has been troubling me. please help !
--
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: [email protected]
For additional commands, e-mail: [email protected]