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 B96AD61AB for ; Mon, 4 Jul 2011 10:53:06 +0000 (UTC) Received: (qmail 96200 invoked by uid 500); 4 Jul 2011 10:53:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 95120 invoked by uid 500); 4 Jul 2011 10:52:57 -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 95111 invoked by uid 99); 4 Jul 2011 10:52:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 10:52:55 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daniel.doubleday@gmx.net designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 04 Jul 2011 10:52:48 +0000 Received: (qmail invoked by alias); 04 Jul 2011 10:52:27 -0000 Received: from p578bde86.dip0.t-ipconnect.de (EHLO caladan.smeet.de) [87.139.222.134] by mail.gmx.net (mp044) with SMTP; 04 Jul 2011 12:52:27 +0200 X-Authenticated: #3445653 X-Provags-ID: V01U2FsdGVkX1/YJrEphp7YKplZmmMhvb8ELEW+wZSEa++6/AUElQ fKK3DEPTIGFquu From: Daniel Doubleday Content-Type: multipart/alternative; boundary=Apple-Mail-1-757063897 Subject: Cassandra memory problem Date: Mon, 4 Jul 2011 12:52:25 +0200 Message-Id: <75CABA7A-F053-4084-AF9A-101114C72614@gmx.net> To: user@cassandra.apache.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Y-GMX-Trusted: 0 --Apple-Mail-1-757063897 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi all, we have a mem problem with cassandra. res goes up without bounds (well = until the os kills the process because we dont have swap) I found a thread that's about the same problem but on OpenJDK:=20 = http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Very-high= -memory-utilization-not-caused-by-mmap-on-sstables-td5840777.html We are on Debian with Sun JDK. Resident mem is 7.4G while heap is restricted to 3G. Anyone else is seeing this with Sun JDK? Cheers, Daniel :/home/dd# java -version java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) :/home/dd# ps aux |grep java cass 28201 9.5 46.8 372659544 7707172 ? SLl May24 5656:21 = /usr/bin/java -ea -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=3D42 = -Xms3000M -Xmx3000M -Xmn400M ... PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND = = =20 28201 cass 20 0 355g 7.4g 1.4g S 8 46.9 5656:25 java --Apple-Mail-1-757063897 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = all,

we have a mem problem with cassandra. res goes = up without bounds (well until the os kills the process because we dont = have swap)

I found a thread that's about the = same problem but on OpenJDK: 
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Very-hig= h-memory-utilization-not-caused-by-mmap-on-sstables-td5840777.html

We are on Debian with Sun = JDK.

Resident mem is 7.4G while heap is = restricted to 3G.

Anyone else is seeing this = with Sun = JDK?

Cheers,
Daniel

:/home/dd# java -version
java version = "1.6.0_24"
Java(TM) SE Runtime Environment (build = 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build = 19.1-b02, mixed mode)

:/home/dd# ps aux = |grep java
cass     28201  9.5 46.8 372659544 = 7707172 ?   SLl  May24 5656:21 /usr/bin/java -ea = -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=3D42 -Xms3000M = -Xmx3000M -Xmn400M ...

  PID = USER      PR  NI  VIRT  RES  SHR S = %CPU %MEM    TIME+  COMMAND         =                     =                     =                     =                     =                     =                     =               =   
28201 cass      20   0 =  355g 7.4g 1.4g S    8 46.9   5656:25 = java



= --Apple-Mail-1-757063897--