Hi ActiveMQ,

Thank you for taking time to answer my question.

I have the following issue. I'm using ActiveMQ in combination with Spring:

<bean
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
<property name="connectionFactory" ref="pooledFactory" />
<property name="destination" ref="requestQueue" />
<property name="messageListener" ref="productRequestProcessorMdp" />
<property name="concurrentConsumers" value="1" />
<property name="maxConcurrentConsumers" value="5" />
<property name="transactionManager" ref="jmsTransactionManager" />
</bean>

It's using the TCP Transport: tcp://localhost:61616

This was working fine, until an increase in usage of the service lately:

I noticed lately that the amount of socket connection connecting on the port
61616 is huge (> 780) of which only 15 is ESTABLISHED and the other are
TIME_WAIT.

Lately my container/machine starts giving too many socket connections during
peek hours. (I've taken care of ulimit -n on OS level). Now I'm starting to
look at the connections of this machine and more then 80% is on the account
ActiveMQ.

My questions are
- Anyone have/had this problem?
- Is there a way of putting a max connection to the broker?
- How can I make the TIME_WAIT interval smaller?
- Any other suggestion of decreasing the amount of connections to the
broker?

Thank you in advance.

Regards,
SM

Reply via email to