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 43AE8965B for ; Mon, 6 Feb 2012 21:27:49 +0000 (UTC) Received: (qmail 35696 invoked by uid 500); 6 Feb 2012 21:27:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35623 invoked by uid 500); 6 Feb 2012 21:27:46 -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 35607 invoked by uid 99); 6 Feb 2012 21:27:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 21:27:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of asgrewal@gmail.com designates 209.85.160.172 as permitted sender) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 21:27:39 +0000 Received: by ghbg16 with SMTP id g16so3267925ghb.31 for ; Mon, 06 Feb 2012 13:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tv8qLfWEioN3fkdYl7+UMaYUAsi/ICtD03RfRQJxUgA=; b=TzflGbvh0BzMmG5gbKDaNhDhQP6txuzTkQbeDwECLbrnun5+HZ52lyAIyNX+055jKs KVy446/K2UCR7nbwz/elNq7dm9ltCTuvaA/OxMDuMX/RkZvWOPRpylJDMwSZY3KHh8dx BB1bdhe5xDQdn4jBBVMlTFy6Sg1g8p3S1uNjE= MIME-Version: 1.0 Received: by 10.50.236.5 with SMTP id uq5mr12566166igc.13.1328563638922; Mon, 06 Feb 2012 13:27:18 -0800 (PST) Received: by 10.42.108.67 with HTTP; Mon, 6 Feb 2012 13:27:18 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Feb 2012 13:27:18 -0800 Message-ID: Subject: Re: Cassandra OOM - 1.0.2 From: Ajeet Grewal To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Here are the last few lines of strace (of one of the threads). There are a bunch of mmap system calls. Notice the last mmap call a couple of lines before the trace ends. Could the last mmap call fail? == BEGIN STRACE == mmap(NULL, 2147487599, PROT_READ, MAP_SHARED, 37, 0xbffffb000) = 0x7709b54000 fstat(37, {st_mode=S_IFREG|0644, st_size=59568105422, ...}) = 0 mmap(NULL, 2147455553, PROT_READ, MAP_SHARED, 37, 0xc7fffb000) = 0x7789b55000 fstat(37, {st_mode=S_IFREG|0644, st_size=59568105422, ...}) = 0 mmap(NULL, 2147483522, PROT_READ, MAP_SHARED, 37, 0xcffff4000) = 0x7809b4f000 fstat(37, {st_mode=S_IFREG|0644, st_size=59568105422, ...}) = 0 mmap(NULL, 1586100174, PROT_READ, MAP_SHARED, 37, 0xd7fff3000) = 0x7889b4f000 dup2(40, 37) = 37 close(37) = 0 open("/home/y/var/fresh_cassandra/data/fresh/counter_object-h-4240-Filter.db", O_RDONLY) = 37 . . . . close(37) = 0 futex(0x2ab5a39754, FUTEX_WAKE, 1) = 1 futex(0x2ab5a39750, FUTEX_WAKE, 1) = 1 futex(0x40116940, FUTEX_WAKE, 1) = 1 mmap(0x41a17000, 12288, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x41a17000 rt_sigprocmask(SIG_SETMASK, [QUIT], NULL, 8) = 0 _exit(0) = ? == END STRACE == -- Regards, Ajeet