[
https://issues.apache.org/jira/browse/CASSANDRA-20433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939303#comment-17939303
]
Brandon Williams commented on CASSANDRA-20433:
----------------------------------------------
Nothing that isn't on the ticket, I'm afraid. Bumping the stack size locally
to get past this should be fairly easy though.
> 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
> Components: Local/Config
> Reporter: Dipietro Salvatore
> Priority: Normal
> Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>
> 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}
> Same error is visible on latest Ubuntu 22.04 AMI from EC2 marketplace
> installing the 64k page size version of the kernel
> (https://launchpad.net/~ijwhitfield/+archive/ubuntu/aws-64k) on Cassandra 4
> with JDK11 and Cassandra 5 with JDK17
> 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]