activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shurbann Martes <s.d.c.mar...@gmail.com>
Subject Multiple sockets connection TIME_WAIT
Date Tue, 24 Aug 2010 10:56:07 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message