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 AF8ED90CD for ; Wed, 25 Jan 2012 15:10:16 +0000 (UTC) Received: (qmail 96889 invoked by uid 500); 25 Jan 2012 15:10:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 96832 invoked by uid 500); 25 Jan 2012 15:10:13 -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 96824 invoked by uid 99); 25 Jan 2012 15:10:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 15:10:13 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tivv00@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bk0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 15:10:05 +0000 Received: by bkbzt4 with SMTP id zt4so2778090bkb.31 for ; Wed, 25 Jan 2012 07:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=IGWCzMEsR83RUU5uuz/hSFfeEtHZ5UQhPhHIjQjzRrs=; b=ebNVBs8G1v1lRwtHOdjkWy096fBkbSrenPp+SYxw2eq0izcVXIVtNK2yjvmoJzW0v/ EZyEjt7r85MjE+k6ggq44ZrBdu0S6xt3k0cgCjXXPYGzNKixLYWnKSWgSC7tkUqpxlQ3 koADjUfYbT7MEyk6+rc2/O1uDdAQYbm8VheZI= Received: by 10.204.152.216 with SMTP id h24mr7277059bkw.15.1327504183827; Wed, 25 Jan 2012 07:09:43 -0800 (PST) Received: from [10.64.1.26] ([94.45.140.16]) by mx.google.com with ESMTPS id a17sm1618000bkz.7.2012.01.25.07.09.41 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jan 2012 07:09:42 -0800 (PST) Message-ID: <4F201B3B.3060708@gmail.com> Date: Wed, 25 Jan 2012 17:09:47 +0200 From: Vitalii Tymchyshyn User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: 1.0.6 - High CPU troubleshooting References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello. What's in the logs? It should output something like "Hey, you've got most of your memory used. I am going to flush some of memtables". Sorry, I don't remember exact spelling, but it's gong from GC, so it should be greppable by "GC". 25.01.12 16:26, Matthew Trinneer написав(ла): > Hello Community, > > Am troubleshooting an issue with sudden and sustained high CPU on nodes in a 3 node cluster. This takes place when there is minimal load on the servers, and continues indefinitely until I stop and restart a node. All nodes (3) seem to be effected by the same issue, however it doesn't occur simultaneous on them (although all potentially could be effected at the same time). > > Here's what I've been doing to troubleshoot. > > * vmstat - have run on all servers and there is *no* swap going on > > * iostat - have run on all servers and there is no indication that the disk is in anyway a bottleneck > > * nodetool - nothing is backed up. Not using all available heap (about 2/3rds). > > * Have tracked it down to a specific thread (top -H). When I find that thread's hex equivalent in a jstack dump I see the following > > "Concurrent Mark-Sweep GC Thread" prio=10 tid=0x0000000001d48800 nid=0x4534 runnable > > > Which makes me think that perhaps it's something to do with GC configuration. Unfortunately I'm not able to determine why this might be happening. Any suggestions on how to continue troubleshooting? > > btw - here's my jvm (just in case) > > java version "1.6.0_22" > Java(TM) SE Runtime Environment (build 1.6.0_22-b04) > Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) > > > Thanks! > > Matt >