Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 27335 invoked from network); 6 Oct 2010 07:15:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 07:15:14 -0000 Received: (qmail 87689 invoked by uid 500); 6 Oct 2010 07:15:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 87590 invoked by uid 500); 6 Oct 2010 07:15:11 -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 87582 invoked by uid 99); 6 Oct 2010 07:15:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 07:15:10 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 07:15:06 +0000 Received: by bwz16 with SMTP id 16so7489657bwz.2 for ; Wed, 06 Oct 2010 00:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=xltSLKatm3WUgfgcbXpY6lOj7JjnFYWeM+4b27EDOcw=; b=VJRJDAeKUGjcJH3ImNkrVERTUeOzRlPxQMIlbCqYXAmECRFHkKlY2jS42yTB/hQoTH Wdc9kIklDvL+132huIzQRj0EkmPT2FpW8MU2sRdKB099+2wkg6EJMIZWzBcCOD1dpm9z U/wYgIMYy85o47hvzPvpKwlZNYs8juLd8xAHg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=MtDjqrxb30IDXNVEDAPWlv0nfxioCJ5myKzoLrgXxonZjey0aIqE89Yv45u186qg2J vX5ln804MC75hj/2lq6/mpxfbCm4QEAgqAGuPy3oDhe1kSA+UFh2FnHlRNwxRcRjf2qG cEA4OS2kGPfdKTDKcBNsRPtHy5qmdkfodc0Qk= MIME-Version: 1.0 Received: by 10.204.98.4 with SMTP id o4mr9355922bkn.123.1286349285411; Wed, 06 Oct 2010 00:14:45 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.204.120.198 with HTTP; Wed, 6 Oct 2010 00:14:45 -0700 (PDT) In-Reply-To: <1286329232165-2957136.post@n4.nabble.com> References: <1286329232165-2957136.post@n4.nabble.com> Date: Wed, 6 Oct 2010 09:14:45 +0200 X-Google-Sender-Auth: 5etgvWh_sDeoDOdaoc1lOLnWAKo Message-ID: Subject: Re: javax.jms.ResourceAllocationException: SystemUsage memory limit reached :Need to understand concept From: Dejan Bosanac To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, your producers are slowed down on memory limit reached, not store limits. See http://activemq.apache.org/producer-flow-control.html for more information. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Oct 6, 2010 at 3:40 AM, tmane wrote: > > > > Hi , > > > Active Mq version : =A0activemq-all-5.3.0.4 > Operating system: Linux > Java version :6 > Usage: Queues using persistent messages. > > Configuration: > > =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > > Persistance Adaptor has maxFileLength=3D"20 mb" (total data store is 2gb) > > Messages are also not too bulky its simple concatenated string of few > variables. > > Seeing this exceptions on producer send: > org.springframework.jms.ResourceAllocationException: SystemUsage memory > limit reached; nested exception is javax.jms.ResourceAllocationException: > SystemUsage memory limit reached > > Issue: > Currently we have a setup where we have very fast producers and slow > consumers.As per expectation broker is trying to slow down the producer b= y > sending out a JMSException as above. > When this exceptions are happening data store which has 2gb of space is > still having enough space,also other queues on this broker continue to wo= rk > fine. > > I am trying to understand when broker is slowing down producer which spac= e > its looking at to determine that its out of memory limit. > > Any knowledge sharing on this is much appreciated. > > Thanks in advace. > -tm > -- > View this message in context: http://activemq.2283324.n4.nabble.com/javax= -jms-ResourceAllocationException-SystemUsage-memory-limit-reached-Need-to-u= nderstand-concept-tp2957136p2957136.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >