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 979D3200C49 for ; Fri, 17 Mar 2017 12:41:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 94913160B80; Fri, 17 Mar 2017 11:41:48 +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 DCC3B160B6D for ; Fri, 17 Mar 2017 12:41:47 +0100 (CET) Received: (qmail 12846 invoked by uid 500); 17 Mar 2017 11:41:47 -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 12833 invoked by uid 99); 17 Mar 2017 11:41:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 11:41:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 909B31A5F24 for ; Fri, 17 Mar 2017 11:41:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id zCp1DW7Wwdod for ; Fri, 17 Mar 2017 11:41:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 78D395F297 for ; Fri, 17 Mar 2017 11:41:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 15123E05AE for ; Fri, 17 Mar 2017 11:41:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E9A9E243A6 for ; Fri, 17 Mar 2017 11:41:41 +0000 (UTC) Date: Fri, 17 Mar 2017 11:41:41 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-13345) Increasing the per thread stack size to atleast 512k MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Mar 2017 11:41:48 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929812#comment-15929812 ] Robert Stupp commented on CASSANDRA-13345: ------------------------------------------ Sure, but why add something for a (yet?) unsupported platform, that would have to be supported and maintained and tested. It definitely has an undetermined influence on people's machines and honestly I wouldn't risk anything in this place. It should really be done in a separate development branch and not via trunk. > Increasing the per thread stack size to atleast 512k > ----------------------------------------------------- > > Key: CASSANDRA-13345 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13345 > Project: Cassandra > Issue Type: Improvement > Components: Configuration > Environment: Set up details > $ lscpu > Architecture: ppc64le > Byte Order: Little Endian > CPU(s): 160 > On-line CPU(s) list: 0-159 > Thread(s) per core: 8 > Core(s) per socket: 5 > Socket(s): 4 > NUMA node(s): 4 > Model: 2.1 (pvr 004b 0201) > Model name: POWER8E (raw), altivec supported > CPU max MHz: 3690.0000 > CPU min MHz: 2061.0000 > L1d cache: 64K > L1i cache: 32K > L2 cache: 512K > L3 cache: 8192K > NUMA node0 CPU(s): 0-39 > NUMA node1 CPU(s): 40-79 > NUMA node16 CPU(s): 80-119 > NUMA node17 CPU(s): 120-159 > $ cat /etc/os-release > NAME="Ubuntu" > VERSION="16.04.1 LTS (Xenial Xerus)" > ID=ubuntu > ID_LIKE=debian > PRETTY_NAME="Ubuntu 16.04.1 LTS" > VERSION_ID="16.04" > HOME_URL="http://www.ubuntu.com/" > SUPPORT_URL="http://help.ubuntu.com/" > BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" > VERSION_CODENAME=xenial > UBUNTU_CODENAME=xenial > $ arch > ppc64le > $ java -version > openjdk version "1.8.0_121" > OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13) > OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode) > Reporter: Amitkumar Ghatwal > Priority: Minor > > Hi All, > I followed the below steps > ``` > $ git clone https://github.com/apache/cassandra.git > $ cd cassandra/ > $ ant > $ bin/cassandra -f > The stack size specified is too small, Specify at least 328k > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > ``` > After getting this , i had to upgrade the thread stack size to 512kb in 'conf/jvm.options' > ``` > $ git diff conf/jvm.options > diff --git a/conf/jvm.options b/conf/jvm.options > index 49b2196..00c03ce 100644 > --- a/conf/jvm.options > +++ b/conf/jvm.options > @@ -99,7 +99,7 @@ > -XX:+HeapDumpOnOutOfMemoryError > # Per-thread stack size. > --Xss256k > +-Xss512k > # Larger interned string table, for gossip's benefit (CASSANDRA-6410) > -XX:StringTableSize=1000003 > ``` > Thereafter i was able to start the Cassandra server successfully. > Could you please consider increasing the stack size to '512k' in 'conf/jvm.options. > Similar to "https://issues.apache.org/jira/browse/CASSANDRA-13300". Let me know if we can increase the stack size in the Apache Cassandra trunk. > Thanks for support provided so far , and let me know > Regards, > Amit -- This message was sent by Atlassian JIRA (v6.3.15#6346)