Dipietro Salvatore created CASSANDRA-20433:
----------------------------------------------

             Summary: Cassandra not running with kernel page size 64k
                 Key: CASSANDRA-20433
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20433
             Project: Apache Cassandra
          Issue Type: Bug
            Reporter: Dipietro Salvatore


Trying to run Cassandra on RHEL 8 with comes by default with 64k page size 
kernel.

When I am trying to launch Cassandra, a failure to launch happens due to 
ThreadStackSize parameter having insufficient value.

error:
{code:java}
The stack size specified is too small, Specify at least 456k {code}
 

Here the step we followed:
 - Run RHEL8 on AWS
 - Install Cassandra like here: 
[https://cassandra.apache.org/doc/stable/cassandra/getting_started/installing.html#installing-the-rpm-packages]
 - Start Cassandra:

{code:java}
$ sudo service cassandra start # failed

$ cassandra
The stack size specified is too small, Specify at least 456k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.{code}

 - More details

{code:java}
$ java -XX:+PrintFlagsFinal -version | grep ' ThreadStackSize'
     intx ThreadStackSize                           = 2048                      
          {pd product}

openjdk version "1.8.0_442"
OpenJDK Runtime Environment (build 1.8.0_442-b06)
OpenJDK 64-Bit Server VM (build 25.442-b06, mixed mode) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to