dev@glassfish.java.net

Re: running latest v3 takes up 90+ % cpu

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Wed, 01 Jul 2009 10:37:08 -0700

Fixed. I was using LinkedBlockingQueue.drainTo(), which does not
block, hence a continuous loop. Now it uses take(), which blocks,
followed by drainTo().

llcMP:amx-core-impl llc$ svn commit
Sending amx-core-impl/src/main/java/org/glassfish/admin/amx/
impl/mbean/ComplianceMonitor.java
Transmitting file data .
Committed revision 28398.



On Jul 1, 2009, at 10:18 AM, Anissa Lam wrote:

> Hi,
>
> I am wondering if others are seeing this. Starting from
> yesterday, I am seeing that the server is taking up over 90% cpu.
> All i did was start up the server, start up jconsole and login
> using :8686. cpu usage will climb up.
> Running admin console alone also takes up the high cpu.
> Not sure if its because of the AMX beans being loaded or if there
> are other reproducible case.
>
>
> thanks
> Anissa.
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team