You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Pham Ngoc Hai <pn...@yahoo.com> on 2012/04/20 10:27:43 UTC
sun.misc.Unsafe.park CPU usage
Hi,
We are using Fuse servicemix 4.2.0-fuse-02-00
In this SMX, we use multiple camel components like cxf, ativemq, file, ftp, smtp, xslt...
Some time JVM CPU usage jumps up to 250% and stays there for a few hours and gets back to normal. Once in a while when the system becomes irresponsive we have to kill the JVM process.
We use Solaris Studtio to do profiling and the see that JVM spends 40% of CPU time at sun.misc.Unsafe.park link: http://www.phamngochai.net/myfiles/sun.misc.Unsafe.park.jpg
Is this a JVM bug or is this camel?
Thanks.
Re: sun.misc.Unsafe.park CPU usage
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Have you goggled ?
http://www.docjar.com/docs/api/sun/misc/Unsafe.html
You application is using concurrency with the mutlicast EIP pattern,
and therefore threads is parked, while waiting for the multicasted
messages to be fully processed. This is expected behavior.
On Sat, Apr 21, 2012 at 4:23 PM, Pham Ngoc Hai <pn...@yahoo.com> wrote:
>
>
> The reason that I think this may have something to do with Camel is
> because, if you look at the call tree in the screen shoot, quite a
> number of org.apache.camel DefaultErrorHandler and
> RedeliveryErrorHandler methods are called before the final
> sun.misc.Unsafe.park.
> Any pointer would be really appreciated.
>
>
>
>
> ________________________________
> From: Pham Ngoc Hai <pn...@yahoo.com>
> To: "users@camel.apache.org" <us...@camel.apache.org>; Pham Ngoc Hai <pn...@yahoo.com>
> Sent: Friday, April 20, 2012 4:34 PM
> Subject: Re: sun.misc.Unsafe.park CPU usage
>
>
> We are using Java HotSpot(TM) 64-Bit Server VM version 17.1-b03 on CentOS 5.5 64bits
>
>
>
> ________________________________
> From: Pham Ngoc Hai <pn...@yahoo.com>
> To: "users@camel.apache.org" <us...@camel.apache.org>
> Sent: Friday, April 20, 2012 4:27 PM
> Subject: sun.misc.Unsafe.park CPU usage
>
> Hi,
> We are using Fuse servicemix 4.2.0-fuse-02-00
> In this SMX, we use
> multiple camel components like cxf, ativemq, file, ftp, smtp, xslt...
> Some time JVM CPU usage jumps up to 250% and stays there for a few hours and gets back to normal. Once in a while when the system becomes irresponsive we have to kill the JVM process.
> We use Solaris Studtio to do profiling and the see that JVM spends 40% of CPU time at sun.misc.Unsafe.park link: http://www.phamngochai.net/myfiles/sun.misc.Unsafe.park.jpg
> Is this a JVM bug or is this camel?
> Thanks.
--
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
Re: sun.misc.Unsafe.park CPU usage
Posted by Pham Ngoc Hai <pn...@yahoo.com>.
The reason that I think this may have something to do with Camel is
because, if you look at the call tree in the screen shoot, quite a
number of org.apache.camel DefaultErrorHandler and
RedeliveryErrorHandler methods are called before the final
sun.misc.Unsafe.park.
Any pointer would be really appreciated.
________________________________
From: Pham Ngoc Hai <pn...@yahoo.com>
To: "users@camel.apache.org" <us...@camel.apache.org>; Pham Ngoc Hai <pn...@yahoo.com>
Sent: Friday, April 20, 2012 4:34 PM
Subject: Re: sun.misc.Unsafe.park CPU usage
We are using Java HotSpot(TM) 64-Bit Server VM version 17.1-b03 on CentOS 5.5 64bits
________________________________
From: Pham Ngoc Hai <pn...@yahoo.com>
To: "users@camel.apache.org" <us...@camel.apache.org>
Sent: Friday, April 20, 2012 4:27 PM
Subject: sun.misc.Unsafe.park CPU usage
Hi,
We are using Fuse servicemix 4.2.0-fuse-02-00
In this SMX, we use
multiple camel components like cxf, ativemq, file, ftp, smtp, xslt...
Some time JVM CPU usage jumps up to 250% and stays there for a few hours and gets back to normal. Once in a while when the system becomes irresponsive we have to kill the JVM process.
We use Solaris Studtio to do profiling and the see that JVM spends 40% of CPU time at sun.misc.Unsafe.park link: http://www.phamngochai.net/myfiles/sun.misc.Unsafe.park.jpg
Is this a JVM bug or is this camel?
Thanks.
Re: sun.misc.Unsafe.park CPU usage
Posted by Pham Ngoc Hai <pn...@yahoo.com>.
We are using Java HotSpot(TM) 64-Bit Server VM version 17.1-b03 on CentOS 5.5 64bits
________________________________
From: Pham Ngoc Hai <pn...@yahoo.com>
To: "users@camel.apache.org" <us...@camel.apache.org>
Sent: Friday, April 20, 2012 4:27 PM
Subject: sun.misc.Unsafe.park CPU usage
Hi,
We are using Fuse servicemix 4.2.0-fuse-02-00
In this SMX, we use multiple camel components like cxf, ativemq, file, ftp, smtp, xslt...
Some time JVM CPU usage jumps up to 250% and stays there for a few hours and gets back to normal. Once in a while when the system becomes irresponsive we have to kill the JVM process.
We use Solaris Studtio to do profiling and the see that JVM spends 40% of CPU time at sun.misc.Unsafe.park link: http://www.phamngochai.net/myfiles/sun.misc.Unsafe.park.jpg
Is this a JVM bug or is this camel?
Thanks.