Bonjour,
C’est la première fois que je vois une consommation de mémoire si importante pour ce plugin.
Courbe de ps -eo rss,command --sort -size | grep unifi (merci Mips).
Et les logs correspondants.
[05-04-2025 00:23:59]WARNING : ctrl.close - Le contrôleur a envoyé un évènement de fermeture, essai de reconnexion...
[05-04-2025 02:26:09]WARNING : ctrl.close - Le contrôleur a envoyé un évènement de fermeture, essai de reconnexion...
<--- Last few GCs --->
[19942:0x6d17090] 556426161 ms: Mark-Compact 1954.0 (1992.7) -> 1953.0 (1992.7) MB, 438.03 / 0.00 ms (average mu = 0.119, current mu = 0.009) allocation failure; scavenge might not succeed
[19942:0x6d17090] 556426599 ms: Mark-Compact 1954.0 (1992.7) -> 1953.0 (1993.7) MB, 433.75 / 0.00 ms (average mu = 0.067, current mu = 0.011) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xb8cf03 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
2: 0xf04140 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
3: 0xf04427 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
4: 0x1116075 [node]
5: 0x1116604 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
6: 0x112d4f4 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [node]
7: 0x112dd0c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
8: 0x1186acc v8::internal::MinorGCJob::Task::RunInternal() [node]
9: 0xd433f6 [node]
10: 0xd4699f node::PerIsolatePlatformData::FlushForegroundTasksInternal() [node]
11: 0x18c5343 [node]
12: 0x18d9dbb [node]
13: 0x18c6067 uv_run [node]
14: 0xbd3be6 node::SpinEventLoopInternal(node::Environment*) [node]
15: 0xd17a71 node::NodeMainInstance::Run() [node]
16: 0xc7eb0f node::Start(int, char**) [node]
17: 0x7f6a8af5ad7a __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
18: 0xbd181e _start [node]
[05-04-2025 09:03:10]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version
[05-04-2025 21:19:44]WARNING : ctrl.close - Le contrôleur a envoyé un évènement de fermeture, essai de reconnexion...
[06-04-2025 00:50:57]WARNING : ctrl.close - Le contrôleur a envoyé un évènement de fermeture, essai de reconnexion...
[06-04-2025 03:00:34]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version
[06-04-2025 03:01:34]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version
[06-04-2025 03:02:34]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version
[06-04-2025 03:03:04]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version
[06-04-2025 09:00:07]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version
[06-04-2025 09:02:37]WARNING : ERROR Polling: code: ECONNABORTED msg: timeout of 5000ms exceeded on https://machine.domaine.fr:8443/api/s/default/stat/fwupdate/latest-version

