Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 40447 invoked from network); 20 Jan 2010 11:18:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2010 11:18:21 -0000 Received: (qmail 78693 invoked by uid 500); 20 Jan 2010 11:18:20 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 78674 invoked by uid 500); 20 Jan 2010 11:18:20 -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 78664 invoked by uid 99); 20 Jan 2010 11:18:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 11:18:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.218.219 as permitted sender) Received: from [209.85.218.219] (HELO mail-bw0-f219.google.com) (209.85.218.219) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 11:18:11 +0000 Received: by bwz19 with SMTP id 19so3240924bwz.8 for ; Wed, 20 Jan 2010 03:17:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=2RNBya43WoBLoxokkBg69r7p75WcDT38dcjmwZ1u+SI=; b=v4f1eTCBrB/7TMR2lkW/+zrOSxSYVyc3+aPpJvdjegckM0kQYApYV/G37eJqoyHkUK Ct62QQitOufJFP1JjCJNz6/aOKcb37gynYymsBZhUKa0ht/JkEpVNib9/jdVfsE7uFKZ NIF6r71cvnUQYbf84qHGp1Dh5bsXQtYa/9oE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=exSE9yBJyNgdslHvohwrHlxDEn6y2EzcO9/Gs03K1USUGECdEf9k3zToddM4CzLG5q yUc4Fw+Gokpo67DoiQJWuL7sJQJ6jlmAjbEG1u89/L3PVaBJKkDaonk0CjokRGCMsTd3 RJk1ik3/o0NFH1wCibq7ak6Oz61SsqVB+vE3M= MIME-Version: 1.0 Received: by 10.204.26.148 with SMTP id e20mr1311467bkc.25.1263986270535; Wed, 20 Jan 2010 03:17:50 -0800 (PST) In-Reply-To: <27236969.post@talk.nabble.com> References: <27236969.post@talk.nabble.com> Date: Wed, 20 Jan 2010 11:17:50 +0000 Message-ID: <3a73c17c1001200317k29ac42eancb44b36a8b9fea67@mail.gmail.com> Subject: Re: Question about configuring activemq for sending large messages From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=00032555a33aa801b3047d96bcf7 --00032555a33aa801b3047d96bcf7 Content-Type: text/plain; charset=ISO-8859-1 Something that may help to reduce the memory usage by the broker is a prefetch of 1 for your consumer and lazyDispatch=true for your destination. This should ensure that only one message is kept in memory by the broker at a time. What does jconsole say about your broker (w.r.t memory usage) when your broker is hung? 2010/1/20 dchazin > > I am having problems with the following configuration and I hope someone > can > shed some light on my problem. > I have a persistent topic with one producer and one consumer. The producer > puts out 5 messages per hour. Each message is approximately 45MB in size > and > is sent as a serialized java object. > I have turned off producer FlowControl and increased the producer memory > limit in the broker and also turned off timeouts in the broker. However I > consistently get ChannelClosed exceptions after a few messages are sent. > I have tried disabling timeouts on the producer and consumer and when I do > this the producer appears to deadlock (i.e. hang) after less than 10 > messages. > Any suggestions would be appreciated. > -- > View this message in context: > http://old.nabble.com/Question-about-configuring-activemq-for-sending-large-messages-tp27236969p27236969.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --00032555a33aa801b3047d96bcf7--