activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Reply:How to protect broker from broker from exhausting resources requested by clients creating temp queues
Date Fri, 21 Dec 2012 07:07:48 GMT
No obvious solutions available, you should explore the broker plugin mechanism at first and
then have to write your own broker plugin to protect the broker from creating too many temp
queues by clients,but the more simple solution would be using TaskRunnerFactory based on the
shared thread pool.



At 2012-12-21 07:14:48,mikmela <mikmela@yahoo.com> wrote:
>Is any way to protect broker from malicios or badly written client code that
>keep creating temp queues?
>At some point broker hits virtual memory limits and number of live threads
>is very high...
>
>javax.jms.JMSException: unable to create new native thread
>	at
>org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
>	at
>org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1362)
>	at
>org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:2023)
>	at
>org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1353)
>
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/How-to-protect-broker-from-broker-from-exhausting-resources-requested-by-clients-creating-temp-queues-tp4660974.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.

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