Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD15DE05F for ; Thu, 7 Feb 2013 17:00:36 +0000 (UTC) Received: (qmail 61651 invoked by uid 500); 7 Feb 2013 17:00:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 61620 invoked by uid 500); 7 Feb 2013 17:00:36 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 61612 invoked by uid 99); 7 Feb 2013 17:00:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 17:00:36 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,URI_HEX X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of don.masanz@carters.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 17:00:30 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U3UpW-0007h1-1x for users@activemq.apache.org; Thu, 07 Feb 2013 09:00:10 -0800 Date: Thu, 7 Feb 2013 09:00:10 -0800 (PST) From: Donald Masanz To: users@activemq.apache.org Message-ID: <4A871AAEA64AA648B6E65464A1964B0D388BD211@c15nt05ex.carters.com> In-Reply-To: <7DA9E9F3-1508-4EBC-9FCA-F47E4707FA4C@gmail.com> References: <1360191116118-4662949.post@n4.nabble.com> <4A871AAEA64AA648B6E65464A1964B0D388BCD9F@c15nt05ex.carters.com> <521139BA-DAED-4CBE-B21B-87E544C3F56A@gmail.com> <7DA9E9F3-1508-4EBC-9FCA-F47E4707FA4C@gmail.com> Subject: RE: Stuck Messages MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20088_21226952.1360256410048" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_20088_21226952.1360256410048 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Do you have any document available on MQ. We had this installed in August of 2011, they installed MQ as part of our EDI software. I am the ADMIN, but no one in our staff has actually ever done any set up or configurations. It was all done for us. Therefore when you mention all these options, I really don't have much of a clue what you are talking about. From: Gaurav Sharma [via ActiveMQ] [mailto:ml-node+s2283324n4662992h95@n4.nabble.com] Sent: Thursday, February 07, 2013 10:57 AM To: Masanz, Don Subject: Re: Stuck Messages Forgot to mention - since you know what queues and topics have fast consumers that can keep up with producers, you can always setup nagios alerts (warn/critical) on 'Pending Messages'. I use my broker liveness monitor daemon that periodically performs synthetic transactions against the broker so I can auto-markdown bad apple broker nodes on the client side. On Feb 7, 2013, at 8:40, Gaurav Sharma <[hidden email]> wrote: > Folks - when you notice the broker in a 'stuck' state, please take a thread and heap dump before killing the broker process and share with devs on here. > > Also: > 1. What broker topology are you using? > 2. How many producers/consumers? > 3. Are you pooling connections, producers, sessions? > 4. How large are your messages? > 5. How many concurrent connections? What is the rate of message flow /second? > 6. Are messages persistent and if so, what store? > 7. What are your system/memory usage settings? How much heap and RAM on brokers and on clients? > 8. What is the prefetch size? > 9. How are you using the broker - what role is it playing in your system? Using queues, topics, both? > 10. Have you monitored GC activity on clients and brokers? > 11. What amq transport are you using and via what client? > > There might be more than one factors at play here. Very curious how restarts are 'fixing' the problem. > > On Feb 7, 2013, at 8:18, Donald Masanz <[hidden email]> wrote: > >> I took your advice this morning when I noticed that MQ had hung up and was able to keep my application running while I restarted MQ. Great tip. Do you have a process that monitors MQ and notifies you if it stops processing, or do you have to do a manual check? >> >> From: tetoconsusport [via ActiveMQ] [mailto:[hidden email]] >> Sent: Wednesday, February 06, 2013 4:52 PM >> To: Masanz, Don >> Subject: Re: Stuck Messages >> >> Did you find a solution for this? We are running activemq 5.7 and have had this issue as well. If we restart activemq everything works however, we have not been able to find the root cause. >> ________________________________ >> If you reply to this email, your message will be added to the discussion below: >> >> NAML >> >> >> >> >> -- >> View this message in context: http://activemq.2283324.n4.nabble.com/Stuck-Messages-tp4662092p4662985.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. ________________________________ If you reply to this email, your message will be added to the discussion below: http://activemq.2283324.n4.nabble.com/Stuck-Messages-tp4662092p4662992.html To unsubscribe from Stuck Messages, click here. NAML -- View this message in context: http://activemq.2283324.n4.nabble.com/Stuck-Messages-tp4662092p4662993.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_20088_21226952.1360256410048--