2 Replies Latest reply: Jun 19, 2009 7:48 AM by 843829 RSS

    Minor collection pauses for longer time (40 seconds to 3 minutes) - web app

    843829
      We are facing a strange issue with our Application, it is running under jboss-4.0.2 with jdk1.5.0_07
      It becomes unresponsive after 1/2 an hour load test and comes back to normal within 2 to 3 minutes. The following is a sample of the GC information when it says it takes around 48 seconds in minor collection. It also says JVM Process has not received any CPU time for 49 seconds. Extending timeouts. We have jvm settings like -Xms256m -Xmx2g .All other are default settings.
      Is it due to lesser default young generation space (is it 64m max?) ?

      jvm 1 | [GC [DefNew: 22544K->1299K(23872K), 0.0108188 secs] 230090K->208845K(
      338072K), 0.0110270 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
      jvm 1 | [GC [DefNew: 22486K->1276K(23872K), 0.0103120 secs] 230032K->208822K(
      338072K), 0.0104925 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 22499K->1282K(23872K), 0.0102190 secs] 230045K->208828K(
      338072K), 0.0104001 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 22516K->1211K(23872K), 0.0137988 secs] 230062K->208757K(
      338072K), 0.0140383 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 22459K->1166K(23872K), 0.0109533 secs] 230005K->208712K(
      338072K), 0.0111790 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
      jvm 1 | [GC [DefNew: 22386K->1496K(23872K), 0.0121308 secs] 229932K->209042K(
      338072K), 48.7297245 secs] [Times: user=0.02 sys=0.00, real=48.73 secs]
      jvm 1 | [GC [DefNew: 22744K->1249K(23872K), 0.0189683 secs] 230290K->209269K(
      338072K), 0.0192538 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 22497K->1402K(23872K), 0.0136421 secs] 230517K->209422K(
      338072K), 0.0138301 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 22650K->1385K(23872K), 0.0153154 secs] 230670K->209587K(
      338072K), 0.0155699 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 22633K->2139K(23872K), 0.0190828 secs] 230835K->210430K(
      338072K), 0.0193875 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
      jvm 1 | JVM Process has not received any CPU time for 49 seconds. Extending
      timeouts.
      jvm 1 | [GC [DefNew: 23387K->2624K(23872K), 0.0243883 secs] 231678K->211720K(
      338072K), 0.0246069 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
      jvm 1 | [GC [DefNew: 23871K->981K(23872K), 0.0231872 secs] 232968K->212118K(3

      Ours OS is windows 2003 server (32 bit), 4GB RAM and 2 cpu.
      Do we need to set some more jvm parameters like
      -XX:PermSize
      -XX:MaxPermSize
      -Xms == -Xmx
      -XX:+UseParNewGC
      -XX:NewSize
      -XX:MaxNewSize

      Please suggest it is very crucial for us.

      Regards,
      Chaula