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 22FBF954D for ; Mon, 17 Oct 2011 09:45:42 +0000 (UTC) Received: (qmail 55812 invoked by uid 500); 17 Oct 2011 09:45:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55217 invoked by uid 500); 17 Oct 2011 09:45:38 -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 55207 invoked by uid 99); 17 Oct 2011 09:45:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 09:45:36 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of baetz.alexander@googlemail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 09:45:30 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RFjkq-0002r9-Pd for users@activemq.apache.org; Mon, 17 Oct 2011 02:45:08 -0700 Date: Mon, 17 Oct 2011 02:45:08 -0700 (PDT) From: Laures To: users@activemq.apache.org Message-ID: <1318844708787-3911512.post@n4.nabble.com> Subject: Broker Flooded by unconsumed Advisory.TempQueue messages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, i'm still following a memory problem in my broker network. According to JConsole the ActiveMQ.Advisory.TempQueue is taking up 99% of the configured memory when the broker starts to block messages. The webconsole shows something like 1974234 enqueued and 45345 dequeued messages at 30 consumers (6 brokers, one consumer and the rest is clients that use the java connector). As far as i know the dequeue count should be not much smaller than: enqueued*consumers. so im my case a big bunch of advisories is not consumed and starts to fill my temp message space. Since none client actively uses temp queues i find this very strange. After taking a look at the temp queue i'm even more confused. Most of the messages look like this (msg.toString): ActiveMQMessage {commandId = 0, responseRequired = false, messageId = ID:srv007210-36808-1318839718378-1:1:0:0:203650, originalDestination = null, originalTransactionId = null, producerId = ID:srv007210-36808-1318839718378-1:1:0:0, destination = topic://ActiveMQ.Advisory.TempQueue, transactionId = null, expiration = 0, timestamp = 0, arrival = 0, brokerInTime = 1318840153501, brokerOutTime = 1318840153501, correlationId = null, replyTo = null, persistent = false, type = Advisory, priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = org.apache.activemq.util.ByteSequence@45290155, dataStructure = DestinationInfo {commandId = 0, responseRequired = false, connectionId = ID:srv007210-36808-1318839718378-2:2, destination = temp-queue://ID:srv007211-47019-1318835590753-11:9:1, operationType = 1, timeout = 0, brokerPath = null}, redeliveryCounter = 0, size = 0, properties = {originBrokerName=broker.coremq-behaviortracking-675-mq-01-master, originBrokerId=ID:srv007210-36808-1318839718378-0:1, originBrokerURL=stomp://srv007210:61612}, readOnlyProperties = true, readOnlyBody = true, droppable = false} do i understand correctly that the origin of the message is a stomp connection? if yes, how can a stomp connection create temp queues? is there a simple reason why the advisories are not consumed? Thanks in advance, Laures -- View this message in context: http://activemq.2283324.n4.nabble.com/Broker-Flooded-by-unconsumed-Advisory-TempQueue-messages-tp3911512p3911512.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.