You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Vinu Raj <vi...@wipro.com> on 2014/02/10 10:17:18 UTC
Camel routes taking time to start/stop in Karaf (3.0.0)
I having camel routes consuming files deployed in Apache Karaf (3.0.0). Some
times start/stop is very fast taking less than a seconds, but at times it is
taking 15-20 minutes to for the camel context to start up or shut down.
Enabled debug and checked, didn't get any clue.
regards
Vinu
--
View this message in context: http://karaf.922171.n3.nabble.com/Camel-routes-taking-time-to-start-stop-in-Karaf-3-0-0-tp4031593.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Camel routes taking time to start/stop in Karaf (3.0.0)
Posted by Vinu Raj <vi...@wipro.com>.
Referring to features:install.
Artefacts are hosted in an internal Maven repository hosted in same LAN.
--
View this message in context: http://karaf.922171.n3.nabble.com/Camel-routes-taking-time-to-start-stop-in-Karaf-3-0-0-tp4031593p4031598.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Camel routes taking time to start/stop in Karaf (3.0.0)
Posted by Ryan Moquin <fr...@gmail.com>.
Is there any segments of the camel route that aren't part of the completion
time? Sometimes it can be deceiving when looking at it.. why not put camel
debug statements into your flow to output the messages in various stages..
that's what I do sometimes...then it might help narrow it down... also,
during a lengthy shutdown get a thread dump with jvisialvm and use the
threadanalyzer plugin and look for a hold up in your stuff, camel or karaf
code.
Was just thinking that may not have all been spelled out completely so just
wantes to make sure you had the best options I can suggest.
Ryan
Ryan
On Feb 12, 2014 1:46 AM, "Vinu Raj" <vi...@wipro.com> wrote:
> Agree to the fact that stop delay could be because of in flight messages.
> But
> I have a completionTimeout set for 3 minutes, but stop sometimes takes
> 10-20
> minutes. I will do some more investigation on this and come back.
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Camel-routes-taking-time-to-start-stop-in-Karaf-3-0-0-tp4031593p4031620.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
Re: Camel routes taking time to start/stop in Karaf (3.0.0)
Posted by Vinu Raj <vi...@wipro.com>.
Agree to the fact that stop delay could be because of in flight messages. But
I have a completionTimeout set for 3 minutes, but stop sometimes takes 10-20
minutes. I will do some more investigation on this and come back.
--
View this message in context: http://karaf.922171.n3.nabble.com/Camel-routes-taking-time-to-start-stop-in-Karaf-3-0-0-tp4031593p4031620.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Camel routes taking time to start/stop in Karaf (3.0.0)
Posted by Ryan Moquin <fr...@gmail.com>.
You shpuld have seen something in the debug.. I would tend to agree with
JB.. most likely an inflight message.. maybe being sent asynchronously with
no timeout? I'm guessing that could do it.
If you truly don't see anything in the debug messages, then you could get a
stack dump to see what the threads are doing.. or camel has a mechanism to
monitor which exchanges are where. I'd think the stack trace would be most
beneficial.
Ryan
On Feb 10, 2014 7:24 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
> Hi Vinu,
>
> for the stop, it could be some inflight messages in the routes. For the
> start, it's weird.
> When you say starting route, it's just camel:route-start or
> features:install (which download artifacts) ?
>
> Regards
> JB
>
> On 02/10/2014 10:17 AM, Vinu Raj wrote:
>
>> I having camel routes consuming files deployed in Apache Karaf (3.0.0).
>> Some
>> times start/stop is very fast taking less than a seconds, but at times it
>> is
>> taking 15-20 minutes to for the camel context to start up or shut down.
>> Enabled debug and checked, didn't get any clue.
>>
>> regards
>> Vinu
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.
>> com/Camel-routes-taking-time-to-start-stop-in-Karaf-3-0-0-tp4031593.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Camel routes taking time to start/stop in Karaf (3.0.0)
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Vinu,
for the stop, it could be some inflight messages in the routes. For the
start, it's weird.
When you say starting route, it's just camel:route-start or
features:install (which download artifacts) ?
Regards
JB
On 02/10/2014 10:17 AM, Vinu Raj wrote:
> I having camel routes consuming files deployed in Apache Karaf (3.0.0). Some
> times start/stop is very fast taking less than a seconds, but at times it is
> taking 15-20 minutes to for the camel context to start up or shut down.
> Enabled debug and checked, didn't get any clue.
>
> regards
> Vinu
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Camel-routes-taking-time-to-start-stop-in-Karaf-3-0-0-tp4031593.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com