-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Docker container startup fail - JRE error #43571
Comments
Tried also other docker container runtime to rule out issue with Docker Desktop - tried on OrbStack (latest version, 1.6.1), error logged there:
|
can you tell us your pc/laptop specs? |
I have the same issue - actually roadblock! Please, any suggestions?!?Running the latest Docker 4.30.0 (149282) on Apple M3 Pro, 36Gb RAM, Sonoma 14.5
Also, here is part of my docker-compose.yml:
Java version container pointing is bellow:
|
Seeing the same thing. I've tried both latest and v0.49.13.
Error:
|
Anyone that runs on Mac please upgrade your docker runtime to the latest version, or run with Colima, or build your own container of Metabase based on Ubuntu or other base image that supports ARM you’re all most probably seeing docker/for-mac#7172 btw, hi @markbastian, we miss you ❤️ |
Thanks for the tip @paoliniluis. I can confirm that the following steps worked for me:
Note that you can prevent the need to restart colima on startup with Miss you all, too! |
I tried all the above tips, thank you @markbastian , although unsuccessful:
And:
Got me the same result as before :-(
|
Am I doing something wrong? |
Not sure - fired up a fresh install of docker and metabase on Tuesday last week and it worked fine with pretty standard settings.. Didn't use brew or colima etc. Couple of days later I tried again and got the fatal error message (see OP) and spent hours trying to get it to work. Removed it all, used brew for colima and disabled the virtualisation framework in Docker...now I just get an error - failed to connect to mysql and metabase shuts down. |
@paoliniluis hope this helps:
|
@renansigolo Thanks for the tip! This helped me to run metabase without installing anything else. |
I ended up using an alternative image, specially created for arm64 (I'm running it on Mac M3Pro).
|
Describe the bug
Running metabase/metabase:latest using Docker Desktop (upgraded to latest), docker fails with JRE error.
To Reproduce
Expected behavior
It should be started as per usual on port localhost:3000.
Logs
2024-06-04 14:31:51 Warning: environ value jdk-11.0.23+9 for key :java-version has been overwritten with 11.0.23
2024-06-04 14:31:54 2024-06-04 04:31:54,504 INFO metabase.util :: Maximum memory available to JVM: 1.9 GB
2024-06-04 14:31:55 2024-06-04 04:31:55,920 WARN db.env :: WARNING: Using Metabase with an H2 application database is not recommended for production deployments. For production deployments, we highly recommend using Postgres, MySQL, or MariaDB instead. If you decide to continue to use H2, please be sure to back up the database file regularly. For more information, see https://metabase.com/docs/latest/operations-guide/migrating-from-h2.html
2024-06-04 14:31:56 2024-06-04 04:31:56,113 INFO util.encryption :: Saved credentials encryption is DISABLED for this Metabase instance. 🔓
2024-06-04 14:31:56 For more information, see https://metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html
2024-06-04 14:31:59 [thread 49 also had an error]
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # A fatal error has been detected by the Java Runtime Environment:
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # SIGSEGV (0xb) at pc=0x00007ffffebd9f3d, pid=1, tid=52
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # JRE version: OpenJDK Runtime Environment Temurin-11.0.23+9 (11.0.23+9) (build 11.0.23+9)
2024-06-04 14:31:59 # Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.23+9 (11.0.23+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
2024-06-04 14:31:59 # Problematic frame:
2024-06-04 14:31:59 # V [libjvm.so+0x78cf3d] G1ParEvacuateFollowersClosure::do_void()+0x1fd
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # Can not save log file, dump to screen..
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # A fatal error has been detected by the Java Runtime Environment:
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # SIGSEGV (0xb) at pc=0x00007ffffebd9f3d, pid=1, tid=52
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # JRE version: OpenJDK Runtime Environment Temurin-11.0.23+9 (11.0.23+9) (build 11.0.23+9)
2024-06-04 14:31:59 # Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.23+9 (11.0.23+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
2024-06-04 14:31:59 # Problematic frame:
2024-06-04 14:31:59 # V [libjvm.so+0x78cf3d] G1ParEvacuateFollowersClosure::do_void()+0x1fd
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
2024-06-04 14:31:59 #
2024-06-04 14:31:59 # If you would like to submit a bug report, please visit:
2024-06-04 14:31:59 # https://github.com/adoptium/adoptium-support/issues
2024-06-04 14:31:59 #
2024-06-04 14:31:59
2024-06-04 14:31:59 --------------- S U M M A R Y ------------
2024-06-04 14:31:59
2024-06-04 14:31:59 Command Line: -XX:+IgnoreUnrecognizedVMOptions -Dfile.encoding=UTF-8 -Dlogfile.path=target/log -XX:+CrashOnOutOfMemoryError /app/metabase.jar
2024-06-04 14:31:59
2024-06-04 14:31:59 Host: x86_64, 8 cores, 7G, Alpine Linux v3.19
2024-06-04 14:31:59 Time: Tue Jun 4 04:31:59 2024 UTC elapsed time: 11.231443 seconds (0d 0h 0m 11s)
2024-06-04 14:31:59
2024-06-04 14:31:59 --------------- T H R E A D ---------------
2024-06-04 14:31:59
2024-06-04 14:31:59 Current thread (0x00007fffdc504000): GCTaskThread "GC Thread#4" [stack: 0x00007fffdaa19000,0x00007fffdab19aa8] [id=52]
2024-06-04 14:31:59
2024-06-04 14:31:59 Stack: [0x00007fffdaa19000,0x00007fffdab19aa8], sp=0x00007fffdab19720, free space=1025k
2024-06-04 14:31:59 Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
2024-06-04 14:31:59 V [libjvm.so+0x78cf3d] G1ParEvacuateFollowersClosure::do_void()+0x1fd
2024-06-04 14:31:59 V [libjvm.so+0x794c66] G1ParTask::work(unsigned int)+0x166
2024-06-04 14:31:59 V [libjvm.so+0xed7abd] GangWorker::loop()+0x4d
2024-06-04 14:31:59 V [libjvm.so+0xe3ddfc] Thread::call_run()+0x13c
2024-06-04 14:31:59 V [libjvm.so+0xc28036] thread_native_entry(Thread*)+0x136
2024-06-04 14:31:59
2024-06-04 14:31:59
2024-06-04 14:31:59 siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000
2024-06-04 14:31:59
2024-06-04 14:31:59 Register to memory mapping:
2024-06-04 14:31:59
2024-06-04 14:31:59 RAX=0x00000c3200000b01 is an unknown value
2024-06-04 14:31:59 RBX=0x0 is NULL
2024-06-04 14:31:59 RCX=0x0000000000000b56 is an unknown value
2024-06-04 14:31:59 RDX=0x00000c3200000b57 is an unknown value
.....
2024-06-04 14:31:59 VM Arguments:
2024-06-04 14:31:59 jvm_args: -XX:+IgnoreUnrecognizedVMOptions -Dfile.encoding=UTF-8 -Dlogfile.path=target/log -XX:+CrashOnOutOfMemoryError
2024-06-04 14:31:59 java_command: /app/metabase.jar
2024-06-04 14:31:59 java_class_path (initial): /app/metabase.jar
2024-06-04 14:31:59 Launcher Type: SUN_STANDARD
2024-06-04 14:31:59
2024-06-04 14:31:59 [Global flags]
2024-06-04 14:31:59 intx CICompilerCount = 4 {product} {ergonomic}
2024-06-04 14:31:59 uint ConcGCThreads = 2 {product} {ergonomic}
2024-06-04 14:31:59 bool CrashOnOutOfMemoryError = true {product} {command line}
2024-06-04 14:31:59 uint G1ConcRefinementThreads = 8 {product} {ergonomic}
2024-06-04 14:31:59 size_t G1HeapRegionSize = 1048576 {product} {ergonomic}
2024-06-04 14:31:59 uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
2024-06-04 14:31:59 bool IgnoreUnrecognizedVMOptions = true {product} {command line}
2024-06-04 14:31:59 size_t InitialHeapSize = 130023424 {product} {ergonomic}
2024-06-04 14:31:59 size_t MarkStackSize = 4194304 {product} {ergonomic}
2024-06-04 14:31:59 size_t MaxHeapSize = 2057306112 {product} {ergonomic}
2024-06-04 14:31:59 size_t MaxNewSize = 1234173952 {product} {ergonomic}
2024-06-04 14:31:59 size_t MinHeapDeltaBytes = 1048576 {product} {ergonomic}
2024-06-04 14:31:59 uintx NonNMethodCodeHeapSize = 5836300 {pd product} {ergonomic}
2024-06-04 14:31:59 uintx NonProfiledCodeHeapSize = 122910970 {pd product} {ergonomic}
2024-06-04 14:31:59 uintx ProfiledCodeHeapSize = 122910970 {pd product} {ergonomic}
2024-06-04 14:31:59 uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
2024-06-04 14:31:59 bool SegmentedCodeCache = true {product} {ergonomic}
2024-06-04 14:31:59 bool UseCompressedClassPointers = true {lp64_product} {ergonomic}
2024-06-04 14:31:59 bool UseCompressedOops = true {lp64_product} {ergonomic}
2024-06-04 14:31:59 bool UseG1GC = true {product} {ergonomic}
2024-06-04 14:31:59
2024-06-04 14:31:59 Logging:
2024-06-04 14:31:59 Log output configuration:
2024-06-04 14:31:59 #0: stdout all=warning uptime,level,tags
2024-06-04 14:31:59 #1: stderr all=off uptime,level,tags
2024-06-04 14:31:59
2024-06-04 14:31:59 Environment Variables:
2024-06-04 14:31:59 JAVA_HOME=/opt/java/openjdk
2024-06-04 14:31:59 PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-06-04 14:31:59 FC_LANG=en-US
2024-06-04 14:31:59 LD_LIBRARY_PATH=/opt/java/openjdk/lib/server:/opt/java/openjdk/lib:/opt/java/openjdk/../lib
2024-06-04 14:31:59 SHELL=/bin/sh
2024-06-04 14:31:59 LANG=en_US.UTF-8
2024-06-04 14:31:59 LC_ALL=en_US.UTF-8
2024-06-04 14:31:59 LC_CTYPE=en_US.UTF-8
2024-06-04 14:31:59
2024-06-04 14:31:59 Signal Handlers:
2024-06-04 14:31:59 SIGSEGV: [libjvm.so+0xeab920], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGBUS: [libjvm.so+0xeab920], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGFPE: [libjvm.so+0xeab920], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGPIPE: [libjvm.so+0xc1e340], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGXFSZ: [libjvm.so+0xc1e340], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGILL: [libjvm.so+0xeab920], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGUSR2: [libjvm.so+0xc1e1e0], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGHUP: [libjvm.so+0xc1e990], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGINT: [libjvm.so+0xc1e990], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGTERM: [libjvm.so+0xc1e990], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59 SIGQUIT: [libjvm.so+0xc1e990], sa_mask[0]=11111111111111111111111111111110, sa_flags=SA_RESTART|SA_SIGINFO
2024-06-04 14:31:59
2024-06-04 14:31:59
2024-06-04 14:31:59 --------------- S Y S T E M ---------------
2024-06-04 14:31:59
2024-06-04 14:31:59 OS:NAME="Alpine Linux"
2024-06-04 14:31:59 ID=alpine
2024-06-04 14:31:59 VERSION_ID=3.19.1
2024-06-04 14:31:59 PRETTY_NAME="Alpine Linux v3.19"
2024-06-04 14:31:59 HOME_URL="https://alpinelinux.org/"
2024-06-04 14:31:59 BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
2024-06-04 14:31:59 uname:Linux 6.6.26-linuxkit #1 SMP Sat Apr 27 04:13:19 UTC 2024 x86_64
2024-06-04 14:31:59 OS uptime: 0 days 0:00 hours
2024-06-04 14:31:59 libc:musl - unknown musl - unknown
2024-06-04 14:31:59 rlimit (soft/hard): STACK 8192k/infinity , CORE 0k/infinity , NPROC infinity/infinity , NOFILE 1048576/1048576 , AS infinity/infinity , CPU infinity/infinity , DATA infinity/infinity , FSIZE infinity/infinity , MEMLOCK infinity/infinity
2024-06-04 14:31:59 load average:0.46 0.10 0.03
2024-06-04 14:31:59
2024-06-04 14:31:59 /proc/meminfo:
2024-06-04 14:31:59 MemTotal: 8029248 kB
2024-06-04 14:31:59 MemFree: 6743444 kB
2024-06-04 14:31:59 MemAvailable: 6942680 kB
2024-06-04 14:31:59 Buffers: 10392 kB
2024-06-04 14:31:59 Cached: 330920 kB
2024-06-04 14:31:59 SwapCached: 0 kB
2024-06-04 14:31:59 Active: 1054564 kB
2024-06-04 14:31:59 Inactive: 114504 kB
2024-06-04 14:31:59 Active(anon): 828452 kB
2024-06-04 14:31:59 Inactive(anon): 0 kB
2024-06-04 14:31:59 Active(file): 226112 kB
2024-06-04 14:31:59 Inactive(file): 114504 kB
2024-06-04 14:31:59 Unevictable: 0 kB
2024-06-04 14:31:59 Mlocked: 0 kB
2024-06-04 14:31:59 SwapTotal: 1048572 kB
2024-06-04 14:31:59 SwapFree: 1048572 kB
2024-06-04 14:31:59 Zswap: 0 kB
2024-06-04 14:31:59 Zswapped: 0 kB
2024-06-04 14:31:59 Dirty: 388 kB
2024-06-04 14:31:59 Writeback: 0 kB
2024-06-04 14:31:59 AnonPages: 826944 kB
2024-06-04 14:31:59 Mapped: 135828 kB
2024-06-04 14:31:59 Shmem: 640 kB
2024-06-04 14:31:59 KReclaimable: 10304 kB
2024-06-04 14:31:59 Slab: 46100 kB
2024-06-04 14:31:59 SReclaimable: 10304 kB
2024-06-04 14:31:59 SUnreclaim: 35796 kB
2024-06-04 14:31:59 KernelStack: 4592 kB
2024-06-04 14:31:59 PageTables: 3468 kB
2024-06-04 14:31:59 SecPageTables: 0 kB
2024-06-04 14:31:59 NFS_Unstable: 0 kB
2024-06-04 14:31:59 Bounce: 0 kB
2024-06-04 14:31:59 WritebackTmp: 0 kB
2024-06-04 14:31:59 CommitLimit: 5063196 kB
2024-06-04 14:31:59 Committed_AS: 1755168 kB
2024-06-04 14:31:59 VmallocTotal: 133141626880 kB
2024-06-04 14:31:59 VmallocUsed: 2448 kB
2024-06-04 14:31:59 VmallocChunk: 0 kB
2024-06-04 14:31:59 Percpu: 2208 kB
2024-06-04 14:31:59 AnonHugePages: 475136 kB
2024-06-04 14:31:59 ShmemHugePages: 0 kB
2024-06-04 14:31:59 ShmemPmdMapped: 0 kB
2024-06-04 14:31:59 FileHugePages: 0 kB
2024-06-04 14:31:59 FilePmdMapped: 0 kB
2024-06-04 14:31:59 HugePages_Total: 0
2024-06-04 14:31:59 HugePages_Free: 0
2024-06-04 14:31:59 HugePages_Rsvd: 0
2024-06-04 14:31:59 HugePages_Surp: 0
2024-06-04 14:31:59 Hugepagesize: 2048 kB
2024-06-04 14:31:59 Hugetlb: 0 kB
2024-06-04 14:31:59
2024-06-04 14:31:59 /sys/kernel/mm/transparent_hugepage/enabled:
2024-06-04 14:31:59 [always] madvise never
2024-06-04 14:31:59 /sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter):
2024-06-04 14:31:59 always defer defer+madvise [madvise] never
2024-06-04 14:31:59
2024-06-04 14:31:59 Process Memory:
2024-06-04 14:31:59 Virtual Size: 4100116K (peak: 4121480K)
2024-06-04 14:31:59 Resident Set Size: 663624K (peak: 676124K) (anon: 645320K, file: 18304K, shmem: 0K)
2024-06-04 14:31:59 Swapped out: 0K
2024-06-04 14:31:59
2024-06-04 14:31:59 /proc/sys/kernel/threads-max (system-wide limit on the number of threads):
2024-06-04 14:31:59 62685
2024-06-04 14:31:59 /proc/sys/vm/max_map_count (maximum number of memory map areas a process may have):
2024-06-04 14:31:59 262144
2024-06-04 14:31:59 /proc/sys/kernel/pid_max (system-wide limit on number of process identifiers):
2024-06-04 14:31:59 99999
2024-06-04 14:31:59
...
2024-06-04 14:31:59
2024-06-04 14:31:59 Memory: 4k page, physical 8029248k(6743192k free), swap 1048572k(1048572k free)
2024-06-04 14:31:59
2024-06-04 14:31:59 vm_info: OpenJDK 64-Bit Server VM (11.0.23+9) for linux-amd64-musl JRE (11.0.23+9), built on Apr 17 2024 05:45:29 by "" with gcc 10.3.1 20211027
2024-06-04 14:31:59
2024-06-04 14:31:59 END.
Information about your Metabase installation
Severity
Blocker for docker image user
Additional context
No response
The text was updated successfully, but these errors were encountered: