Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACA32CDC4 for ; Fri, 3 Aug 2012 15:12:03 +0000 (UTC) Received: (qmail 46284 invoked by uid 500); 3 Aug 2012 15:12:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 46203 invoked by uid 500); 3 Aug 2012 15:12:03 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 46141 invoked by uid 99); 3 Aug 2012 15:12:03 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 15:12:03 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 38FBE140541 for ; Fri, 3 Aug 2012 15:12:03 +0000 (UTC) Date: Fri, 3 Aug 2012 15:12:03 +0000 (UTC) From: "Sergey (JIRA)" To: dev@activemq.apache.org Message-ID: <1165406766.10700.1344006723235.JavaMail.jiratomcat@issues-vm> In-Reply-To: <396015660.37452.1313353107097.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Comment Edited] (AMQ-3451) Tomcat 6.0.32 complains that ActiveMQ 5.5 doesn't shutdown a thread 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/AMQ-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428167#comment-13428167 ] Sergey edited comment on AMQ-3451 at 8/3/12 3:10 PM: ----------------------------------------------------- @liny I have downloaded the application from https://docs.google.com/open?id=0B-ZFcczN9qxYZmh5dDdoMFVCUkE, and analyzed the heap dump. I don't see any memory leaks related to threads, the only memory leak with your web application is AMQ-3959 was (Author: sgri): @liny I tried to download the application from https://docs.google.com/open?id=0B-ZFcczN9qxYZmh5dDdoMFVCUkE, and analyzed the heap dump. I don't see any memory leaks related to threads, the only memory leak with your web application is AMQ-3959 > Tomcat 6.0.32 complains that ActiveMQ 5.5 doesn't shutdown a thread > ------------------------------------------------------------------- > > Key: AMQ-3451 > URL: https://issues.apache.org/jira/browse/AMQ-3451 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.5.0 > Environment: jdk 1.6.0_23 for Linux 64 bit, Ubuntu 11.04 > Tomcat 6.0.32 > Spring 3.0.5 > Reporter: John Miller > Labels: leak, resource > Attachments: inherited_access_cotrol_context_leak.png, patch.txt, transport_thread_leak.png > > > Every time when restarting web application in Tomcat Manager I get messages: > SEVERE: The web application [/sms] appears to have started a thread named [ActiveMQ Task-3] but has failed to stop it. This is very likely to create a memory leak. > With every restart PermGen space is increased and finally i got OutOfMemory error for PermGen space. > I use Spring DefaultMessageListenerContainer, and it's shutdown method closes properly receivers threads. What is "ActiveMQ Task-3" thread and how to close it properly ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira