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 5B422200C52 for ; Mon, 10 Apr 2017 11:16:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 59CF6160B99; Mon, 10 Apr 2017 09:16:46 +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 A0DAF160B85 for ; Mon, 10 Apr 2017 11:16:45 +0200 (CEST) Received: (qmail 31276 invoked by uid 500); 10 Apr 2017 09:16:44 -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 31265 invoked by uid 99); 10 Apr 2017 09:16:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2017 09:16:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 106FCC0FEE for ; Mon, 10 Apr 2017 09:16:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IusRb1rMrQWF for ; Mon, 10 Apr 2017 09:16:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C88025FC6F for ; Mon, 10 Apr 2017 09:16:42 +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 4B0C3E0B08 for ; Mon, 10 Apr 2017 09:16: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 AC4C82406B for ; Mon, 10 Apr 2017 09:16:41 +0000 (UTC) Date: Mon, 10 Apr 2017 09:16:41 +0000 (UTC) From: "Amitkumar Ghatwal (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: Mon, 10 Apr 2017 09:16:46 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962629#comment-15962629 ] Amitkumar Ghatwal commented on CASSANDRA-13345: ----------------------------------------------- [~snazy] - Can you please help in creating a development branch - https://github.com/apache/cassandra/branches so that i can push my changes related to ppc64le . Currently i don't have access rights to create a branch on above cassandra repo. Hoping to hear from you soon. > 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)