Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8EC3E89E for ; Thu, 20 Dec 2012 23:15:16 +0000 (UTC) Received: (qmail 74307 invoked by uid 500); 20 Dec 2012 23:15:16 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74259 invoked by uid 500); 20 Dec 2012 23:15:16 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 74249 invoked by uid 99); 20 Dec 2012 23:15:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 23:15:16 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 23:15:11 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TlpKD-00074R-JZ for users@activemq.apache.org; Thu, 20 Dec 2012 15:14:49 -0800 Date: Thu, 20 Dec 2012 15:14:48 -0800 (PST) From: mikmela To: users@activemq.apache.org Message-ID: <1356045288267-4660974.post@n4.nabble.com> Subject: How to protect broker from broker from exhausting resources requested by clients creating temp queues MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.