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 952659A24 for ; Sat, 14 Apr 2012 13:05:45 +0000 (UTC) Received: (qmail 13998 invoked by uid 500); 14 Apr 2012 13:05:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 13975 invoked by uid 500); 14 Apr 2012 13:05:43 -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 13967 invoked by uid 99); 14 Apr 2012 13:05:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 13:05:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ruslan.usifov@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 13:05:38 +0000 Received: by yhkk25 with SMTP id k25so2256371yhk.31 for ; Sat, 14 Apr 2012 06:05:17 -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=s9q2Ms+iU2sax86oHmuqNlgaoSWcHJgido9u6ENcNJw=; b=fjkI6aiTyi3LhWxrTsFFnZk6ag40V9H8bAD4zns3pKGcpPowi0csvAdtrUIVBDm55V pUh70fDe9KsGcdmQFGHZtQgM2e1PEArObMShwi8BTbBoCDlfgCSyfvwgTg4jT50nx0JU ZkYp+JJpdPK0omZH46ngRelL2ZxzJoPHdiymuIfsa7NgwpZZ3WyvJA8ir5LDo4CfmAxI wb+VKOtSPMTc7TeTKfKEiTn0/WrETQUyqq3nxWmTNEgeRB8JkYrf+Ff/cgELDI8IHOa+ H6968BYlo6r7VJm0FnwjuOYzgiysSCcrW1JcNpfPlC9V3dJQzr3+ZFwEUBVNghLkTeze nMzQ== MIME-Version: 1.0 Received: by 10.236.78.74 with SMTP id f50mr5079119yhe.26.1334408717820; Sat, 14 Apr 2012 06:05:17 -0700 (PDT) Received: by 10.236.145.170 with HTTP; Sat, 14 Apr 2012 06:05:17 -0700 (PDT) In-Reply-To: References: Date: Sat, 14 Apr 2012 17:05:17 +0400 Message-ID: Subject: Re: swap grows From: ruslan usifov To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf300fad3b9c62c504bda33d65 X-Virus-Checked: Checked by ClamAV on apache.org --20cf300fad3b9c62c504bda33d65 Content-Type: text/plain; charset=ISO-8859-1 I know:-) but this is not answer:-(. I found that on other nodes there still about 3GB (on node with JAVA_HEAP=6GB free memory also 3GB) of free memory but there JAVA_HEAP=5G, so this looks like some sysctl (/proc/sys/vm???) ratio (about 10%(3 / 24 * 100)), i don't known which, anybody can explain this situation???? 2012/4/14 R. Verlangen > Its recommended to disable swap entirely when you run Cassandra on a > server. > > > 2012/4/14 ruslan usifov > >> I forgot to say that system have 24GB of phis memory >> >> >> 2012/4/14 ruslan usifov >> >>> Hello >>> >>> We have 6 node cluster (cassandra 0.8.10). On one node i increase java >>> heap size to 6GB, and now at this node begin grows swap, but system have >>> about 3GB of free memory: >>> >>> >>> root@6wd003:~# free >>> total used free shared buffers cached >>> Mem: 24733664 21702812 3030852 0 6792 13794724 >>> -/+ buffers/cache: 7901296 16832368 >>> Swap: 1998840 2352 1996488 >>> >>> >>> And swap space slowly grows, but i misunderstand why? >>> >>> >>> PS: We have JNA mlock, and set vm.swappiness = 0 >>> PS: OS ubuntu 10.0.4(2.6.32-40-generic) >>> >>> >>> >> > > > -- > With kind regards, > > Robin Verlangen > www.robinverlangen.nl > > --20cf300fad3b9c62c504bda33d65 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I know:-) but this is not answer:-(. I found that on other nodes there stil= l about 3GB (on node with JAVA_HEAP=3D6GB free memory also 3GB) of free mem= ory but there JAVA_HEAP=3D5G, so this looks like some sysctl (/proc/sys/vm?= ??) ratio (about 10%(3 / 24 * 100)), i don't known which, anybody can e= xplain this situation????

2012/4/14 R. Verlangen <= ;robin@us2.nl>
Its recommended to disable swap entirely when you run Cassandra on a server= .


2012/4/14 ruslan usifov <ruslan.usifov@gmail.com>
I forgot to say that system have 24GB of phi= s memory


2012/4/14 ruslan usifov <ruslan.usifov@gmail.com>
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex"> Hello

We have 6 node cluster (cassandra 0.8.10). On one node i incre= ase java heap size to 6GB, and now at this node begin grows swap, but syste= m have about 3GB of free memory:


root@6wd003:~# free
=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 total=A0=A0=A0=A0=A0=A0 used=A0=A0=A0=A0=A0= =A0 free=A0=A0=A0=A0 shared=A0=A0=A0 buffers=A0=A0=A0=A0 cached
Mem:=A0=A0=A0=A0=A0 24733664=A0=A0 21702812=A0=A0=A0 3030852=A0=A0=A0=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 6792=A0=A0 13794724
-/+ buffers/cache:= =A0=A0=A0 7901296=A0=A0 16832368
Swap:=A0=A0=A0=A0=A0 1998840=A0=A0=A0= =A0=A0=A0 2352=A0=A0=A0 1996488


And swap space slowly grows, but= i misunderstand why?


PS: We have JNA mlock, and set=A0 vm.swappiness =3D 0
PS: OS ubu= ntu 10.0.4(2.6.32-40-generic)






<= /div>--
With kind regard= s,

Robin Verlangen


--20cf300fad3b9c62c504bda33d65--