Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B19B217A22 for ; Sun, 17 May 2015 05:49:00 +0000 (UTC) Received: (qmail 35204 invoked by uid 500); 17 May 2015 05:49:00 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 35162 invoked by uid 500); 17 May 2015 05:49:00 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 35153 invoked by uid 99); 17 May 2015 05:49:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2015 05:49:00 +0000 Date: Sun, 17 May 2015 05:49:00 +0000 (UTC) From: "Nazarii Kukhar (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-8724) netty4-http component is leaking TCPWorker threads MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)