-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack size is too small for arm64 platform #192
Comments
Same issue as #174, it wasn't able to be reproduced and when he used Ubuntu there wasn't an issue You could try Docker's memory limit flag |
Yeah, I'd say this is a duplicate of #174 and the conclusion from the person reporting the issue was that it was host OS related (both on Centos 7, but Ubuntu worked fine). Can you give any more details that would prove otherwise? |
@wglambert |
@yosifkit I did further investigation about this issue. have to say this is OS related and also the architecutre causes it together. Follow your suggestion, I upgrade Docker version on both CentOS and Ubuntu. Here is the result. After adjusting -Xss on arm64 Ubuntu and x86 CentOS, I find the minimal stack size per thread of each OS/architecture are different. Checking openjdk-1.8.0 source code, the error is from code snippet below. arm64 Ubuntu18.04 64bit x86 CentOS7.6 64bit That's the reason why CentOS7.6 for arm64 cannot start canssandra docker images as jvm option "-Xss256k". In order to support it, could we have some change on this option? |
I run it on os use cassandra image arm64v8/cassandra:3.11.5 ,download url https://hub.docker.com/r/arm64v8/cassandra/ ;
|
Unfortunately, this is not something we plan to change -- CentOS 7 is very close to EOL, and we generally strive to stay as true as possible to upstream's defaults. |
Currently I try to run cassandra through official images, but the container cannot be started as "The stack size specified is too small, Specify at least 328k".
My docker environment is on 64bit ARMv8 Kunpeng920 CPU and I'v checked the architecture of image is "arm64".
![image](https://user-images.githubusercontent.com/13297678/66555600-88cdad80-eb81-11e9-90df-22c604efef3d.png)
After checking the option "-Xss" in jvm.options or cassandra-env.sh locating in the container, I find all of them are using "-Xss256k".
![image](https://user-images.githubusercontent.com/13297678/66556177-55d7e980-eb82-11e9-8da2-c4bfafb26e50.png)
The text was updated successfully, but these errors were encountered: