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 B9754D3E9 for ; Fri, 28 Sep 2012 07:00:50 +0000 (UTC) Received: (qmail 69805 invoked by uid 500); 28 Sep 2012 07:00:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69776 invoked by uid 500); 28 Sep 2012 07:00:50 -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 69766 invoked by uid 99); 28 Sep 2012 07:00:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2012 07:00:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.161.171] (HELO mail-gg0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2012 07:00:42 +0000 Received: by ggeh3 with SMTP id h3so326063gge.2 for ; Fri, 28 Sep 2012 00:00:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding:x-gm-message-state; bh=UDgBgKE0H5LeaVAS/GBhwmmVxfZKKVBDzssXtPf82MY=; b=DS7Nl3+V/q4B2wvQrtenNzWY6c967M0NMjJEIVsaDQqz+9VS5kZURXirIy68g+pPfH 8DwO0mOEP7Cc10YaJiWuS7TDEOWenz8tvYfrf6uJPGMZ6mqFSVM+aBoLNKLObf7OquYb 7LMSmCcE6W3t3URGtSICtBLkRCMlFVQp1610lEGmnr2Na7HwuNdvpFKGRnhAqp9me8pr XGJnm4auvp26A8tCTZwmg0mZfNM24c83NwwBjWxGHr5mvYku4phpnkBigDC6+VZh0/zr EWS6YMKL6NzU2lt3bSmM5j67UyMQsvuQShIhYoWKcX7+9YEni+ljwxYP6PukQS7Gowf1 lHOg== Received: by 10.236.108.194 with SMTP id q42mr7159162yhg.3.1348815620652; Fri, 28 Sep 2012 00:00:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.146.62.20 with HTTP; Fri, 28 Sep 2012 00:00:00 -0700 (PDT) From: Oscar Pernas Date: Fri, 28 Sep 2012 09:00:00 +0200 Message-ID: Subject: Problem expired messages for durable consumers in 5.6 To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkYKQY1vCI+ToAUcKxtxriKp9+Qhk+lNA948GIWDoT/qlf2BMvCMTiFUWymZNbyKWfkSvSn Hi all, I have several durable consumers that could be disconnected some time. I have a high traffic load, so if there are one or more durable consumers disconnected, Im running into a java heap error (no space). I'm sending messages with timeToLive property to 60000 ms (sets in the message), and I've set broker option expireMessagesPeriod less than 30000 ms. Why message are not discarded? why the fileDurableSubscriberPolicy doesnt throw messages to the persistent file and finally runs into an outOfMemory? My configuration for topics is this: " expireMessagesPeriod=3D"40000" producerFlowControl=3D"false" memoryLimit=3D"1 gb"> With this memory settings: =09 Regards! --=20 =D3scar Pernas Plaza.