Hi,
I have a web application running on JBoss. Every few hours I find that
the CPU meter of my machine is pegged near 100% and things are running
very slowly, although the application is still active and able to
serve requests.
I suspect that some request or circumstance is causing the server to
go into an infinite loop, but I don't know how to reproduce it on a
test machine.
Is there a way to query the JVM once it is in this state and try to
figure out what code is running?
Thanks,
Frank
a24900@googlemail.com - 04 May 2007 22:18 GMT
> Is there a way to query the JVM once it is in this state and try to
> figure out what code is running?
Generate a thread dump. If supported on your platform generate a stack
trace, too.
Adam Maass - 07 May 2007 04:47 GMT
> Hi,
>
[quoted text clipped - 9 lines]
> Is there a way to query the JVM once it is in this state and try to
> figure out what code is running?
My first instinct is garbage collection.
-- Adam Maass