Are all those routes consuming from files?

That is a lot of file consumers to have in one JVM. By default they
get 1 private thread each, instead you can share a thread pool among
them so they reuse threads. And set a sensitive number of threads in
that pool.



On Tue, Dec 20, 2016 at 10:24 AM, sanjaykumargupta007
<sanjay.kumar.gupta...@gmail.com> wrote:
> I have a java+camel bases application which is consuming huge amount of CPU.
> it various from 40-90% of CPU in production. I tried to replicate the issue
> in my local environment and started 700 routes (file endpoints) and it is
> consistently taking 70-80% CPU.
>
> I want to know is there any way I can reduce the CPU utilization by
> configuring some setting while starting up the routes?
>
> regards
> sanjay
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-High-CPU-Usages-tp5791734.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to