users@grizzly.java.net

Re: CPU issue with Grizzly Comet On GlassFish 9.1.1.

From: Curry <miha.zagar1_at_siol.net>
Date: Wed, 30 Sep 2009 03:49:33 -0700 (PDT)

Jeanfrancois Arcand-2 wrote:
>
> Salut,
>
> ToMaZ ® wrote:
>> Hi there, all
>>
>>
>> Maybe this will help : http://download.java.net/jdk6/index.html
>> https://jdk6.dev.java.net/6uNea.html
>>
>> Has anyone tried that - Curry, Jeanfrancois Arcand said - that this
>> should work in update 18 ?
>>
>>
>> /I hope it will - we'l try it tommorow/
>>
>> ToMaZ
>>
>> Curry wrote:
>> Hi, thank you for your fast response: but CPU is still on 100%.
>>
>> Jeanfrancois Arcand-2 wrote:
>> You need to put the entire path, e.g.:
>>
>> classpath-prefix="/usr/java/glassfish/lib/grizzly-framework-http-1.0.30.jar"
>> let us know thw result.
>>
>> The library got registered by GF: [root_at_lnxas75 ~]# lsof | grep griz
>> java 15547 root mem REG 253,0 844785 14311305
>> /usr/java/glassfish/lib/grizzly-framework-http-1.0.30.jar java 15547
>> root 28r REG 253,0 844785 14311305
>> /usr/java/glassfish/lib/grizzly-framework-http-1.0.30.jar java 15669
>> root mem REG 253,0 844785 14311305
>> /usr/java/glassfish/lib/grizzly-framework-http-1.0.30.jar java 15669
>> root 72r REG 253,0 844785 14311305
>> /usr/java/glassfish/lib/grizzly-framework-http-1.0.30.jar
>> [root_at_lnxas75 ~]# ****************** I have another question: what
>> is the guarantee that classes from this jar get used... There are
>> same classes (in same packages) in appserv-rt.jar... Thank you, Curry
>
> No, the classpath-prefix will make sure those classes are never used.
>
> Let me know if you still see the CPU issue. If yes, can you grab a
> couple of jstack <PID> and post them here so we make sure this is the
> same issue.
>
> Thanks
>
> -- Jeanfrancois
>
>

Hi Jeanfrancois,

this is the image of our CPU usage. Our server code is based on dead simple
comet example mentioned earlier in the thread. Is there any other posibility
of using Grizzly/Comet - ea. not in full streaming mode... Maybe that will
solve the problem?
http://www.nabble.com/file/p25678795/cpuDanes.jpg

Thank you,

Curry
-- 
View this message in context: http://www.nabble.com/CPU-issue-with-Grizzly-Comet-On-GlassFish-9.1.1.-tp25615856p25678795.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.