dev@glassfish.java.net

Re: latest GF build takes 90+ % cpu

From: Carla Mott <Carla.Mott_at_Sun.COM>
Date: Wed, 22 Apr 2009 15:40:31 -0700

well, 'drainTo' does not block if there is nothing in the queue and
seems to poll. I updated the code to use 'take' so you should not see
this problem after updating your workspace.

carla

Carla Mott wrote:
> I made a change to the logging code the other day such that users can
> specify that more than one message is taken off the queue each time
> messages are written out rather than to just take one at a time. I'm
> investigating if this can be the cause of the problem. I basically
> changed the method call from 'take' to 'drainTo' on the queue.
>
> Carla
>
> Anissa Lam wrote:
>>
>>
>> Kedar Mhaswade wrote:
>>> Can you get a thread dump (kill -3 pid) for the server process when
>>> this happens? (I believe this is on Mac).
>> Please see attached.
>>
>> thanks
>> Anissa
>>>
>>> -Kedar
>>>
>>> Anissa Lam wrote:
>>>> Hi,
>>>> I start noticing this yesterday. Once i start glassfish, (i use
>>>> the glassfish distribution), the cpu just jumps up to over 90% and
>>>> stays high up there until i kill it. I just did a svn update and
>>>> rebuild everything, same issue. Anyone sees this ?
>>>>
>>>> thanks
>>>> Anissa
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>