Sorry, I forget to mention another reason:
We are using com.sun.java.util.collections.Random to generate random numbers
(instantiation is only once during AppServer startup). I got feedback that
SeedGenerator may be causing extensive GC.
I also took threadump which was showing that lot of threads are doing
"SeedGenerator" process, here is the thread info:
"SeedGenerator Thread" (TID:0x82b6b960, sys_thread_t:0x34112d28)
Native Thread State: ThreadID: 00004b4d Reuse: 18 DAEMON MONITOR WAIT
Native Stack Data : base: 34dd0d20 pointer 34dd01a4 used(2940)
free(255108)
----- Monitors held -----
----- Native stack -----
sysThreadBlockingSection
sysMonitorWait
sysThreadSleep
threadSleep
java_lang_Thread_sleep
------ Java stack ------ () prio=1
java.security.SeedGenerator$BogusThread.run(Compiled Code)
java.lang.Thread.run(Compiled Code)
Awaiting your feedback.
Thanks in advance.
Sushil
Sushil Singh wrote:
> Hi,
>
> We developed e-commerce site using WebSphere 3.0.2 AE running under AIX
> 4.3 with IHS 1.3.6 and the JDK 1.1.8. We are seeing some extensive
> garbage collection. Here is the heap size:
> 300 - 768 Mb
>
> On an average 45-50% of time spent on GC. For each GC, sometime it is
> taking 70sec, sometime even 120sec also. I am unable to understand how
> we can improve the GC.
>
> One reason, I can think of since we are doing cahing which is around
> 200MB and is available throughout the life of JVM.
>
> I have following questions:
> - Is there anyway to improve the GC?
> - Is there anyway to tell JVM to not look into the 200MB of cache
> data for GC.
>
> Another reason (may be), we are using
> Awaiting feedback.
>
> Thanks in advance.
>
> Sushil
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html