Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D85F24DBF for ; Fri, 10 Jun 2011 03:29:28 +0000 (UTC) Received: (qmail 56015 invoked by uid 500); 10 Jun 2011 03:29:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55992 invoked by uid 500); 10 Jun 2011 03:29:26 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 55984 invoked by uid 99); 10 Jun 2011 03:29:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 03:29:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 03:29:21 +0000 Received: by wwa36 with SMTP id 36so1983716wwa.25 for ; Thu, 09 Jun 2011 20:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=1YOKeyCO7Ae4Ms54mfrVR97OQAKc65UEjvOOFV3jGFc=; b=Opv+c0UcWpYj88yuauM1o3Zho4l3qwjzm+wQ2FBcCjQYAK9Innw1AZwrxplWhUxKbN 6pRNEOTOiQXQHN7ZD9k+mTv1kvtTopyPYiR/T65dbge11fgVtubib7s2KK9yJR5G1K+B 0PY8se5WhjfzWs+qarnE/erSydgOMlRM/Qlgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=De/dvOKSgilAOqV7BUfAA6iS3ETgu3Vfep1mAbceTN1BUyfLdM4cMV4im/w+W9FHSu EojHoATKHcOlxsq0kicG+isz8Y5wR7nT1PBv2Z5zKzv5Y1/ypM0LdHkfDQ5tlSj9PVbH 5j+NOCSysZ8HNkoRqAdnhQLFg3Tx4TzgZxn+4= Received: by 10.216.242.205 with SMTP id i55mr1754181wer.66.1307676539123; Thu, 09 Jun 2011 20:28:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.45.144 with HTTP; Thu, 9 Jun 2011 20:28:39 -0700 (PDT) In-Reply-To: <7DA4B654C7FEB24C9998EE4867BEE93EB9EB70@CNMAIL12.cn.utstarcom.com> References: <7DA4B654C7FEB24C9998EE4867BEE93EB9EB70@CNMAIL12.cn.utstarcom.com> From: Jonathan Ellis Date: Thu, 9 Jun 2011 22:28:39 -0500 Message-ID: Subject: Re: thread blocked from jconsle To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That says "I'm idle waiting for a read to process." 2011/6/9 Donna Li : > > > Hello everyone: > > From the jconsole, I find many thread is blocked, but cassandra ser= ver > is normal, the result of nodetool cfstats and nodetool tpstats are as > following, is the cassandra server normal, should I care about the thread > block info of jconsle? > > > > A block thread of jconsle: > > name=EF=BC=9A ROW-READ-STAGE:5 > > status=EF=BC=9AWAITING on > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1fc= 5a2 > > total blocked=EF=BC=9A143 wait=EF=BC=9A 6,891 > > > > stack =EF=BC=9A > > sun.misc.Unsafe.park(Native Method) > > java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) > > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awa= it(AbstractQueuedSynchronizer.java:1978) > > java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:38= 6) > > java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1= 043) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java= :1103) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:603) > > java.lang.Thread.run(Thread.java:636) > > > > > > cfstats > > Keyspace: PSCluster > > Read Count: 88425 > > Read Latency: 1.4044925756290643 ms. > > Write Count: 702416 > > Write Latency: 0.03599318210291337 ms. > > Pending Tasks: 0 > > > > tpstats > > Pool Name Active Pending Completed > > STREAM-STAGE 0 0 0 > > RESPONSE-STAGE 0 0 44600 > > ROW-READ-STAGE 0 0 55177 > > LB-OPERATIONS 0 0 0 > > MESSAGE-DESERIALIZER-POOL 0 0 0 > > GMFD 0 0 0 > > LB-TARGET 0 0 0 > > CONSISTENCY-MANAGER 0 0 0 > > ROW-MUTATION-STAGE 0 0 942262 > > MESSAGE-STREAMING-POOL 0 0 0 > > LOAD-BALANCER-STAGE 0 0 0 > > FLUSH-SORTER-POOL 0 0 0 > > MEMTABLE-POST-FLUSHER 0 0 144 > > FLUSH-WRITER-POOL 0 0 144 > > AE-SERVICE-STAGE 0 0 0 > > > > Best Regards > > Donna li > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com