Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 40D8F200B77 for ; Sat, 3 Sep 2016 14:29:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F4FB160ABB; Sat, 3 Sep 2016 12:29:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8733F160AB9 for ; Sat, 3 Sep 2016 14:29:21 +0200 (CEST) Received: (qmail 61603 invoked by uid 500); 3 Sep 2016 12:29:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 61582 invoked by uid 99); 3 Sep 2016 12:29:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2016 12:29:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7197C2C1B79 for ; Sat, 3 Sep 2016 12:29:20 +0000 (UTC) Date: Sat, 3 Sep 2016 12:29:20 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-11528) Server Crash when select returns more than a few hundred rows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 03 Sep 2016 12:29:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15461009#comment-15461009 ] Benjamin Lerer commented on CASSANDRA-11528: -------------------------------------------- A {{count((*))}} is not using more memory than a {{SELECT (*)}} as the as the query is paged internally. In fact in your version it should use even less memory. If you could provide us a testcase to reproduce the problem or an heap dump, it will help us to investigate this problem. > Server Crash when select returns more than a few hundred rows > ------------------------------------------------------------- > > Key: CASSANDRA-11528 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11528 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: windows 7, 8 GB machine > Reporter: Mattias W > Fix For: 3.x > > Attachments: datastax_ddc_server-stdout.2016-04-07.log > > > While implementing a dump procedure, which did "select * from" from one table at a row, I instantly kill the server. A simple > {noformat}select count(*) from {noformat} > also kills it. For a while, I thought the size of blobs were the cause > I also try to only have a unique id as partition key, I was afraid a single partition got too big or so, but that didn't change anything > It happens every time, both from Java/Clojure and from DevCenter. > I looked at the logs at C:\Program Files\DataStax-DDC\logs, but the crash is so quick, so nothing is recorded there. > There is a Java-out-of-memory in the logs, but that isn't from the time of the crash. > It only happens for one table, it only has 15000 entries, but there are blobs and byte[] stored there, size between 100kb - 4Mb. Total size for that table is about 6.5 GB on disk. > I made a workaround by doing many small selects instead, each only fetching 100 rows. > Is there a setting a can set to make the system log more eagerly, in order to at least get a stacktrace or similar, that might help you. > It is the prun_srv that dies. Restarting the NT service makes Cassandra run again -- This message was sent by Atlassian JIRA (v6.3.4#6332)