activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From freders <feder...@linuxspot.com.ar>
Subject ActiveMQ doesn't close connections
Date Thu, 04 Mar 2010 16:18:49 GMT

Hello to everyone,

I'm using Apache 2, Tomcat 6 and ActiveMQ 5.2.0. I'm using request-reply
messages mode. ActiveMQ works well except that it doesn't close the
ESTABLISHED connections. So, after a couple of hours running, there are not
available file descriptors left to accept new connections due to ActiveMQ
doesn't close them.

After an object sends a message to other application, some resources are
released like in this piece of code:

            session.close();
            tmpQueue.delete();
            connection.close();
            responseConsumer.close();
            producer.close();

The info gathered by the command 'netstat -natp | grep ESTABLISHED | grep
:61617' (ssl connector) shows me the number of established connections,
which is huge after a couple of hours.

¿Have anyone had a problem like this? If so, ¿how was it solved?

Thanks in advance,

-- 
View this message in context: http://old.nabble.com/ActiveMQ-doesn%27t-close-connections-tp27783008p27783008.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message