tomcat memory question

2010-05-27 Thread

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., PC automatically 
is 42M


When my webapp is started, I use the jvm's own tools(jstat) to trace the 
garbage collections.

the Utilization rate of the PC capacity is always  100%. is it normal?
Firstly the 1 Full GC is  occurrenced within 1 hour,
5 hours later that took place within 1 hour 100 Full GC.
is it normal?

[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  (csv data)]
systime,  S0C,  S1C,  S0U,  S1U,  EC,  EU,  OC,  OU,  PC,  PU,  YGC,  YGCT, 
FGCT,  GCT
11:13:41,  9600,  3392,  0,  3369.3,  53568,  36562.3,  699072,  481787.7, 
61184,  61167,  249,  3.148,  0.005,  3.153
11:48:02,  4032,  3520,  0,  3520,  39616,  0,  699072,  697526,  67712, 
67573.5,  385,  4.849,  0.005,  4.854
13:23:53,  2496,  2496,  0,  0,  29568,  5620.2,  699072,  100281.5,  71360, 
71236.5,  1003,  10.057,  3.48,  13.537
14:49:13,  2624,  2624,  0,  0,  27712,  12302,  679936,  74349.4,  78080, 
71771.3,  1898,  15.979,  3.962,  19.941
16:07:54,  3392,  3712,  1664,  0,  50496,  28601.3,  688000,  109525.6, 
78080,  74945.2,  2804,  21.46,  4.567,  26.027
16:24:03,  4480,  2304,  0,  0,  77632,  27240.9,  656960,  103414.1, 
78080,  75622.1,  3107,  23.191,  4.943,  28.134
16:33:39,  4160,  2304,  0,  0,  78144,  25196.7,  658752,  98731.2,  78080, 
76421.6,  3365,  24.604,  5.329,  29.933
16:41:50,  5568,  3008,  0,  2952.4,  103424,  96055.6,  606976,  69788.7, 
78080,  74229.1,  3591,  25.889,  5.742,  31.631
16:42:40,  7360,  10176,  0,  0,  174464,  0,  652544,  91210.1,  86016, 
86010.7,  3620,  26.067,  6.081,  32.148
16:43:25,  19520,  19200,  0,  0,  179328,  12770.2,  681728,  55882.2, 
86016,  84680.4,  3637,  26.329,  7.634,  33.963
16:44:22,  21376,  20608,  0,  0,  181504,  13683.9,  681600,  55718.4, 
86016,  84905.3,  3653,  26.507,  8.276,  34.784
16:47:34,  22656,  23744,  17914.8,  0,  182656,  135109.5,  687232, 
56195.2,  86016,  85854.9,  3710,  27.079,  9.954,  37.032
16:51:16,  23360,  24064,  0,  0,  183872,  6675.4,  695232,  56231,  86016, 
84901.6,  3784,  27.828,  13.631,  41.459
16:53:46,  24768,  23808,  0,  18298.8,  191872,  161459.7,  695616, 
56960.4,  86016,  85728.5,  3833,  28.605,  15.221,  43.826
16:57:43,  28800,  26944,  0,  21923,  200768,  5245.9,  699072,  66807, 
86016,  85505,  3909,  29.494,  17.746,  47.24
17:02:02,  28608,  10752,  0,  10720,  205824,  118015.1,  696128,  56332.7, 
86016,  85880.8,  3999,  30.492,  22.473,  52.965
17:03:57,  32384,  32448,  17668.8,  0,  209152,  64383,  699072,  65796.8, 
86016,  85142.6,  4038,  31.049,  24.71,  55.759
17:09:19,  32256,  32576,  18938.8,  0,  224512,  43783.8,  699072, 
73448.4,  86016,  84862.6,  4146,  32.986,  30.05,  63.035
17:12:59,  54208,  52608,  0,  36976.4,  224640,  76931.5,  699072, 
63084.4,  86016,  85367,  4221,  34.258,  33.295,  67.553
17:16:21,  45632,  45760,  26864.6,  0,  224512,  158991.5,  699072,  60327, 
86016,  85273.6,  4356,  37.225,  35.458,  72.683
17:24:47,  29120,  30016,  0,  14856.2,  274944,  103582.1,  697344, 
57937.4,  86016,  85176.8,  4525,  40.282,  40.071,  80.352
17:33:57,  32832,  34688,  25448.2,  0,  250560,  19438.8,  695808,  55692, 
86016,  85489.8,  4686,  44.335,  44.935,  89.27
17:44:33,  29952,  28672,  0,  22952.2,  280896,  175914.9,  696512, 
85648.5,  86016,  85940.8,  4845,  47.238,  47.198,  94.436



thanks..



--
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/

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



gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread


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 ---  
  --- 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 ---  
--- 699072 --- 163.6 --- 7  --- 0.221 --- 1   --- 0.007 --- 0.228 
##7th YGC, EC is reduced.

  :
 18:34:43   --- 640   --- 704   --- 608 --- 0  --- 40832  ---  
58--- 699072 --- 87896 --- 380--- 5.413 --- 1   --- 0.007 --- 5.419 
##380th YGC, EC is reduced.



this problem has been troubling me. please help !



--
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

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