Elasticsearch exited unexpectedly

Hello,

I have a similar problem to this post. My problem is a bit different since I managed to start Elasticsearch the day before (before shutting it down). I have verified that all permission settings are correct.

Here are the logs I have:

gc.log.20:

> [2023-05-30T18:54:20.411+0000][26721][gc,init] CardTable entry size: 512
> [2023-05-30T18:54:20.415+0000][26721][gc     ] Using G1

gc.log.21:

> [2023-05-30T19:03:32.948+0000][27267][gc,init] CardTable entry size: 512
> [2023-05-30T19:03:32.953+0000][27267][gc     ] Using G1
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Version: 18.0.1.1+2-6 (release)
> [2023-05-30T19:03:32.958+0000][27267][gc,init] CPUs: 16 total, 16 available
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Memory: 15883M
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Large Page Support: Disabled
> [2023-05-30T19:03:32.958+0000][27267][gc,init] NUMA Support: Disabled
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Compressed Oops: Enabled (Zero based)
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Heap Region Size: 2M
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Heap Min Capacity: 8M
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Heap Initial Capacity: 250M
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Heap Max Capacity: 3972M
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Pre-touch: Disabled
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Parallel Workers: 13
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Concurrent Workers: 3
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Concurrent Refinement Workers: 13
> [2023-05-30T19:03:32.958+0000][27267][gc,init] Periodic GC: Disabled
> [2023-05-30T19:03:32.958+0000][27267][gc,metaspace] CDS archive(s) mapped at: [0x0000000800000000-0x0000000800baf000-0x0000000800baf000), size 12251136, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 0.
> [2023-05-30T19:03:32.959+0000][27267][gc,metaspace] Compressed class space mapped at: 0x0000000800c00000-0x0000000840c00000, reserved size: 1073741824
> [2023-05-30T19:03:32.959+0000][27267][gc,metaspace] Narrow klass base: 0x0000000800000000, Narrow klass shift: 0, Narrow klass range: 0x100000000
> [2023-05-30T19:03:33.029+0000][27267][gc,heap,exit] Heap
> [2023-05-30T19:03:33.029+0000][27267][gc,heap,exit]  garbage-first heap   total 260096K, used 3316K [0x0000000707c00000, 0x0000000800000000)
> [2023-05-30T19:03:33.029+0000][27267][gc,heap,exit]   region size 2048K, 1 young (2048K), 0 survivors (0K)
> [2023-05-30T19:03:33.029+0000][27267][gc,heap,exit]  Metaspace       used 53K, committed 128K, reserved 1114112K
> [2023-05-30T19:03:33.029+0000][27267][gc,heap,exit]   class space    used 1K, committed 64K, reserved 1048576K

gc.log.22:

> [2023-05-30T19:03:33.078+0000][27288][gc,init] CardTable entry size: 512
> [2023-05-30T19:03:33.082+0000][27288][gc     ] Using G1
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Version: 18.0.1.1+2-6 (release)
> [2023-05-30T19:03:33.150+0000][27288][gc,init] CPUs: 16 total, 16 available
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Memory: 15883M
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Large Page Support: Disabled
> [2023-05-30T19:03:33.150+0000][27288][gc,init] NUMA Support: Disabled
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Compressed Oops: Enabled (Zero based)
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Heap Region Size: 4M
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Heap Min Capacity: 7944M
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Heap Initial Capacity: 7944M
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Heap Max Capacity: 7944M
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Pre-touch: Disabled
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Parallel Workers: 13
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Concurrent Workers: 3
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Concurrent Refinement Workers: 13
> [2023-05-30T19:03:33.150+0000][27288][gc,init] Periodic GC: Disabled
> [2023-05-30T19:03:33.150+0000][27288][gc,metaspace] CDS archive(s) mapped at: [0x0000000800000000-0x0000000800baf000-0x0000000800baf000), size 12251136, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 0.
> [2023-05-30T19:03:33.150+0000][27288][gc,metaspace] Compressed class space mapped at: 0x0000000800c00000-0x0000000840c00000, reserved size: 1073741824
> [2023-05-30T19:03:33.150+0000][27288][gc,metaspace] Narrow klass base: 0x0000000800000000, Narrow klass shift: 0, Narrow klass range: 0x100000000
> [2023-05-30T19:03:33.219+0000][27288][gc,heap,exit] Heap
> [2023-05-30T19:03:33.219+0000][27288][gc,heap,exit]  garbage-first heap   total 8134656K, used 8110K [0x000000060f800000, 0x0000000800000000)
> [2023-05-30T19:03:33.219+0000][27288][gc,heap,exit]   region size 4096K, 2 young (8192K), 0 survivors (0K)
> [2023-05-30T19:03:33.220+0000][27288][gc,heap,exit]  Metaspace       used 53K, committed 128K, reserved 1114112K
> [2023-05-30T19:03:33.220+0000][27288][gc,heap,exit]   class space    used 1K, committed 64K, reserved 1048576K 

Any help would be greatly appreciated! Thanks.

It is not clear what your issue is, can you give more context? You just shared a couple of logs without any context.

Also, share Elasticsearch logs, not just the gc logs.

Hi,

Thanks for the reply.
I'm running a Red Hat Enterprise Linux environment. Elasticsearch version 8.3.0. I used this command to obtain the tar.gz file:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.3.0-linux-x86_64.tar.gz

As for the log output, when I run ./bin/elasticsearch, i get this:

> ./bin/elasticsearch
> warning: ignoring JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.15.0.9-2.0.1.el7_9.x86_64/; using bundled JDK
> 
> ERROR: Elasticsearch exited unexpectedly

Is there any other Elasticsearch logs that I do not know about?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.