users@glassfish.java.net

Re: Grizzly consumes 100% CPU in SelectorThread.doSelect if client

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Nov 2008 10:19:55 PST

> Salut,
>
> looks like you are facing another bug with the JDK,
> as my previous
> observation was with Linux. Are you able to reproduce
> the issue?
>
> There is a JDK issues on Solaris that will be fixed
> in jdk7 (and
> eventually 6 but will take awhile). If we want to
> escalate the fix, I
> probably need a test case that demonstrate the
> problem.
>
> Thanks
>
> -- Jeanfrancois


Thanks for your help looking into this. A few things:

1) We know it's happening because the load goes up to 2 or 3 and sits there until we restart the application. It seems harmless (i.e. maybe just taking up CPU cycles...but not that bad....) but it is making some people nervous :-)

2) Reproduce no, but it happens pretty often. I would say it occurs (on our three systems) about 3 or 4 times a week. If you have ideas on how to capture more info, let me know. I'd be willing to try them (or at least ask about trying it). This system gets 100k hits per day easily so knowing what triggers it is difficult, and it happens at odd hours (not necessarily peak times).

Let me know what you need and I'll try to accommodate.
[Message sent by forum member 'h1d3m3' (h1d3m3)]

http://forums.java.net/jive/thread.jspa?messageID=317397