Hey,
on my Rasperry Pi with Nextcloud and full text search (powered by Elasticsearch) every night
Elasticsearch is killed (code=killed, signal=KILL).
ā elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Thu 2022-01-13 01:27:21 CET; 1 day 8h ago
Docs: https://www.elastic.co
Process: 670366 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=killed, signal=KILL)
Main PID: 670366 (code=killed, signal=KILL)
CPU: 20min 11.324s
Jan 12 07:49:17 Server systemd[1]: Starting Elasticsearch...
Jan 12 07:50:13 Server systemd[1]: Started Elasticsearch.
Jan 13 01:27:21 Server systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL
Jan 13 01:27:21 Server systemd[1]: elasticsearch.service: Failed with result 'signal'.
Jan 13 01:27:21 Server systemd[1]: elasticsearch.service: Unit process 670588 (controller) remains running after unit stopped.
Jan 13 01:27:21 Server systemd[1]: elasticsearch.service: Consumed 20min 11.308s CPU time.
Here the gc.log.23
[2022-01-14T10:20:17.766+0000][2176][gc] Using G1
[2022-01-14T10:20:17.808+0000][2176][gc,init] Version: 17.0.1+12 (release)
[2022-01-14T10:20:17.808+0000][2176][gc,init] CPUs: 4 total, 4 available
[2022-01-14T10:20:17.808+0000][2176][gc,init] Memory: 3844M
[2022-01-14T10:20:17.808+0000][2176][gc,init] Large Page Support: Disabled
[2022-01-14T10:20:17.808+0000][2176][gc,init] NUMA Support: Disabled
[2022-01-14T10:20:17.808+0000][2176][gc,init] Compressed Oops: Enabled (32-bit)
[2022-01-14T10:20:17.808+0000][2176][gc,init] Heap Region Size: 1M
[2022-01-14T10:20:17.808+0000][2176][gc,init] Heap Min Capacity: 1922M
[2022-01-14T10:20:17.808+0000][2176][gc,init] Heap Initial Capacity: 1922M
[2022-01-14T10:20:17.808+0000][2176][gc,init] Heap Max Capacity: 1922M
[2022-01-14T10:20:17.808+0000][2176][gc,init] Pre-touch: Disabled
[2022-01-14T10:20:17.808+0000][2176][gc,init] Parallel Workers: 4
[2022-01-14T10:20:17.808+0000][2176][gc,init] Concurrent Workers: 1
[2022-01-14T10:20:17.808+0000][2176][gc,init] Concurrent Refinement Workers: 4
[2022-01-14T10:20:17.808+0000][2176][gc,init] Periodic GC: Disabled
[2022-01-14T10:20:17.808+0000][2176][gc,metaspace] CDS archive(s) not mapped
[2022-01-14T10:20:17.808+0000][2176][gc,metaspace] Compressed class space mapped at: 0x0000000100000000-0x0000000140000000, reserved size: 1073741824
[2022-01-14T10:20:17.808+0000][2176][gc,metaspace] Narrow klass base: 0x0000000000000000, Narrow klass shift: 3, Narrow klass range: 0x140000000
[2022-01-14T10:20:18.014+0000][2176][gc,heap,exit] Heap
[2022-01-14T10:20:18.014+0000][2176][gc,heap,exit] garbage-first heap total 1968128K, used 1538K [0x0000000087e00000, 0x0000000100000000)
[2022-01-14T10:20:18.014+0000][2176][gc,heap,exit] region size 1024K, 2 young (2048K), 0 survivors (0K)
[2022-01-14T10:20:18.014+0000][2176][gc,heap,exit] Metaspace used 3427K, committed 3520K, reserved 1056768K
[2022-01-14T10:20:18.014+0000][2176][gc,heap,exit] class space used 269K, committed 320K, reserved 1048576K
Any idea?
Greetings
beohna
My environment:
Rasperry Pi - model : RPi 4 Model B (aarch64) 4GB RAM
DietPi v7.9.3
Nextcloud v23