Hello Jeanfrancois,
yes we are on Linux. Attached you can find data you have required.
Today we tried with beta java jdk 1.6u18, results in file are from today.
http://www.nabble.com/file/p25716494/jstack.txt jstack.txt
Attached you can also find 2 images.
One is printscreen of jConsole, where you can see CPU usage. Here you can
see CPU usage growing, but when we started jVisualVM, CPU usage has fallen.
Again when we closed jVisualVM, it grew back on.
http://www.nabble.com/file/p25716494/Jconsole%2B2.10.2009%2B16.16.gif
On second image ou can see CPU usage of threads.
http://www.nabble.com/file/p25716494/profiler%2B2.gif
Do you have any idea what are we doing wrong?
Thanks for your help.
Sobis
Jeanfrancois Arcand-2 wrote:
>
> Salut,
>
> Curry wrote:
>>
>> Jeanfrancois Arcand-2 wro http://www.nabble.com/file/p25716494/jstack.txt
>> jstack.txt te:
>>> 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
>>
>
>
> Can you send output of ${java.home}/bin/jstack <PID> or the process that
> produce the high CPU? You are in Linux, right?
>
> Thanks
>
> -- Jeanfrancois
>
>
>
>> Thank you,
>>
>> Curry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/CPU-issue-with-Grizzly-Comet-On-GlassFish-9.1.1.-tp25615856p25716494.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.