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 592CF18F4D for ; Thu, 20 Aug 2015 15:29:52 +0000 (UTC) Received: (qmail 99198 invoked by uid 500); 20 Aug 2015 15:28:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 99163 invoked by uid 500); 20 Aug 2015 15:28:51 -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 99153 invoked by uid 99); 20 Aug 2015 15:28:51 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2015 15:28:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 93403DF889 for ; Thu, 20 Aug 2015 15:28:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NvGjtAe6TUNy for ; Thu, 20 Aug 2015 15:28:50 +0000 (UTC) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 7A06821115 for ; Thu, 20 Aug 2015 15:28:49 +0000 (UTC) Received: by wicja10 with SMTP id ja10so148678143wic.1 for ; Thu, 20 Aug 2015 08:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Rh7ZVTDSGSmdHyMrTqLO5Awnp2nZRZxLQUFRaT6uf7Q=; b=1JzOCR751ArcykSylDv3Rl2Hw3YRZusV78s2xadxnlbzWxa1GXh4uHDVreMvxXSXFa YW+MPQDYiGrr9Y8AMVM5fVla75MWaa65vi18liorRMW7sInwm3ygxfp/fRmSdsevYcMy OdB0cB/ho5R4HGiDZjhvTeodXB33gf642FR6RYfP9CxI42XPwlaeVxohOx2pykUjWqHG HFI1MrTcRmA1FDQMwZLX8ZMtpKi73S354P9GZX13+N3Sy+Du810mBkfYPfeVon09Vywj Kwxl4MF9YYKFD6mO0F+TOIwPFhnx8wO/G8xI737gbeglBV1Lk5Gha2tPCvGS8tSJFPUh G0LQ== MIME-Version: 1.0 X-Received: by 10.194.58.130 with SMTP id r2mr7103929wjq.72.1440084528297; Thu, 20 Aug 2015 08:28:48 -0700 (PDT) Received: by 10.28.14.200 with HTTP; Thu, 20 Aug 2015 08:28:48 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Aug 2015 16:28:48 +0100 Message-ID: Subject: Fwd: JSVC grows until it is killed by the kernel (restarting Cassandra) From: Florin Razvan Gheorghe To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7ba96ec2c17dd2051dbfcea0 --047d7ba96ec2c17dd2051dbfcea0 Content-Type: text/plain; charset=UTF-8 Hi all, I am trying to troubleshoot a case in which the jsvc process (in which Cassandra is running) uses more and more memory until the OS kills the process and so Cassandra is restarted. OS: Ubuntu 12.04 Java: Oracle JDK 8u45 Cassandra: 1.2.19 (datastax) *Note: We are currently tied to Cassandra 1.2.x due to our implementation of our services... Systems: CPU 4 * 2.3 GHz Memory 8 GB Cassandra: out-of-the box parameters, 4 DC with 3 nodes in each DC. 4 keyspaces created by us (one covers all the nodes, 3 of them cover DC1 and another DC) Problem: The jsvc memory grows larger and larger over the time and we need to restart the service every 5-7 days. Tried the following configuration changes in cassandra: - memtable_total_space_in_mb and commitlog_total_space_in_mb set to 1024 - key_cache_size_in_mb: 0 - MAX_HEAP_SIZE="3G" and HEAP_NEWSIZE="200M" - disk_access_mode: standard Please let me know your approach in troubleshooting this. Thank you for your time and patience, Florin --047d7ba96ec2c17dd2051dbfcea0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,
I am trying to troubleshoot a case in which the jsvc process (= in which Cassandra is running) uses more and more memory until the OS kills= the process and so Cassandra is restarted.

OS: Ub= untu 12.04
Java: Oracle JDK 8u45
Cassandra: 1.2.19 (dat= astax)=C2=A0

*Note: We are currently tied to Cassa= ndra 1.2.x due to our implementation of our services...

Systems:=C2=A0
CPU 4 * 2.3 GHz
Memory 8 GB
<= div>
Cassandra: out-of-the box parameters, 4 DC with 3 nodes = in each DC. 4 keyspaces created by us (one covers all the nodes, 3 of them = cover DC1 and another DC)

Problem: The jsvc memory= grows larger and larger over the time and we need to restart the service e= very 5-7 days.

Tried the following configuration c= hanges in cassandra:
-=C2=A0= memtable_total_space_in_mb and=C2=A0commitlog_total_space_in_mb set to=C2=A01024=C2=A0-=C2=A0k= ey_cache_size_in_mb: 0

-=C2=A0<= span style=3D"color:rgb(31,73,125)">MAX_HEAP_SIZE=3D"3G" and=C2= =A0HEAP_NEWSIZE=3D"200M&qu= ot; =C2=A0
-=C2=A0disk_access_mode: standard

Please l= et me know your approach in troubleshooting this.

Thank you for= your time and patience,
Florin

--047d7ba96ec2c17dd2051dbfcea0--