From user-return-23993-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Feb 7 18:46:08 2012 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 A28F29138 for ; Tue, 7 Feb 2012 18:46:08 +0000 (UTC) Received: (qmail 47780 invoked by uid 500); 7 Feb 2012 18:46:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 47672 invoked by uid 500); 7 Feb 2012 18:46:05 -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 47659 invoked by uid 99); 7 Feb 2012 18:46:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 18:46:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a43.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 18:45:57 +0000 Received: from homiemail-a43.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTP id 534728C05D for ; Tue, 7 Feb 2012 10:45:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=htzhvgZ7DE U2VPp1ufnE37dCdFzR8QhoSDRpf560I2aEhVrbisvcY2Ohm2mF91B6mn6MpOQ3lK fIwPKevP2ffilL/iHANDRU79LWQOyvw/v49rDFO6M9bUJoLmsBr7pcs5jYRsuhnn JB4mCVaq7O9iDWOl2QS4zRIXC0o1VbduY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=7bZynBznm5Gk6wUC Ya9YiNFkDIE=; b=G7UWcaC+3YPyM8HhoE5bnUyKdiYrLoAOtAS1rKT48+OfHm2X NegcqwiiOBBBmlTNPcrgcVjnf4n6Was/N5qtK1E1W8GHGgZCexxycUYn2sLWh0my g3uqrYIMirUYKt40LW8Y3t4AiGGr2TGpWGvUolHB7pQhqf5Kk8R50x8vK9c= Received: from [172.16.1.3] (125-236-193-159.adsl.xtra.co.nz [125.236.193.159]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTPSA id 8CFD98C058 for ; Tue, 7 Feb 2012 10:45:34 -0800 (PST) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_FD8AE633-8D91-4454-8349-DC8F8AF801B3" Subject: Re: Cassandra OOM - 1.0.2 Date: Wed, 8 Feb 2012 07:45:31 +1300 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <87D32BBF-B0E1-4599-B0FF-3C17BE248971@thelastpickle.com> X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_FD8AE633-8D91-4454-8349-DC8F8AF801B3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Just to ask the stupid question, have you tried setting it really high ? = Like 500000 ?=20 Cheers =20 ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/02/2012, at 10:27 AM, Ajeet Grewal wrote: > 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? >=20 > =3D=3D BEGIN STRACE =3D=3D > mmap(NULL, 2147487599, PROT_READ, MAP_SHARED, 37, 0xbffffb000) =3D = 0x7709b54000 > fstat(37, {st_mode=3DS_IFREG|0644, st_size=3D59568105422, ...}) =3D 0 > mmap(NULL, 2147455553, PROT_READ, MAP_SHARED, 37, 0xc7fffb000) =3D = 0x7789b55000 > fstat(37, {st_mode=3DS_IFREG|0644, st_size=3D59568105422, ...}) =3D 0 > mmap(NULL, 2147483522, PROT_READ, MAP_SHARED, 37, 0xcffff4000) =3D = 0x7809b4f000 > fstat(37, {st_mode=3DS_IFREG|0644, st_size=3D59568105422, ...}) =3D 0 > mmap(NULL, 1586100174, PROT_READ, MAP_SHARED, 37, 0xd7fff3000) =3D = 0x7889b4f000 > dup2(40, 37) =3D 37 > close(37) =3D 0 > = open("/home/y/var/fresh_cassandra/data/fresh/counter_object-h-4240-Filter.= db", > O_RDONLY) =3D 37 > . > . > . > . > close(37) =3D 0 > futex(0x2ab5a39754, FUTEX_WAKE, 1) =3D 1 > futex(0x2ab5a39750, FUTEX_WAKE, 1) =3D 1 > futex(0x40116940, FUTEX_WAKE, 1) =3D 1 > mmap(0x41a17000, 12288, PROT_NONE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) =3D = 0x41a17000 > rt_sigprocmask(SIG_SETMASK, [QUIT], NULL, 8) =3D 0 > _exit(0) =3D ? > =3D=3D END STRACE =3D=3D >=20 > --=20 > Regards, > Ajeet --Apple-Mail=_FD8AE633-8D91-4454-8349-DC8F8AF801B3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Just = to ask the stupid question, have you tried setting it really high ? Like = 500000 ? 

Cheers
 
http://www.thelastpickle.com

On 7/02/2012, at 10:27 AM, Ajeet Grewal wrote:

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?

=3D=3D = BEGIN STRACE =3D=3D
mmap(NULL, 2147487599, PROT_READ, MAP_SHARED, 37, = 0xbffffb000) =3D 0x7709b54000
fstat(37, {st_mode=3DS_IFREG|0644, = st_size=3D59568105422, ...}) =3D 0
mmap(NULL, 2147455553, PROT_READ, = MAP_SHARED, 37, 0xc7fffb000) =3D 0x7789b55000
fstat(37, = {st_mode=3DS_IFREG|0644, st_size=3D59568105422, ...}) =3D = 0
mmap(NULL, 2147483522, PROT_READ, MAP_SHARED, 37, 0xcffff4000) =3D = 0x7809b4f000
fstat(37, {st_mode=3DS_IFREG|0644, st_size=3D59568105422, = ...}) =3D 0
mmap(NULL, 1586100174, PROT_READ, MAP_SHARED, 37, = 0xd7fff3000) =3D 0x7889b4f000
dup2(40, 37) =             &n= bsp;           &nbs= p;  =3D 37
close(37) =             &n= bsp;           &nbs= p;     =3D = 0
open("/home/y/var/fresh_cassandra/data/fresh/counter_object-h-4240-Fi= lter.db",
O_RDONLY) =3D 37
.
.
.
.
close(37) =             &n= bsp;           &nbs= p;     =3D 0
futex(0x2ab5a39754, FUTEX_WAKE, = 1)      =3D 1
futex(0x2ab5a39750, = FUTEX_WAKE, 1)      =3D 1
futex(0x40116940, = FUTEX_WAKE, 1)        =3D = 1
mmap(0x41a17000, 12288, = PROT_NONE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = =3D 0x41a17000
rt_sigprocmask(SIG_SETMASK, [QUIT], NULL, 8) =3D = 0
_exit(0) =             &n= bsp;           &nbs= p;      =3D ?
=3D=3D END STRACE = =3D=3D

-- =
Regards,
Ajeet

= --Apple-Mail=_FD8AE633-8D91-4454-8349-DC8F8AF801B3--