-
1. Re: JBoss slow after a thread creation
starksm64 Dec 7, 2004 1:23 PM (in response to rforte)Thread dumps and increased logging levels are your next action.
-
2. Re: JBoss slow after a thread creation
rforte Dec 7, 2004 8:03 PM (in response to rforte)Hello Scott
I've got the thread dump and for my surprise, the "problematic" thread was the JVM GC Thread. I've tried the -Xincgc flag (sun jvm) but have no success. Have you ever experienced a situation like that?
Thank you!!!
Regards,
Rafael
PS.: When this thread begin to consume CPU (99,9%) the application performance decrease very much. -
3. Re: JBoss slow after a thread creation
starksm64 Dec 7, 2004 8:06 PM (in response to rforte)You have a memory leak and the garbage collector is spinning trying to reclaim memory that it cannot.
-
4. Re: JBoss slow after a thread creation
rforte Dec 8, 2004 2:37 PM (in response to rforte)Scott,
I've found some useful information about -XX flats and GC parallel and concurrent algorithms in the Sun JVM (for multi CPU machines) and I guess my problem is solved.
But, in any case, do you recommend some profiling tool to use with JBoss?
Thank you very much,
Rafael -
5. Re: JBoss slow after a thread creation
clebert.suconic Dec 8, 2004 4:53 PM (in response to rforte)I've worked in the development of JBossProfiler.
It has been pretty stable, even having to download through CVS and generate the .WAR/.SAR at this present time.
Also, at this time, I didn't convert the code for JVMTI (which is a newer version of the API I have used for Java 5). This means you can use the current version without any problem since you don't use any special GC option while capturing the data from your app-Server.
Anyway, if you want to use that and you have a hard time compiling it, let me know them I can provide you a binary distribution.
Information on how to use it is located on the wiki page for JbossProfiler.
Clebert Suconic -
6. Re: JBoss slow after a thread creation
rforte Dec 9, 2004 3:05 PM (in response to rforte)Hello clebert,
May you send me the binaries of JBossProfiler? I'm getting a hard time trying to build from the source....
My mail address: forte@diuno.com.br
Thank you very much,
Rafael Forte