-
Notifications
You must be signed in to change notification settings - Fork 6
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
Doesn't work with Apple M1 #4
Comments
We're using adoptopenjdk/openjdk11 as our base image, unfortunately their alpine version doesn't yet support arm AdoptOpenJDK/openjdk-docker#364 |
Is there any update on this? I can confirm I get similar output with M2. 2023-03-20 12:09:45 runtime: failed to create new OS thread (have 2 already; errno=22) |
@anpel I used original elasticsearch image. You can overwrite settings in docker-compose.override.yml elasticsearch: |
@seoplague This worked great, thank you! |
elasticsearch | runtime: failed to create new OS thread (have 2 already; errno=22)
elasticsearch | fatal error: newosproc
elasticsearch |
elasticsearch | runtime stack:
elasticsearch | runtime.throw(0x6249a0, 0x9)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/panic.go:530 +0x90
elasticsearch | runtime.newosproc(0xc820028000, 0xc820037fc0)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/os1_linux.go:149 +0x18c
elasticsearch | runtime.newm(0x676240, 0x0)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:1513 +0x135
elasticsearch | runtime.main.func1()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:125 +0x2c
elasticsearch | runtime.systemstack(0x732c00)
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/asm_amd64.s:291 +0x79
elasticsearch | runtime.mstart()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:1048
elasticsearch |
elasticsearch | goroutine 1 [running]:
elasticsearch | runtime.systemstack_switch()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/asm_amd64.s:245 fp=0xc820022770 sp=0xc820022768
elasticsearch | runtime.main()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/proc.go:126 +0x62 fp=0xc8200227c0 sp=0xc820022770
elasticsearch | runtime.goexit()
elasticsearch | /home/travis/.gimme/versions/go1.6.linux.amd64/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200227c8 sp=0xc8200227c0
elasticsearch | runtime: failed to create new OS thread (have 2 already; errno=22)
elasticsearch | fatal error: newosproc
The text was updated successfully, but these errors were encountered: