Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-18 Thread Mats Henrikson
On 17 February 2010 16:51, Mats Henrikson wrote: > When set the broker will just freeze after some number of messages, > and using JMX/JConsole the queue now doesn't render its attributes, > you can't connect a consumer etc. I have logged this bug for this problem: https://issues.apache.org/acti

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-16 Thread Mats Henrikson
Hi Gary, I checked out your test case and seeing that that worked fine set out to figure out why my test case didn't. As it turns out it is because of my :

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-16 Thread scot.hale
n(e); >>>> >>} >>>> >> >>>> >> >>>> >> >>>> >> Here is a Producer: >>>> >> >>>> >> public class Producer implements Runnable{ >>>> >> >>>> >&

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-16 Thread scot.hale
; >> message.writeBytes(new >>> >> >>> >> >>> byte[]{0,0,0,66,0,0,0,5,0,0,0,0,0,0,0,3,0,0,0,49,51,49,51,51,53,53,48,51,51,54,0,0,0,49,50,51,52,53,0,0,0,0,0,0,0,0,0,0,17,116,114,97,99,101,32,109,101,32,112,108,101,97,115,101,32,

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-16 Thread Gary Tully
MessageProducer producer = >> >> session.createProducer(destination); >> >> producer.setDeliveryMode(DeliveryMode.PERSISTENT); >> >>BytesMessage message = session.createBytesMessage(); >> >>message.writeB

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-16 Thread Gary Tully
2,50,}); > >>try { > >>producer.send(message); > >> } catch (ResourceAllocationException e) { > >> e.printStackTrace(); > >>} > >>session.close

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-15 Thread Mats Henrikson
Gary, I've been trying to do pretty much the same thing that Scott is trying to do, and I can't get it to work either - no matter what I do I seem to be able to blow the broker up with an OOME. What I want to do is configure my broker so that it becomes impossible to run it out of memory or lock

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-15 Thread scot.hale
Hi Scott, >> > >> > just change the below config to enable flow control - i.e: >> > >> > >> > >> > >> > in 5.3 - producerFlowControl is on by default - so just remove the >> > producerFlowControl entry from your configuration. >&g

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-15 Thread Gary Tully
to grow without surpassing the > >> memory > >> setting? I am trying to figure out how to do the same thing. > >> > >> -Scot > >> > >> > >> Fred Moore-3 wrote: > >>> > >>> Hi, > >>> > >>&

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-15 Thread scot.hale
gt;> ... >>> >>> ...can anyone shed some light on the actual role of memoryLimit in: >>> >> memoryLimit="1mb"> >>> >> memoryLimit="1mb"> >>> >>> ...moreover: *when* will producerFlowContr

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-12 Thread Rob Davies
F. -- View this message in context: http://old.nabble.com/How-to-configure-5.3-broker-over-KahaDB-to-support-lots-of-unconsumed--persistent-msgs--tp27277849p27569119.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. Rob Davies http://twitter.com/rajdavies I work here: http

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-12 Thread rajdavies
ht on the actual role of memoryLimit in: > > > > ...moreover: *when* will producerFlowControl start slowing down consumers? > > Cheers, > F. > > -- View this message in context: http://old.nabble.com/How-to-configure-5.3-broker-over-KahaDB-to-support-lots-of-un

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-02-12 Thread scot.hale
ontext: http://old.nabble.com/How-to-configure-5.3-broker-over-KahaDB-to-support-lots-of-unconsumed--persistent-msgs--tp27277849p27569119.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-01-26 Thread Gary Tully
the memory limit puts a cap on the amount of memory a given destination can consume. If 70% of that limit is reached, message enqueue blocks pending release of some memory. If producerFlowControl is enabled, producers are blocked pending some memory release. The difference between the queue blockin

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-01-26 Thread Fred Moore
Hi, going back to Cursors and http://activemq.apache.org/how-do-i-configure-activemq-to-hold-100s-of-millions-of-queue-messages-.html ... ...can anyone shed some light on the actual role of memoryLimit in: ...moreover: *when* will producerFlowControl start slowing down consumers? Cheers

Re: How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-01-22 Thread rideallday
nts are similar. -- View this message in context: http://old.nabble.com/How-to-configure-5.3-broker-over-KahaDB-to-support-lots-of-unconsumed--persistent-msgs--tp27277849p27277999.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How to configure 5.3 broker over KahaDB to support lots of unconsumed persistent msgs?

2010-01-22 Thread Fred Moore
Hi folks, we have a 5.3 embedded KahaDB based broker with just a VM connector on it (see activemq.xml here http://pastebin.com/f492ec856), our producers continuously send persistent messages while the consumers run intermittently (because they are bound to the availability of an external and inter