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 289536172 for ; Thu, 4 Aug 2011 20:03:06 +0000 (UTC) Received: (qmail 61912 invoked by uid 500); 4 Aug 2011 20:03:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 61748 invoked by uid 500); 4 Aug 2011 20:03:02 -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 61740 invoked by uid 99); 4 Aug 2011 20:03:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 20:03:02 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of teddyyyy123@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 20:02:56 +0000 Received: by yxp4 with SMTP id 4so1550627yxp.31 for ; Thu, 04 Aug 2011 13:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=MWLW6KSGKuNUG99veSoPJXkRALQkWoa8hOB9uNYpiX4=; b=O80bjaGrufhPJ1XmCbms7+Y9TaBGBAduXjO+J51MLnJ2xgJPyvJv5jMpX2T8YpMMAx 9mewvDf6o8F3yteUL3fO1/dQTMatBc7Sl2AUvgnTDw1CBsxqOu8sBmGRqwLFhlcF4xMv zJpUgbvGNPx4P1llJxOIYtU5TeU8EXbOzsVF0= MIME-Version: 1.0 Received: by 10.236.78.202 with SMTP id g50mr1951482yhe.155.1312488155566; Thu, 04 Aug 2011 13:02:35 -0700 (PDT) Received: by 10.236.60.134 with HTTP; Thu, 4 Aug 2011 13:02:35 -0700 (PDT) Date: Thu, 4 Aug 2011 13:02:35 -0700 Message-ID: Subject: "VM Thread" taking 100% CPU? From: Yang To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 I'm running my cassandra cluster (one node), it went fine for a while under heavy load , using 270% CPU etc (this is a multi-core machine). but after a while, the CPU utilization dropped to 100%, and the cluster stopped responding to requests. I did a jstack , and did ps ax -L -o tid,pid,%cpu,command|less I found that one thread is taking 45% of CPU, and the corresponding entry in the jstack output is: "VM Thread" prio=10 tid=0x09a50400 nid=0x1a1a runnable what is the "VM Thread" ? youkit dump does not show a thread with this name Thanks Yang