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 426F76345 for ; Mon, 4 Jul 2011 10:03:25 +0000 (UTC) Received: (qmail 47442 invoked by uid 500); 4 Jul 2011 10:03:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 46200 invoked by uid 500); 4 Jul 2011 10:03:10 -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 46175 invoked by uid 99); 4 Jul 2011 10:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 10:03:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.mk.green@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-iy0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 10:02:56 +0000 Received: by iyi12 with SMTP id 12so5718318iyi.2 for ; Mon, 04 Jul 2011 03:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jvoZBdh+C3PihMXkqklp4hI///Lq9sI/j+eLh7TMicU=; b=jSsrpWNU6tEGKUo0J+IQJpLfRKk7yhonYPobfh5cbt9BFNTGpGnDeYN5WfHuwMPZDs rS7BBKQ/9uPO+VpC4+iIHd8FCciGwOGpA3CVJa4wCQ9H8OVvfdHnPAZIvOwKeoTDwRrI qXeh2vTbWill2WAb7bj/YsMiBoo7vT5gouxk8= MIME-Version: 1.0 Received: by 10.231.18.220 with SMTP id x28mr5279294iba.185.1309773755083; Mon, 04 Jul 2011 03:02:35 -0700 (PDT) Received: by 10.231.34.205 with HTTP; Mon, 4 Jul 2011 03:02:35 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Jul 2011 11:02:35 +0100 Message-ID: Subject: Re: EOFException from Stomp - heap space exhausted after enabling GC on queues From: James Green To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=00032556417e686ceb04a73b77a8 X-Virus-Checked: Checked by ClamAV on apache.org --00032556417e686ceb04a73b77a8 Content-Type: text/plain; charset=ISO-8859-1 How convinced are you? I'm minded to file this as a seperate bug given the heap exceptions being thrown and the Stomp connectivity that dies completely. What is not explained in the bug report you list are the "other effects" of the bug Timothy has fixed and whether there may be any overlap in the behaviours being observed. James On 4 July 2011 10:44, Gary Tully wrote: > this looks like a bug, but I think it may be an instance of > https://issues.apache.org/jira/browse/AMQ-2524 which has just been > resolved so it is available in the most current 5.6-SNAPSHOT > > On 4 July 2011 09:31, James Green wrote: > > Getting these: > > > > 2011-07-03 07:41:54,330 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:53546 > > 2011-07-03 07:49:05,893 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:42055 > > 2011-07-03 07:49:05,894 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:42045 > > 2011-07-03 08:06:55,985 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:43304 > > 2011-07-03 08:06:55,987 | INFO | Outbound.Account.22556 Inactive for > longer > > than 60000 ms - removing ... | org.apache.activemq.broker.region.Queue | > > ActiveMQ Broker[zorin] Scheduler > > 2011-07-03 08:06:59,566 | WARN | Async error occurred: > > java.lang.OutOfMemoryError: Java heap space | > > org.apache.activemq.broker.TransportConnection.Service | ActiveMQ > Transport: > > tcp:///127.0.0.1:42987 > > 2011-07-03 08:06:59,566 | INFO | Outbound.Account.21011 Inactive for > longer > > than 60000 ms - removing ... | org.apache.activemq.broker.region.Queue | > > ActiveMQ Broker[zorin] Scheduler > > 2011-07-03 08:06:59,567 | WARN | Exception occurred processing: > > null: java.lang.OutOfMemoryError: Java heap space | > > org.apache.activemq.transport.stomp.ProtocolConverter | ActiveMQ > Connection > > Dispatcher: /127.0.0.1:42987 > > > > 2011-07-03 09:00:51,867 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57612 > > 2011-07-03 09:00:51,868 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57634 > > 2011-07-03 09:00:51,868 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57610 > > 2011-07-03 09:00:54,148 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57643 > > 2011-07-03 09:00:56,406 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57644 > > 2011-07-03 09:00:57,535 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57646 > > 2011-07-03 09:00:57,536 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57659 > > 2011-07-03 09:00:57,536 | INFO | Transport failed: java.io.EOFException > | > > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > > Transport: tcp:///127.0.0.1:57676 > > 2011-07-03 13:32:36,995 | INFO | Outbound.Account.200237 Inactive for > > longer than 60000 ms - removing ... | > > org.apache.activemq.broker.region.Queue | ActiveMQ Broker[zorin] > Scheduler > > 2011-07-03 23:58:46,994 | INFO | account_events Inactive for longer than > > 60000 ms - removing ... | org.apache.activemq.broker.region.Queue | > ActiveMQ > > Broker[zorin] Scheduler > > > > The web console responds fine, the Stomp connector throws the exception. > The > > AMQ config shows -Xms512M -Xmx512M > > -Dorg.apache.activemq.UseDedicatedTaskRunner=true > > > > This system has been running without incident for several months. Two > weeks > > ago I changed the config to enable gcInactiveDestinations="true" on > queues. > > Since then we've had two Stomp "crashes" inside one week. > > > > Does this GC process require much more RAM or something? Or am I likely > > looking at a bug? > > > > Thanks, > > > > James > > > > > > -- > http://fusesource.com > http://blog.garytully.com > --00032556417e686ceb04a73b77a8--