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 17DC217CB5 for ; Sat, 21 Mar 2015 02:45:58 +0000 (UTC) Received: (qmail 31222 invoked by uid 500); 21 Mar 2015 02:45:57 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 31159 invoked by uid 500); 21 Mar 2015 02:45:57 -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 31147 invoked by uid 99); 21 Mar 2015 02:45:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Mar 2015 02:45:57 +0000 X-ASF-Spam-Status: No, hits=3.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thiagokronig@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-ig0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Mar 2015 02:45:52 +0000 Received: by igbud6 with SMTP id ud6so3049803igb.1 for ; Fri, 20 Mar 2015 19:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=g1678Jzfd6yfdDneotYy5Rf/CM9P5lswdNPqprFeQOM=; b=QCzkufi3PFj4lUaB4Ofz/kR/ah0u52o49zfVpDHHXP2aXg12h9M94GxWY/w5k/5krS W8hEhs1fhGdAggj7DWvqjiS2Y4U6JSZhuHBNQa1czoO6WUi7tBocXhHJ6ReR1uk3nd6T /EkkIgkYjr9qNO7fhbj5cEzpJAl/B6jO6NE2WgzVCCmnplA8jJZLPPuunJzwdfIY8Mb7 2++bA1XjIU3+KohABdLJ3NHgQDSY2ahDhYEAwD/N+t2wEKvVg99oWP158aA7MDfaC+Iu wJVIjK0Ec+qw8UPRo40XmdVAlptV/eAtkOC2udZ74woT3UM9xG+/pxtWRTJq+64WCNVp Sv5A== X-Received: by 10.50.234.194 with SMTP id ug2mr888841igc.39.1426905932331; Fri, 20 Mar 2015 19:45:32 -0700 (PDT) MIME-Version: 1.0 References: <1426561786895-4693338.post@n4.nabble.com> In-Reply-To: <1426561786895-4693338.post@n4.nabble.com> From: Thiago Kronig Date: Sat, 21 Mar 2015 02:45:31 +0000 Message-ID: Subject: Re: Dead lock while multi-consumers listening To: dev@activemq.apache.org Content-Type: multipart/alternative; boundary=001a1134b5623981900511c36ddb X-Virus-Checked: Checked by ClamAV on apache.org --001a1134b5623981900511c36ddb Content-Type: text/plain; charset=UTF-8 Take a thread dump a post it. That way will be easier to spot the problem. Em sex, 20 de mar de 2015 12:08, kidfruit escreveu: > My problem is having deadlock when listening activemq channel. And no > exception or any notify, just stop there. > > The detail is: > > Use c# and nms library. > > Create a console program, then create a work thread in main thread. Main > thread just stop for monitor state, all work is in work thread. > > Create many consumers, share one connection, each consumer use its own > session. Then each consumer use Listener event to listen data, that means > there are many listen event thread is working. The data will print to > console. > > At begining, it works. But after some time, I found that no new data print > to console. Debug by attach the process, all thread is doing nothing, and > no > error occur. It seems like causing a deadlock. But I don't know how to > check > the problem. I tested exception events of connection, no callback at all. > > Is there any suggestion to check the problem? > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/Dead-lock-while-multi-consumers-listening-tp4693338.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > --001a1134b5623981900511c36ddb--