-
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
[Bug]: macOS 15.2 + M4 Max #5217
Comments
@duwema Have you figured out a temporary workaround for this? I've been completely stopped by this for a month. |
@reta Are you aware of the jdk bug mentioned in the issue? https://bugs.openjdk.org/browse/JDK-8345296 |
@rishabh6788 sorry, I am not aware (still have no access to M1-M4 boxes), but it seems like there is a workaround mentioned here [1] that may help (besides that - we have to wait till 21.0.7 is released):
Thank you. |
@reta Unfortunately there's no way I can find to pass this Java option through to the process that's crashing. Do we know if there is a JVM release that fixes this? If so, hopefully it's just a matter of releasing a new OpenSearch docker image with the fixed JVM? |
@marclennox The fix went into JDK 21.0.7 [1] which is scheduled to be released on April 2025 [2] :( If we are lucky, it may get backported to JDK 21.0.6 (due on January 21st, but there no signs of that as of today). [1] https://bugs.openjdk.org/browse/JDK-8346189 |
@reta Oh boy, that's not good. Is there any way to release a new version of OpenSearch docker that will allow the workaround JVM argument |
@marclennox I think you should be able to run the Docker image with altered JVM command (using
|
@reta No that's what I'm saying, the script that's crashing is not using the |
@marclennox could you add this variable to |
opensearch:
image: opensearchproject/opensearch:2
ports: [ "9200:9200", "9600:9600" ]
volumes: [ search_data:/usr/share/opensearch/data ]
environment:
discovery.type: 'single-node'
DISABLE_INSTALL_DEMO_CONFIG: true
DISABLE_SECURITY_PLUGIN: true
OPENSEARCH_JAVA_OPTS: -XX:UseSVE=0 same issue, tested also |
@duwema sad, sorry may I ask you please to try
(I sadly have no access to M4 box to reproduce the issue) |
@reta sadly the issue dosent change with
|
@rishabh6788 I may ask for help with the issue, do you have access macOS 15.2 + M4 Max? (I don't sadly) |
@reta Yes I tried that a few weeks ago, it does nothing. However, I found a workaround from the elastic project, which is dealing with the same issue. If you include the
|
Thank you @marclennox , this is very surprising, the |
@reta environment:
discovery.type: 'single-node'
DISABLE_INSTALL_DEMO_CONFIG: true
DISABLE_SECURITY_PLUGIN: true
_JAVA_OPTIONS: -XX:UseSVE=0 |
Forcing it to go through amd QEMU emulation also works for me as a temporary work around: |
Describe the bug
Service crash and dont start
To reproduce
Docker Desktop: 4.37.1 (178610)
Engine: 27.4.0
Compose: v2.31.0-desktop.2
Credential Helper: v0.8.2
Kubernetes: v1.30.5
macOS 15.2 (24C101)
Expected behavior
No response
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
may help: https://bugs.openjdk.org/browse/JDK-8345296
Relevant log output
The text was updated successfully, but these errors were encountered: