PS some log data: before crashing it is doing this:
{“host”:“ubuntu-1”,“pid”:“18129”,“loc”:null,“at”:“2022-03-31T12:04:39.00Z”,“ns”:[“cardano.node.LeadershipCheck”],“sev”:“Info”,“env”:“1.34.1:73f9a”,“data”:{“utxoSize”:6453179,“kind”:“TraceStartLeadershipCheck”,“delegMapSize”:1178218,“credentials”:“Cardano”,“slot”:57161988,“chainDensity”:4.717579e-2},“msg”:“”,“thread”:“5185”,“app”:}
{“host”:“ubuntu-1”,“pid”:“18129”,“loc”:null,“at”:“2022-03-31T12:04:39.00Z”,“ns”:[“cardano.node.Forge”],“sev”:“Info”,“env”:“1.34.1:73f9a”,“data”:{“val”:{“kind”:“TraceNodeNotLeader”,“slot”:57161988},“credentials”:“Cardano”},“msg”:“”,“thread”:“5185”,“app”:}
Then after restarting and running for 30 mins it was doing this when it crashed:
{“host”:“ubuntu-1”,“pid”:“148130”,“loc”:null,“at”:“2022-03-31T12:29:22.68Z”,“ns”:[“cardano.node.ChainDB”],“sev”:“Info”,“env”:“1.34.1:73f9a”,“data”:{“kind”:“TraceImmutableDBEvent.ValidatedChunk”,“chunkNo”:“2237”},“msg”:“”,“thread”:“5”,“app”:}
{“host”:“ubuntu-1”,“pid”:“148130”,“loc”:null,“at”:“2022-03-31T12:29:22.68Z”,“ns”:[“cardano.node.ChainDB”],“sev”:“Info”,“env”:“1.34.1:73f9a”,“data”:{“finalChunk”:“2644”,“initialChunk”:“2238”,“kind”:“TraceImmutableDBEvent.StartedValidatingChunk”},“msg”:“”,“thread”:“5”,“app”:}
It doesn’t look abnormal to me, and htop was reporting reasonable memory usage (about 6GB) shortly before the crash.
The crash is reported in dmesg as:
[Thu Mar 31 14:04:39 2022] Out of memory: Killed process 18129 (cardano-node) total-vm:1074654484kB, anon-rss:8453716kB, file-rss:1528kB, shmem-rss:0kB, UID:1000 pgtables:24928kB oom_score_adj:0
Mystified!