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 415331085E for ; Tue, 3 Mar 2015 19:43:26 +0000 (UTC) Received: (qmail 88382 invoked by uid 500); 3 Mar 2015 19:43:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 88336 invoked by uid 500); 3 Mar 2015 19:43:06 -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 88232 invoked by uid 99); 3 Mar 2015 19:43:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 19:43:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ms@256bit.org designates 144.76.87.176 as permitted sender) Received: from [144.76.87.176] (HELO 256bit.org) (144.76.87.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 19:43:01 +0000 Received: from [2a02:8070:24c6:7b00:688a:b78d:644e:bbdc] by 256bit.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1YSshE-000171-7p for users@activemq.apache.org; Tue, 03 Mar 2015 20:41:37 +0100 Message-ID: <54F60E6F.4020901@256bit.org> Date: Tue, 03 Mar 2015 20:41:35 +0100 From: =?UTF-8?B?TWFyYyBTY2jDtmNobGlu?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: users@activemq.apache.org Content-Type: multipart/alternative; boundary="------------090207070409090704060609" X-SA-Exim-Connect-IP: 2a02:8070:24c6:7b00:688a:b78d:644e:bbdc X-SA-Exim-Mail-From: ms@256bit.org X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on 256bit.org X-Spam-Level: Subject: What do you think about my LevelDB /Zookeeper Setup? X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on 256bit.org) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE,URIBL_BLOCKED autolearn=ham version=3.3.2 --------------090207070409090704060609 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello ActiveMQ users, i want to use ActiveMQ; * with activemq 5.11.1 * with LevelDB/Zookeeper * on three pyhsical nodes * for receiving and sending ~10 Messages per second * a maximum number of 4 million messages (100 KB per message) * with 1GB maxheap * with Java 1.7.075 I attached my configuration! Are there some users which use a production scenario like this? Do you recommend this? Do you have suggestions for the configuration? How can i effectively prevent heap memory problems (poor performance is o.k.)? My configuration looks like this: activemq.xml ------------------------------------------------------------------------ file:${activemq.conf}/credentials.properties " producerFlowControl=3D"true" memoryLimit=3D"100mb" maxPageSize=3D"200" maxBrowsePageSize=3D"100" lazyDispatch=3D"true"> " producerFlowControl =3D "true" memoryLimit =3D "64mb"> ------------------------------------------------------------------------ zoo.cfg ------------------------------------------------------------------------ # The number of milliseconds of each tick tickTime=3D2000 # The number of ticks that the initial # synchronization phase can take initLimit=3D10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=3D5 # the directory where the snapshot is stored. # do not use /tmp for storage, /tmp here is just # example sakes. dataDir=3D/data/zookeeper/data # the port at which the clients will connect clientPort=3D2181 server.1=3Dlnxp-4571.srv.tacatucafoobar.net:2888:3888 server.2=3Dlnxp-4575.srv.tacatucafoobar.net:2888:3888 server.3=3Dlnxp-4576.srv.tacatucafoobar.net:2888:3888 Regards Marc --------------090207070409090704060609--