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 26E861841F for ; Wed, 11 Nov 2015 12:28:28 +0000 (UTC) Received: (qmail 52045 invoked by uid 500); 11 Nov 2015 12:28:27 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 52002 invoked by uid 500); 11 Nov 2015 12:28:27 -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 51990 invoked by uid 99); 11 Nov 2015 12:28:27 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2015 12:28:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CE00EC3CB1 for ; Wed, 11 Nov 2015 12:28:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.658 X-Spam-Level: *** X-Spam-Status: No, score=3.658 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.343, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Sa5LM3gK3Ir8 for ; Wed, 11 Nov 2015 12:28:16 +0000 (UTC) Received: from mail1.oppenheimerfunds.com (mail1.ofiglobal.com [208.203.94.164]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 7895F439DA for ; Wed, 11 Nov 2015 12:28:16 +0000 (UTC) Received: from pps.filterd (mail1.oppenheimerfunds.com [127.0.0.1]) by mail1.oppenheimerfunds.com (8.15.0.59/8.15.0.59) with SMTP id tABCFiOu023507; Wed, 11 Nov 2015 05:28:15 -0700 Received: from mailroutemstr.den.ofi.com (mailroutemstr.den.ofi.com [172.17.35.116]) by mail1.oppenheimerfunds.com with ESMTP id 1y3su8s845-1 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Nov 2015 05:28:15 -0700 Received: from pps.filterd (mailroutemstr.den.ofi.com [127.0.0.1]) by mailroutemstr.den.ofi.com (8.15.0.59/8.15.0.59) with SMTP id tABCBTLa012853; Wed, 11 Nov 2015 05:28:14 -0700 Received: from opp-ex13mbx1.ny.ofi.com (opp-ex13mbx1.ny.ofi.com [10.10.104.27]) by mailroutemstr.den.ofi.com with ESMTP id 1y3pyf0hmt-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 11 Nov 2015 05:28:14 -0700 Received: from OPP-EX13MBX2.ny.OFI.com (10.10.104.28) by OPP-EX13MBX1.ny.OFI.com (10.10.104.27) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Wed, 11 Nov 2015 07:28:13 -0500 Received: from OPP-EX13MBX2.ny.OFI.com ([169.254.3.27]) by OPP-EX13MBX2.ny.OFI.com ([169.254.3.27]) with mapi id 15.00.1076.000; Wed, 11 Nov 2015 07:28:13 -0500 From: "Basmajian, Raffi" To: "users@activemq.apache.org" CC: "ashakya@vizuri.com" , Kent Eudy Thread-Topic: JMX connections creating high cpu and GC [ EXTERNAL ] Thread-Index: AQHRHEwGbQ0OgrzNQUKXTakG8MT//p6WwESf Date: Wed, 11 Nov 2015 12:28:12 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Content-Type: multipart/alternative; boundary="_000_e9p1n1cmaqxf6oxbidi88mh01447244888748emailandroidcom_" MIME-Version: 1.0 Subject: RE: JMX connections creating high cpu and GC X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-11-11_10:,, signatures=0 --_000_e9p1n1cmaqxf6oxbidi88mh01447244888748emailandroidcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Tim, I'll check today and report back. I suspect this may have something to do with enterprise security and scanni= ng software installed on the Linux host. Is there any command to determine = if the security process is interfering with the amq process? Sent from my Verizon Wireless 4G LTE smartphone -------- Original message -------- From: Tim Bain Date: 11/11/2015 1:41 AM (GMT-05:00) To: ActiveMQ Users Cc: ashakya@vizuri.com, Kent Eudy Subject: Re: JMX connections creating high cpu and GC [ EXTERNAL ] Do you see the same performance impact from attaching JConsole or JVisualVM? On Nov 10, 2015 4:09 PM, "Basmajian, Raffi" wrote: > I'm throwing a hail mary on this one, > > We've set up a broker cluster on A-MQ 5.11 (Fuse 6.2). > Six master/slave pairs, full graph topology network of brokers; 12 brokers > total. > The cluster is brand new, no message activity; network connectors are > active and working properly. > Java 8, RHEL 7.1, 1gb/4Gb min/max > > Problem > =3D=3D=3D=3D=3D=3D=3D > Using JMC (Mission Control) , we connect to a master to view JMX metrics. > Almost immediately, cpu activity on the broker shoots to 100%. Heap > consumption oscillates between 128Mb and 800Mb over 30s windows, and the > rest of the day is generally unpleasant. > > From a thread view, nearly all cpu activity is consumed by numerous > "ActiveMQ Task-xxx" threads; here's the stack trace from one, but they are > all nearly identical: > > ActiveMQ Task-220 [2656] (TIMED_WAITING) > sun.misc.Unsafe.park line: not available [native method] > java.util.concurrent.locks.LockSupport.parkNanos line: 215 > java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill line: > 460 > java.util.concurrent.SynchronousQueue$TransferStack.transfer line: 362 > java.util.concurrent.SynchronousQueue.poll line: 941 > java.util.concurrent.ThreadPoolExecutor.getTask line: 1066 > java.util.concurrent.ThreadPoolExecutor.runWorker line: 1127 > java.util.concurrent.ThreadPoolExecutor$Worker.run line: 617 > java.lang.Thread.run line: 745 > > At first I thought it was related to this issue, and while I found five > threads with the name "JMX Server connection timeout" on this instance, > none of those threads are consuming cpu resources. > https://access.redhat.com/solutions/1169753 > > When we test this on a standalone instance with no network configuration, > this problem does not occur. In our QA environment (the config detailed > above), the broker config is identical to our standalone instances, the > only difference is the network connector. Here's a snippet, there are five > total pairs like this (for six total m/s pairs in the topology) in each > activemq.xml: > > > > name=3D"queues_nc1" > userName=3D"${auth.user}" > password=3D"${auth.password}" > uri=3D"masterslave(tcp://whatever, tcp://whatever)" > consumerTTL=3D"1" > messageTTL=3D"100" > conduitSubscriptions=3D"false" > decreaseNetworkConsumerPriority=3D"true" > suppressDuplicateQueueSubscriptions=3D"true"> > > "/> > > > > name=3D"topics_nc1 " > userName=3D"${auth.user}" > password=3D"${auth.password}" > uri=3D"masterslave(tcp://whatever, tcp://whatever)" > consumerTTL=3D"1" > messageTTL=3D"100 " > decreaseNetworkConsumerPriority=3D"true"> > > "/> > > > > > > This e-mail transmission may contain information that is proprietary, > privileged and/or confidential and is intended exclusively for the > person(s) to whom it is addressed. Any use, copying, retention or > disclosure by any person other than the intended recipient or the intended > recipient's designees is strictly prohibited. If you are not the intended > recipient or their designee, please notify the sender immediately by retu= rn > e-mail and delete all copies. OppenheimerFunds may, at its sole discretio= n, > monitor, review, retain and/or disclose the content of all email > communications. > This e-mail transmission may contain information that is proprietary, privi= leged and/or confidential and is intended exclusively for the person(s) to = whom it is addressed. Any use, copying, retention or disclosure by any pers= on other than the intended recipient or the intended recipient's designees = is strictly prohibited. If you are not the intended recipient or their desi= gnee, please notify the sender immediately by return e-mail and delete all = copies. OppenheimerFunds may, at its sole discretion, monitor, review, reta= in and/or disclose the content of all email communications. --_000_e9p1n1cmaqxf6oxbidi88mh01447244888748emailandroidcom_--