[ 
https://issues.apache.org/jira/browse/CAMEL-8724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547052#comment-14547052
 ] 

Nazarii Kukhar commented on CAMEL-8724:
---------------------------------------

Hi Homayoun,

It would be very helpful if you can create a unit test where you reproduce this 
bug and attach it to this issue. It would really speed up the process.

Thanks, Nazar.

> netty4-http component is leaking TCPWorker threads
> --------------------------------------------------
>
>                 Key: CAMEL-8724
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8724
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-netty-http
>    Affects Versions: 2.15.1
>            Reporter: Homayoun Zariv
>            Priority: Critical
>         Attachments: camel-netty4-http-threads.txt
>
>
> I am using netty4-http component in my route as Consumer and Producer as 
> follow:
> Consumer: 
> camelContext.getEndpoint("netty4-http:http://0.0.0.0:8080/Shopping";);
> Producer: 
> camelContext.getEndpoint(String.format("netty4-http:http://%s:80/ws/svc/Shopping?throwExceptionOnFailure=false";,
>  SHOPPING_LW));
> I am using Netty4 options out-of-the-box from netty4-http component and I am 
> noticing that the number of NettyClientTCPWorker and NettyServerTCPWorker 
> keeps growing as I run tests to the points that chokes the JVM.
> Following is a small sample of these threads getting created but never go 
> away.
> Camel (camel-1) thread #0 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #1 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #10 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #11 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #12 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #13 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #14 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #15 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #2 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #3 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #4 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #5 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #6 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #7 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #8 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel (camel-1) thread #9 - NettyEventExecutorGroup Daemon=true Priority=5
> Camel Thread #1007 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1016 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1019 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1020 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1021 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1027 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1366 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1367 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1368 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1371 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1372 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1423 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1424 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1429 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #16 - NettyServerTCPBoss Daemon=false Priority=5
> Camel Thread #1649 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1681 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #17 - NettyServerTCPWorker Daemon=false Priority=5
> Camel Thread #1713 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1714 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1715 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1716 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1717 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #18 - NettyServerTCPWorker Daemon=false Priority=5
> Camel Thread #1873 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #19 - NettyServerTCPWorker Daemon=false Priority=5
> Camel Thread #1905 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1906 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1907 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1908 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #1909 - NettyClientTCPWorker Daemon=false Priority=5
> Camel Thread #20 - NettyServerTCPWorker Daemon=false Priority=5



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to