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 1196318D8E for ; Wed, 14 Oct 2015 17:47:11 +0000 (UTC) Received: (qmail 92342 invoked by uid 500); 14 Oct 2015 17:47:10 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 92303 invoked by uid 500); 14 Oct 2015 17:47:10 -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 Delivered-To: moderator for users@activemq.apache.org Received: (qmail 5979 invoked by uid 99); 14 Oct 2015 12:59:28 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.766 X-Spam-Level: ** X-Spam-Status: No, score=2.766 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Date: Wed, 14 Oct 2015 05:48:32 -0700 (PDT) From: kal2 To: users@activemq.apache.org Message-ID: <1444826912624-4702945.post@n4.nabble.com> Subject: FutureResponse bottleneck when using more than 10 threads MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The FutureResponse becomes the bottleneck when we use more than 10 threads to send msgs out through connections.. We need to support large number of threads on producer side and they also send jms msgs, is there anything to set that can help with this limitation. pool-69-thread-4" - Thread t@734 java.lang.Thread.State: WAITING at sun.misc.Unsafe.park(Native Method) - parking to wait for <4bfa2856> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043) at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:374) at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:40) -- View this message in context: http://activemq.2283324.n4.nabble.com/FutureResponse-bottleneck-when-using-more-than-10-threads-tp4702945.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.