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 C664910DEE for ; Wed, 23 Oct 2013 13:52:47 +0000 (UTC) Received: (qmail 50076 invoked by uid 500); 23 Oct 2013 13:52:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 49923 invoked by uid 500); 23 Oct 2013 13:52:44 -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 49909 invoked by uid 99); 23 Oct 2013 13:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 13:52:41 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chirino@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vc0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 13:52:36 +0000 Received: by mail-vc0-f180.google.com with SMTP id lc6so440226vcb.25 for ; Wed, 23 Oct 2013 06:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=UHQUr6uOai7QoAEBh19aNO8UIEKy0P5/rktVGkB6RkE=; b=gUEGCIoHl7JUoRThkXOogBL1VbqJwpTG+QwM8yub9Q1yW4C7NXeHJVa+BnSstX1Ued 44rb7jQZa3HGH+F3/MeOBybXVci9YayD2CtJfLvjqrl+q+tyjaGhot0EGEnMueFUc7Y9 bKVXNMSGXhafh6Gj/tZVUkGlCug7VyOFaolYEKWVnHLdiEhZ4c3gDKWtgzjExoExW+Lj A29Hp4dkzLShOMQ8dghpeZMSY3jr1rRsmx+rB4jQpEVl6n7uc0mNXX9yXH4C1V2UYdHU b3CFVTe04s2PujBDvPtkPc9IoaqjRIqY3Wl5XsirPcwh5CqZlUJdIfP/vRoF5llAytRI iRsw== MIME-Version: 1.0 X-Received: by 10.58.205.195 with SMTP id li3mr176707vec.31.1382536335183; Wed, 23 Oct 2013 06:52:15 -0700 (PDT) Sender: chirino@gmail.com Received: by 10.52.166.200 with HTTP; Wed, 23 Oct 2013 06:52:15 -0700 (PDT) In-Reply-To: <1382019384891-4672941.post@n4.nabble.com> References: <1381354266156-4672485.post@n4.nabble.com> <1382019384891-4672941.post@n4.nabble.com> Date: Wed, 23 Oct 2013 09:52:15 -0400 X-Google-Sender-Auth: _8pxiArSk9feekhopirT8UTjdUo Message-ID: Subject: Re: Replicated LevelDB Store filling up memory From: Hiram Chirino To: users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org One of the slaves falling way behind is probably the reason your seeing that. There is a JMX MBean (with object name attributes 'Service=PersistenceAdapter,view=Replication' that provides a 'slaves' attribute which will tell you each slaves journal replication 'position' which you can then compare to the position attribute of the master. On Thu, Oct 17, 2013 at 10:16 AM, kal123 wrote: > I have 2 slaves and 1 master running and using persistent messges. The > master's memory usage is going high. > The following are the objects i see building up: > byte: 2.77G > LinkedList:235MB (9.8 mil instances) > org.apache.activemq.leveldb.replicated.FileTransferFrame:78.7M (2.45 mil. > instances) > ..ReplicationFrame:59.7M (2.49 mil instances) > > Could the number of FileTransferFrame indicate that its waiting to sync to > slaves, issue with slaves? > > Why would slave be not getting synced fast enough.. or very slow to sync? > we see same issue when quorum_disk is used as well? > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-Store-filling-up-memory-tp4672485p4672941.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Hiram Chirino Engineering | Red Hat, Inc. hchirino@redhat.com | fusesource.com | redhat.com skype: hiramchirino | twitter: @hiramchirino blog: Hiram Chirino's Bit Mojo