Weblogic GC Problem - Please assist

Hi,

I am working on WebLogic(for the first time) with a sun JVM on a 8 CPU solaris machine, we have set the GC algorithm as,

"-Xms2048m -Xmx2048m -XX:NewSize=576m -XX:MaxNewSize=576m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xverify:none -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+UseParallelGC "

The problem is The FULL GC takes consistently between 15 - 20 sec, firstly is that a concern?

We see that the heap is used up to 1.9 GB before it GC's

The CPU Utilzation on box is not high below 40% on an average.

Is using the "Concurrent Low Pause Collector" a good option in this case?

Please assist.

Thanks in advance.

Following GC trace,

4028.217: [GC 1425000K->1003932K(2012352K), 0.4191734 secs]

4028.637: [Full GC[Unloading class sun.reflect.GeneratedMethodAccessor655]

[Unloading class jsp_servlet._web_45_inf._apcwp._ptrck._jsp.__ptstatementpdf]

[Unloading class sun.reflect.GeneratedMethodAccessor1726]

[Unloading class jsp_servlet._web_45_inf._apfa._opnac._jsp.__ocainput]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__main]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__job]

[Unloading class jsp_servlet._web_45_inf._apcwp._ptrck._jsp.__ptstatement]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor290]

[Unloading class sun.reflect.GeneratedMethodAccessor1725]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor356]

[Unloading class sun.reflect.GeneratedMethodAccessor2253]

[Unloading class sun.reflect.GeneratedMethodAccessor653]

[Unloading class jsp_servlet._web_45_inf._jba._common._jsp.__cantdo]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor357]

[Unloading class jsp_servlet._web_45_inf._apeba._ebrk_reg._rsp._jsp.__screen100]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor355]

[Unloading class jsp_servlet._web_45_inf._apcwp._myprf._jsp.__profilesummary]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor323]

[Unloading class jsp_servlet._web_45_inf._jba._ada._jsp.__adaprintfriendly]

[Unloading class sun.reflect.GeneratedMethodAccessor654]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor335]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._itvisa._jsp.__itvisaempdet]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__generic]

[Unloading class sun.reflect.GeneratedMethodAccessor652]

[Unloading class sun.reflect.GeneratedMethodAccessor1966]

[Unloading class jsp_servlet._web_45_inf._aptc._fxrates._jsp.__fxrateview]

[Unloading class sun.reflect.GeneratedMethodAccessor2252]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._itvisa._jsp.__dummy]

[Unloading class jsp_servlet._web_45_inf._jso._uidn._jsp.__successcinpin]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__service]

[Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__job_list_category_unit]

[Unloading class jsp_servlet._web_45_inf._aptc._fxrates._jsp.__calculate]

[Unloading class jsp_servlet._web_45_inf._jba._scdp._jsp.__displaynopayeeinlistscreen]

1003932K->862215K(2015232K), 15.3721435 secs]

[3480 byte] By [Aebya] at [2007-10-3 10:35:10]
# 1
What's the version of the JDK you are running?
ramki_at_jdca at 2007-7-15 5:58:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Hi,Thanks for replying.The version of JDK is 1.4.2Regards
Aebya at 2007-7-15 5:58:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
Is there any body whocan suggest?
Aebya at 2007-7-15 5:58:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4

I am guessing from your question that you are concerned about the full GC pauses.

1.5.0_06 onwards there is a parallel old gc option available -XX:+UseParallelOldGC

which can help on an 8-way. I'd expect (much handwaving and guessing here)

that your full GC pauses might reduce from the current 15 sec range to the 2 second

range.

The concurrent GC would also help, albeit might require a bit of tuning to get

right -XX:+UseConcurrentMarkSweepGC, available since 1.4.2, and made

much more efficient and scalable in 5.0 and 6.0.

For tuning guidance, look at the tuning guides and white papers available

off of http://java.sun.com/docs/hotspot ,

especially http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html

and the associated FAQ (at the end of the tuning guide referenced above).

ramki_at_jdca at 2007-7-15 5:58:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...