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 0F86818BC6 for ; Tue, 29 Dec 2015 03:38:58 +0000 (UTC) Received: (qmail 30461 invoked by uid 500); 29 Dec 2015 03:38:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30402 invoked by uid 500); 29 Dec 2015 03:38:55 -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 30392 invoked by uid 99); 29 Dec 2015 03:38:55 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 03:38:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 987D1C0D23 for ; Tue, 29 Dec 2015 03:38:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=eventbrite-com.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id sP1BfpAHEjGU for ; Tue, 29 Dec 2015 03:38:53 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id B38052114C for ; Tue, 29 Dec 2015 03:38:52 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id c192so30269711lfe.2 for ; Mon, 28 Dec 2015 19:38:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eventbrite-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VzA9sgkr3zH0B9ydi+J31g+1z1SYztQtjBO37E3z84o=; b=u4TJwWFVo59SiBPbpzBqi+FYiUPhV/4xHiPF4LJzu+/7B854mS9GMY7AZW0PsrFFWE S7+FgPhVH4viYSBl5NgAVzBkOYuvnLIeN/oCQaOI0PsiVCIRQePGtbi4OZ+OGbQBeuMT hdFaTJKKmza/85xDbaFAwudBzlOaLWQKelKsBmytE4wPsp5Z4RjJvPLnq2SP7UZVThjp UfucEh79wOkrXZWVoH2TYz3Z+tNlrgN34kJAeR1WBbkh5+IecN/u7F4n/ylTzvi7j9N0 AxUxBYDQ0wDq5qQmmm5NhrMwnMJNSX17SgRWvxHwiB1pYiaLTbUOJJpIsOQOydA1c0k+ epbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=VzA9sgkr3zH0B9ydi+J31g+1z1SYztQtjBO37E3z84o=; b=GKg1WQxcmhdMKGd8/nAQ23jqd/LAym2h9kerc5AdTfZfixbMx03YTQ+aw9cfAnJMqy 9C64nG/0XhyCe5OS2s5C8n3w/enjzl0Y1AHW9XU2IqMIOFF6ILQLSh+mvgYkRpZNCknZ Eju6PPe/+vi+hVNUr+FJwQqHDVwJlGK/4vu48il0MrzSiq08VoHOWui0z9KQEriZfObr YGcEDh1gB5f+8OXIQGFqgv0NmK8ofQkAbu/1O8cXbaOH2o8XEaY5fLE5hnO275cccSJF 4b93uf4qwjhl9gZqq5cLf6DY1+bPrnDRpqvcWO+CeBI52C6pySTqFPVLn0d7s6S0DMpe yMpQ== X-Gm-Message-State: ALoCoQm2Cv9PR2xqmtEmSdXGVpnHEiPDHH/sgEyPViR++2R0dkX3tcUeoV4GIZQvFqMNQ9HWAqjCgNqtQ4T/SB2GXEKdFO9ZGwoMF0oZGNoFVv/jJJxtMaw= MIME-Version: 1.0 X-Received: by 10.25.30.5 with SMTP id e5mr15722075lfe.48.1451360331886; Mon, 28 Dec 2015 19:38:51 -0800 (PST) Received: by 10.115.4.97 with HTTP; Mon, 28 Dec 2015 19:38:51 -0800 (PST) In-Reply-To: <4dca0ca0.26c0.151eb745090.Coremail.xutom2006@126.com> References: <4dca0ca0.26c0.151eb745090.Coremail.xutom2006@126.com> Date: Mon, 28 Dec 2015 19:38:51 -0800 Message-ID: Subject: Re: cassandra full gc too long From: Robert Coli To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a113fa5d0060d880528012983 --001a113fa5d0060d880528012983 Content-Type: text/plain; charset=UTF-8 On Mon, Dec 28, 2015 at 5:57 PM, xutom wrote: > I have 5 nodes in my C* cluster, and each node has the same > configuration file(Cassandra-env.sh: MAX_HEAP_SIZE="32G" and > HEAP_NEWSIZE="8G"), and My Cassandra version is 2.1.1. Now I want to > export all data of one table, i am using select * from tablename, > Probably lower your heap size. If you're using CMS GC with 32gb heap you will get long GC pauses. Also use a modern CQL client with paging support. In addition, upgrade to the head of 2.1.x, 2.1.1 is not a version anyone should be using in production at this time. =Rob --001a113fa5d0060d880528012983 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On M= on, Dec 28, 2015 at 5:57 PM, xutom <xutom2006@126.com> wrote= :
=C2=A0 =C2=A0 I have 5 no= des in my C* cluster, and each node has the same configuration file(Cassand= ra-env.sh:=C2=A0MAX_HEAP_SIZE=3D"32G&q= uot; and=C2=A0HEAP_NEWSIZE=3D"8= G"), and My Cassandra version i= s 2.1.1. Now I want to export all data of one table, i am using =C2=A0selec= t * from tablename,

Probably lower your heap size. If you're using CMS GC with 32gb heap = you will get long GC pauses.

Also use a modern CQL= client with paging support.

In addition, upgrade = to the head of 2.1.x, 2.1.1 is not a version anyone should be using in prod= uction at this time.

=3DRob

--001a113fa5d0060d880528012983--