activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shurbann Martes <>
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:

<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" />

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

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

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

Thank you in advance.


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