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 9F64918F1E for ; Fri, 8 Jan 2016 23:40:10 +0000 (UTC) Received: (qmail 96654 invoked by uid 500); 8 Jan 2016 23:40:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 96612 invoked by uid 500); 8 Jan 2016 23:40:07 -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 96602 invoked by uid 99); 8 Jan 2016 23:40:07 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 23:40:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DCF421804DE for ; Fri, 8 Jan 2016 23:40:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id sBXXyXtddYjq for ; Fri, 8 Jan 2016 23:40:06 +0000 (UTC) Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 11B64204D0 for ; Fri, 8 Jan 2016 23:40:06 +0000 (UTC) Received: by mail-qg0-f46.google.com with SMTP id b35so234705576qge.0 for ; Fri, 08 Jan 2016 15:40:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VvN6P693cFU+2XiO2PafOielLh+XZgI4q6GrZocED+w=; b=uotNb2OiNFLXAiMsIP3BQABKePaa3QJXdeDAe0rCiwLVHRX3MGIykd5RRL9NQ2Dq9P eNsnWc2H0M6GU+93kSP4XROnqN+RZEvR7XeJ2lA7pbDeGKUm0YewgxTWHXKN2qJOpvFD Fm5jOGNdzRpN2lu1WXcnYkZCNnqVt0e0AiF+fWS9DliDT0twIXAkeBN4nI0qqHuxAgQ0 o33lrnMfAxaJLt8SwJS2XKg4UwawhY9IFBex7L12N85Bh4KP7+8Qq0ZAC4qsaSTuJfa3 zxaFe9W6vlxqFEeaFl+Z+5GEg1mIEiPPipEp9nQ5h3A597YpnDahd3mUAJduBmRNHeVG I5IA== MIME-Version: 1.0 X-Received: by 10.140.99.53 with SMTP id p50mr72136275qge.97.1452296399180; Fri, 08 Jan 2016 15:39:59 -0800 (PST) Received: by 10.55.106.198 with HTTP; Fri, 8 Jan 2016 15:39:59 -0800 (PST) Date: Fri, 8 Jan 2016 18:39:59 -0500 Message-ID: Subject: [Off heap memory used (total)] in cfstats From: Kai Wang To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a113d1120fb59980528db1afe --001a113d1120fb59980528db1afe Content-Type: text/plain; charset=UTF-8 Hi, When I switch a big table from STCS to LCS, I notice high off heap memory usage using nodetool cfstats. "*Off heap memory used (total)*" shows +10G usage. Eventually my nodes died because of OOM. How do I throttle off heap usage? The only thing I see in cassandra.yaml is *memtable_offheap_space_in_mb. *Is that the only knob? Thanks. --001a113d1120fb59980528db1afe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

When I switch a big table = from STCS to LCS, I notice high off heap memory usage using nodetool cfstat= s. "Off heap memory used (total)" shows +10G usage.
Eventually my nodes died because of OOM. How do I throttle off heap = usage? The only thing I see in cassandra.yaml is memtable_offheap_space_= in_mb. Is that the only knob?

Thanks.
--001a113d1120fb59980528db1afe--