J’ai enfin une machine avec un peu de place pour faire tourner un nœud Duniter (il me semble que le réseau en a besoin). Vous avez peut-être vu passer g1.trentesaux.fr, mais celui-ci crash environ une minute après le lancement :
<--- Last few GCs --->
[975562:0x27d3860] 236287 ms: Scavenge 1394.8 (1422.2) -> 1394.1 (1422.7) MB, 6.0 / 0.0 ms (average mu = 0.139, current mu = 0.083) allocation failure
[975562:0x27d3860] 236294 ms: Scavenge 1394.9 (1422.7) -> 1394.3 (1423.2) MB, 3.3 / 0.0 ms (average mu = 0.139, current mu = 0.083) allocation failure
[975562:0x27d3860] 236299 ms: Scavenge 1395.0 (1423.2) -> 1394.4 (1424.2) MB, 3.6 / 0.0 ms (average mu = 0.139, current mu = 0.083) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x268f524dbe1d]
Security context: 0x171e8401e6c1 <JSObject>
1: DoJoin(aka DoJoin) [0x171e84005e69] [native array.js:~87] [pc=0x268f5273c5d0](this=0x1e13f64026f1 <undefined>,l=0x000c49728001 <JSArray[33]>,m=33,A=0x1e13f64028c9 <true>,w=0x171e8405d831 <String[1]: ,>,v=0x1e13f64029a1 <false>)
2: Join(aka Join) [0x171e84005eb9] [native array.js:~112] [pc=0x268f52749838](this=0x1e13f64026f1 <undefined>,l=0x000c497...
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: 0xf06be1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/opt/duniter//node/bin/node]
10: 0xed682b v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/opt/duniter//node/bin/node]
11: 0x11c5678 v8::internal::Runtime_StringBuilderJoin(int, v8::internal::Object**, v8::internal::Isolate*) [/opt/duniter//node/bin/node]
12: 0x268f524dbe1d
/usr/bin/duniter : ligne 15 : 975562 Abandon $NODE "$DUNITER_DIR/bin/duniter" "$@"
Par défaut la variable NODE_OPTIONS
n’est pas set, et j’ai essayé de la mettre à 6Go avec export NODE_OPTIONS="--max-old-space-size=6144"
mais ça ne change rien. De plus, htop
ne montre pas d’utilisation abusive de mémoire (<2Go)
Méthode d’installation : paquet debian hotfix 1.8.2.
Je n’ai pas trouvé de sujet récent qui en parle , comment font les #Blacksmith en ce moment ?