Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02FE310660 for ; Sat, 10 Aug 2013 21:43:49 +0000 (UTC) Received: (qmail 9151 invoked by uid 500); 10 Aug 2013 21:43:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 9125 invoked by uid 500); 10 Aug 2013 21:43:48 -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 9116 invoked by uid 99); 10 Aug 2013 21:43:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 21:43:48 +0000 Date: Sat, 10 Aug 2013 21:43:48 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-4442) Stack size settings in cassandra-env.sh assume 64-bit x86 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-4442. --------------------------------------- Resolution: Won't Fix Wontfixing for lack of follow up. > Stack size settings in cassandra-env.sh assume 64-bit x86 > --------------------------------------------------------- > > Key: CASSANDRA-4442 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4442 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Trevor Robinson > Assignee: Trevor Robinson > Attachments: v1-0001-CASSANDRA-4275-Use-JVM-s-reported-minimum-stack-size-o.txt, v1-0001-CASSANDRA-4442-Use-JVM-s-reported-minimum-stack-size-o.txt > > > The fix for CASSANDRA-4275 hard-codes a 160 KB stack size when using Java 7 on Linux. This assumes the Oracle 7u4 JVM on 64-bit x86. For systems like 32-bit ARM, this size is excessive (the minimum for 7u4 on ARM is 60-64 KB). Also, the minimum allowed value is version-dependent and is calculated dynamically by the JVM on startup based on Linux parameters that can also change. A better approach would be to query the JVM for the minimum stack size. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira