activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DataMover <david.pirza...@cision.com>
Subject Re: too many open files
Date Mon, 11 May 2009 07:06:06 GMT

Also

I don't see where a ram usage paramenter is given on start up.

#!/bin/bash 
export SUNJMX="-Dcom.sun.management.jmxremote.port=1099 
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote=true"
export JDK_HOME=/usr/java/jdk1.6.0_06
export JAVA_HOME=/usr/java/jdk1.6.0_06
/opt/activemq/apache-activemq-5.2.0/bin/activemq-admin start &






DataMover wrote:
> 
> Version is 5.2
> 
> I will check on the ram allocated to queues.
> We only use queues.
> Some need to be persistence a few do not need to be.
> 
> One thing that may be relevant is that the server is behind a firewall
> that closes connections after a timeout of no activity. We have no control
> over the firewall.
> 
> So ... the clients will close an reopen a  connection to communicate their
> information every 20 seconds. Wonder if that is an issue.
> 
> We were using Mysql as the persitence store but took it out thinking that
> may be the cause.
> So it has been using the default store and the problem did not go away.
> 
> 
> Thank you for your responses
> 
> 
> rajdavies wrote:
>> 
>> 
>> On 10 May 2009, at 21:03, DataMover wrote:
>> 
>>>
>>> I have seems several posts on this but I have not been able to solve  
>>> our
>>> situation.
>>>
>>> We have 30 clients (producers) working with one activemq server.
>>> All worked amazingly well.
>>>
>>> Then we tried a test with around 250 clients.
>>>
>>> That would get many transport errors.
>>> Increasing the file limits on the os caused the system to come to a  
>>> crawl
>>> with no benefit.
>>>
>>> I am assuming the problem can be solved with multiple brokers being  
>>> run.
>>> One question is do they have to be on different machines, or can we  
>>> have
>>> multiple activemqs running on the same server, each listening on a  
>>> different
>>> ip?
>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/too-many-open-files-tp23473539p23473539.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>> 
>> You can use multiple brokers on the same machine - but could you  
>> provide a little more detail about your setup ?:
>>   How much memory did you allocate for your broker?
>> What version of ActiveMQ are you running ?
>> Are you using Topics or Queues ?
>> Do you need the Queue messages to be persistent ?
>> 
>> 
>> 
>> cheers,
>> 
>> Rob
>> 
>> Rob Davies
>> http://fusesource.com
>> http://rajdavies.blogspot.com/
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23478140.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message