En fouillant sur le forum, je suis tombé là dessus :
https://forum.duniter.org/t/astuce-pour-etre-prevenu-des-que-votre-noeud-sarrete/6139/4
Du coup, je fais un essai avec le script qui me relance Duniter désactivé, dans le cron … Quel boulet … lol
[EDIT] Bon, la synchro n’est pas arrivée au bout …
Voici les logs
Progress:
Milestones: [||||||||||||||||||||] 100 %
Download: [||||||||||||||||||| ] 95 %
Apply: [|||||||||||||||||| ] 94 %
Sandbox: [ ] 0 %
Peers: [ ] 0 %
Status: GOT chunk #2464/2583 from 616000 to 616249 on peer g1.cloud-libre.eu
<--- Last few GCs --->
[7324:0x2eef9f0] 18935524 ms: Scavenge 1339.9 (1411.6) -> 1339.1 (1411.6) MB, 12.1 / 0.0 ms (average mu = 0.365, current mu = 0.359) allocation failure
[7324:0x2eef9f0] 18935580 ms: Scavenge 1339.9 (1411.6) -> 1339.1 (1411.6) MB, 25.5 / 0.0 ms (average mu = 0.365, current mu = 0.359) allocation failure
[7324:0x2eef9f0] 18935623 ms: Scavenge 1340.0 (1411.6) -> 1339.2 (1411.6) MB, 16.3 / 0.0 ms (average mu = 0.365, current mu = 0.359) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x24fb0eadbe1d]
Security context: 0x0d93fbb1e6c1 <JSObject>
1: /* anonymous */(aka /* anonymous */) [0x2b9ce52a1c19] [/opt/duniter/app/lib/indexer.js:~1772] [pc=0x24fb14ef5f62](this=0x26019a5826f1 <undefined>,value=0x2b9ce529dbf9 <JSArray[1]>)
2: arguments adaptor frame: 3->1
3: map [0xd93fbb06e39](this=0x2b9ce52a1bf9 <JSArray[57]>,0x2b9ce52a1c19 <JSFunction underscore_1.Underscore.values.map (sfi = 0x27a...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x8fb090 node::Abort() [/opt/duniter//node/bin/node]
2: 0x8fb0dc [/opt/duniter//node/bin/node]
3: 0xb031ce v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/duniter//node/bin/node]
4: 0xb03404 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/duniter//node/bin/node]
5: 0xef7462 [/opt/duniter//node/bin/node]
6: 0xef7568 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/opt/duniter//node/bin/node]
7: 0xf03642 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/opt/duniter//node/bin/node]
8: 0xf03f74 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/duniter//node/bin/node]
9: 0xf053af v8::internal::Heap::HandleGCRequest() [/opt/duniter//node/bin/node]
10: 0xea472a v8::internal::StackGuard::HandleInterrupts() [/opt/duniter//node/bin/node]
11: 0x1170125 v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [/opt/duniter//node/bin/node]
12: 0x24fb0eadbe1d
/usr/bin/duniter : ligne 15 : 7324 Abandon (core dumped) $NODE "$DUNITER_DIR/bin/duniter" "$@"
2023-07-22T21:00:00+02:00 - debug: Plugging file system...
2023-07-22T21:00:00+02:00 - debug: Loading conf...
2023-07-22T21:00:00+02:00 - debug: Configuration saved.
2023-07-22T21:00:01+02:00 - warn: Data successfully reseted.