NEWS
Admin, Influx und Javascript.. Nodejs - Memory Limits?
-
Hallo,
mir ist seit Admin 6.x aufgefallen, dass dieser recht viel Speicher in Anspruch nimmt, ebenso Influx und Javascript-Adapter.Ist das bei euch auch so? Was macht dieses Speicherlimit genau?
Hier hier das gefunden, aber ist 12 Jahre alt:
Memory Limits in Nodejs and Chrome V8Was kann ich tun, um den Speicher zu reduzieren oder das System noch optimieren?
Mit Js-Controller 4.x und Admin 5.x (in einem LXC mit Bullseye) lag das System beim insgesamt 6Gb-Ram verbrauch, jetzt sind es meist 11-15Gb..Hier beim Javascript auch(habe etliche Scripte, da kann ich es noch verstehen, wenn Speicher verbraten wird..):
Influx ebenso:
Meine Konfig:
iobroker laeuft mit 66 Instanzen, in einer VM Debian Bookworm, Node 18.18.2, NPM 9.8.1, js-controller 5.0.13, Admin-Adapter 6.10.8 (6.11.0 hat dauernd errors gemeldet, Issue hat schon einer auf Git angelegt).
Klar, ich hab n Menge Devices, hab jetzt mal ausgemistet, bin von 133000 States und 125000 Objects jetzt auf Objekte: 48351, Zustände: 42609 reduziert. Datenbank ist Redis/Redis, und Redis-Server laeuft in einem eigenen LXC unter Proxmox, ist auf dem neuesten Stand. Diesen Redis-Server habe ich auch einiges an Ressourcen gegoennt, braucht er ab und zu auch, damit das System fluessig laeuft:
Meine iobroker-VM sieht so aus:
Der Proxmox-Server selbst ist ein HP ProLiant DL380 G8:
Ist jetzt nicht so, dass er an der Leistungsgrenze waere.. der langweilt sich meistens.. ist auch gut so..Meine Adapter Instanzen:
-
@ilovegym sagte: Hier beim Javascript auch(habe etliche Scripte, da kann ich es noch verstehen, wenn Speicher verbraten wird..):
Es sind nicht die Skripte, die 2,4 GB RAM benötigen, sondern die Objekt- und Zustandspuffer der JS-Instanz. Auch die Admin-Instanz puffert alles.
-
@ilovegym sagte in Admin, Influx und Javascript.. Nodejs - Memory Limits?:
iobroker laeuft mit 66 Instanzen,
Moin,
sind das alles aktive Instanzen?
So im groben und ganzen, kann man sagen, dass pro Adapter ~80 - 100 MB gerechnet werden kann, dann kommst Du so auf ~ 5280 - 6600 MB, dann braucht in einer VM auch noch der Kernel, Treiber, Libraries, Systemprogramme Speicher, dann rechne mal lieber bei einer VM und der Anzahl an Adaptern, mit 10 GB, eher 12 GB, wenn dann auch noch interne Backups dazu kommen.VG
BerndP.S.: ups, sehe gerad, als ich die Brille aufgesetzt habe, dass Du da ja eine richtig große Maschine dahinter hast, dann vergiss was ich gesagt habe
-
danke, ja, ok. Habe jetzt mal zum testen bei Admin und Javascript 4096 eingestellt, beim InfluxDB-Adapter 8192, der geht jetzt ab und zu auf 6000 hoch.. braucht er also auch.. das war vorher nicht..
Schau auch gerne mal ne Zeitlang mit HTop / Top in der Console, was wieviel verbraucht...
Die Weboberflaeche hingt ja meist etwas nach.. -
Hi,
einiges ist schon korrekt rausgearbeitet:
Die drei genannten Adapter brauchen soviel RAM weil Sie alle( Admin, Javascript) bzw "relevante" und ggf gepufferte Daten (IndfluxDB - je nachdem was du eingestellt hast als Puffergrösse).
Am Ende ist mehr aussagekräftig was ein "top" so in der "RES" spalte sagt.
Das Memory Limit am besten nicht nutzen ausser Du musst es erhöhen weil Adapter mit OOM Fehlern abstürzen. Sonst lass es auf Default inf die JavaScript Engine! handelt schon alles sinnvoll.
lag das System beim insgesamt 6Gb-Ram verbrauch, jetzt sind es meist 11-15Gb
Du kennst https://www.cloudways.com/blog/linux-ate-my-ram-memory-myth-busted/ ??
Was uns wieder zu "top" bzw "free -m " führt.
Es sind nicht die Skripte, die 2,4 GB RAM benötigen, sondern die Objekt- und Zustandspuffer der JS-Instanz
Korrekt, ABER je nachdemwas du für Libraries nutzt kann da auch schon wegen der Skripte und Logiken (vor allem mit externen Libs) zuammen kommen was auch einiges Platz brauchen kann.
-
Ah, danke, ja, ich habe gerade ein paar Datenpunkte zu Influx hinzugefuegt, der Speicherverbrauch ging auf 18GB hoch, noch 12 frei.. aber dann... da haben wir auch schon einen OOM.. und das war der io.admin, richtig?
Der stand auf 4096, brauch also etwas mehr.. ?? ist ja genug da.. hab 128gb wenns sein soll..
Die VM hat sich auch nicht mehr eingekriegt, selbst reboot von iobroker und redis haben nicht geholfen, musste n restore machen.
Ich teste mal weiter... kann doch nicht sein, wegen so n paar Objects und States2023-10-23 14:13:09.009 - error: host.iobroker Caught by controller[0]: <--- Last few GCs ---> 2023-10-23 14:13:09.009 - error: host.iobroker Caught by controller[0]: [8136:0x653f680] 42638 ms: Scavenge 4053.2 (4120.4) -> 4052.9 (4131.2) MB, 14.4 / 0.0 ms (average mu = 0.283, current mu = 0.204) allocation failure; 2023-10-23 14:13:09.009 - error: host.iobroker Caught by controller[0]: [8136:0x653f680] 42679 ms: Scavenge 4059.9 (4131.2) -> 4060.5 (4132.2) MB, 17.2 / 0.0 ms (average mu = 0.283, current mu = 0.204) allocation failure; 2023-10-23 14:13:09.009 - error: host.iobroker Caught by controller[0]: [8136:0x653f680] 45093 ms: Scavenge 4060.7 (4132.2) -> 4059.9 (4154.4) MB, 2413.6 / 0.0 ms (average mu = 0.283, current mu = 0.204) allocation failure; 2023-10-23 14:13:09.010 - error: host.iobroker Caught by controller[0]: <--- JS stacktrace ---> 2023-10-23 14:13:09.010 - error: host.iobroker Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 14:13:09.010 - error: host.iobroker Caught by controller[1]: 1: 0xb85bc0 node::Abort() [io.admin.0] 2023-10-23 14:13:09.010 - error: host.iobroker Caught by controller[2]: 2: 0xa94834 [io.admin.0] 2023-10-23 14:13:09.010 - error: host.iobroker Caught by controller[3]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[4]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[5]: 5: 0xf447c5 [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[6]: 6: 0xf56cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[7]: 7: 0xf313ae v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[8]: 8: 0xf32777 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[9]: 9: 0xf12cc0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[10]: 10: 0xf0a28c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[11]: 11: 0xf0a405 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.admin.0] 2023-10-23 14:13:09.011 - error: host.iobroker Caught by controller[12]: 12: 0xf1e195 v8::internal::Factory::NewJSArrayStorage(v8::internal::ElementsKind, int, v8::internal::ArrayStorageAllocationMode) [io.admin.0] 2023-10-23 14:13:09.012 - error: host.iobroker Caught by controller[13]: 13: 0xf1e29e v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.admin.0] 2023-10-23 14:13:09.012 - error: host.iobroker Caught by controller[14]: 14: 0x1044dd5 v8::internal::JsonParser<unsigned char>::BuildJsonArray(v8::internal::JsonParser<unsigned char>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.admin.0] 2023-10-23 14:13:09.012 - error: host.iobroker Caught by controller[15]: 15: 0x104bf2e v8::internal::JsonParser<unsigned char>::ParseJsonValue() [io.admin.0] 2023-10-23 14:13:09.012 - error: host.iobroker Caught by controller[16]: 16: 0x104cabf v8::internal::JsonParser<unsigned char>::ParseJson() [io.admin.0] 2023-10-23 14:13:09.012 - error: host.iobroker Caught by controller[17]: 17: 0xdeca06 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.admin.0] 2023-10-23 14:13:09.012 - error: host.iobroker Caught by controller[18]: 18: 0x1705c39 [io.admin.0] 2023-10-23 14:13:09.012 - warn: host.iobroker instance system.adapter.admin.0 terminated due to SIGABRT 2023-10-23 14:13:09.013 - info: host.iobroker instance system.adapter.admin.0 terminated with code null () 2023-10-23 14:13:09.013 - info: host.iobroker Restart adapter system.adapter.admin.0 because enabled
-
@ilovegym Wie gesagt: Erstmal OHNE limit versuchen. wenn es dann noch crasht dann versuchen. Ich müsste mal raussuchen wa es da so zu gab
-
ok, ich setz jetzt das Limit mal wieder zurueck.
Top sieht so aus:
ilovegym@iobroker:/opt/iobroker$ free -m total used free shared buff/cache available Mem: 31715 11265 20175 0 666 20450 Swap: 974 0 974 ilovegym@iobroker:/opt/iobroker$
-
@ilovegym Dann kurz zur übersetzung:
Das System hast 32GB RAM und 11 GB sind aktuell "wirklich genutzt". nochmal 666 MB werden für caches genutzt und 20GB sind frei.
Oft ist der "buff/cache" ummeiniges höher weil da zb Filesystem caches und so was drin sind, aber auch dann ist "available" das relevante.
ALso ja wenn du in dem Umfeld "OOMs" wie oen hast dann ggf limits höher setzen.
-
ja Danke fuer den schnellen Support!
Ram ist ja genug da, aber die OOMs kommen vom io.admin, wenn ich in den Objects einen Baum mit mehr als 1500 Objekten (Zigbee.0.*) markiere und mit Influx loggen moechte.. filtere da schon.. alles waeren ca 5000 Objekte, da kackt er gleich ab..Hab jetzt auf 8192 beim admin gesetzt.. und beim Influx auch..
Der Objects-Browser von Admin V6.x ist sowieso irgendwie anders, auf dem Ipad / Iphone bekomme ich den gar nicht mehr hin, da kommt der Spinner eiert sich tot.. Egal ob mit Safari, Chrom, Firefox oder Edge..
In der Browserconsole seh ich, dass er den Baum geladen hat, aber dann mit einem Timeout endet.. anscheinend zuviel des guten..Am Desktop-Rechner (Intel I9, Windows 11, Chrome Browser) funktionierts einwandfrei. Daher versuche ich mein System gerade etwas zu optimieren, wo es geht.. um den Datenansturm gerecht zu werden..
hmpfff... gerade 210 Objects mit Influx markieren wollen... und wieder.. obwohl Admin auf 8192 steht:
2023-10-23 15:56:02.372 - error: host.iobroker Caught by controller[0]: <--- Last few GCs ---> 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: [21275:0x5d79680] 4634854 ms: Scavenge (reduce) 4006.4 (4086.8) -> 4006.3 (4087.6) MB, 22.3 / 0.0 ms (average mu = 0.341, current mu = 0.284) allocation failure; 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: [21275:0x5d79680] 4634966 ms: Scavenge (reduce) 4007.3 (4087.6) -> 4007.3 (4087.6) MB, 22.1 / 0.0 ms (average mu = 0.341, current mu = 0.284) allocation failure; 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: [21275:0x5d79680] 4634992 ms: Scavenge (reduce) 4007.3 (4087.6) -> 4007.2 (4088.6) MB, 22.0 / 0.0 ms (average mu = 0.341, current mu = 0.284) allocation failure; 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: <--- JS stacktrace ---> 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[1]: 1: 0xb85bc0 node::Abort() [io.admin.0] 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[2]: 2: 0xa94834 [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[3]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[4]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[5]: 5: 0xf447c5 [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[6]: 6: 0xf456c8 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[7]: 7: 0xf55bd3 [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[8]: 8: 0xf56a48 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[9]: 9: 0xf313ae v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[10]: 10: 0xf32777 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[11]: 11: 0xf12cc0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[12]: 12: 0xf0a28c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[13]: 13: 0xf0a405 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[14]: 14: 0x11c546e v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate<v8::internal::Isolate>(v8::internal::Isolate*, int, v8::internal::AllocationType) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[15]: 15: 0x11c5523 v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash<v8::internal::Isolate>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::OrderedHashMap>, int) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[16]: 16: 0x12cf86d v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [io.admin.0] 2023-10-23 15:56:02.376 - error: host.iobroker Caught by controller[17]: 17: 0x1705b39 [io.admin.0] 2023-10-23 15:56:02.376 - warn: host.iobroker instance system.adapter.admin.0 terminated due to SIGABRT 2023-10-23 15:56:02.376 - info: host.iobroker instance system.adapter.admin.0 terminated with code null () 2023-10-23 15:56:02.376 - info: host.iobroker Restart adapter system.adapter.admin.0 because enabled 2023-10-23 15:56:02.372 - error: host.iobroker Caught by controller[0]: <--- Last few GCs ---> 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: [21275:0x5d79680] 4634854 ms: Scavenge (reduce) 4006.4 (4086.8) -> 4006.3 (4087.6) MB, 22.3 / 0.0 ms (average mu = 0.341, current mu = 0.284) allocation failure; 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: [21275:0x5d79680] 4634966 ms: Scavenge (reduce) 4007.3 (4087.6) -> 4007.3 (4087.6) MB, 22.1 / 0.0 ms (average mu = 0.341, current mu = 0.284) allocation failure; 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: [21275:0x5d79680] 4634992 ms: Scavenge (reduce) 4007.3 (4087.6) -> 4007.2 (4088.6) MB, 22.0 / 0.0 ms (average mu = 0.341, current mu = 0.284) allocation failure; 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: <--- JS stacktrace ---> 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[1]: 1: 0xb85bc0 node::Abort() [io.admin.0] 2023-10-23 15:56:02.373 - error: host.iobroker Caught by controller[2]: 2: 0xa94834 [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[3]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[4]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[5]: 5: 0xf447c5 [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[6]: 6: 0xf456c8 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[7]: 7: 0xf55bd3 [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[8]: 8: 0xf56a48 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.admin.0] 2023-10-23 15:56:02.374 - error: host.iobroker Caught by controller[9]: 9: 0xf313ae v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[10]: 10: 0xf32777 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[11]: 11: 0xf12cc0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[12]: 12: 0xf0a28c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[13]: 13: 0xf0a405 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[14]: 14: 0x11c546e v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate<v8::internal::Isolate>(v8::internal::Isolate*, int, v8::internal::AllocationType) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[15]: 15: 0x11c5523 v8::internal::MaybeHandle<v8::internal::OrderedHashMap> v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash<v8::internal::Isolate>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::OrderedHashMap>, int) [io.admin.0] 2023-10-23 15:56:02.375 - error: host.iobroker Caught by controller[16]: 16: 0x12cf86d v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [io.admin.0] 2023-10-23 15:56:02.376 - error: host.iobroker Caught by controller[17]: 17: 0x1705b39 [io.admin.0] 2023-10-23 15:56:02.376 - warn: host.iobroker instance system.adapter.admin.0 terminated due to SIGABRT 2023-10-23 15:56:02.376 - info: host.iobroker instance system.adapter.admin.0 terminated with code null () 2023-10-23 15:56:02.376 - info: host.iobroker Restart adapter system.adapter.admin.0 because enabled 2023-10-23 15:56:06.700 - info: influxdb.0 (63062) Store 440 buffered influxDB history points 2023-10-23 15:56:06.700 - info: influxdb.0 (63062) Store 440 buffered influxDB history points 2023-10-23 15:56:09.890 - info: tuya.0 (1582) 38338871500291d6d932: Error on Reconnect (1): connection timed out 2023-10-23 15:56:10.212 - info: javascript.0 (15774) script.js.common.Nuki.mqtt2log: NUKI Hub WT: Querying lock state: Querying lock state: Querying lock state: unlocked 2023-10-23 15:56:09.890 - info: tuya.0 (1582) 38338871500291d6d932: Error on Reconnect (1): connection timed out
Ich leg jetzt mal n Issue beim Admin Adapter an... das ist doch nix..
-
@ilovegym sagte in Admin, Influx und Javascript.. Nodejs - Memory Limits?:
1500 Objekten (Zigbee.0.*) markiere und mit Influx loggen moechte.
Moin,
ich will ja niemanden sagen, was er machen soll, aber übertreibst Du das nicht etwas, da sind doch mindestens 2/3 an unnützen DP dabei, wieso sollte man die alle historisieren?
Selbst wenn es nur 5 DPs pro Gerät sind, hast Du 300 Zigbee Devices?VG
Bernd -
@dp20eic
es sind 225 Zigbee Devices, 150 Devices beim Sonoff Adapter, 135 Devices im Tuya-Adapter...
ich versuch ja schon zu filtern ... das Problem ist, dass ich ja auch keine Datenpunkte mehr aus der history loeschen kann (also influx fuer den Datenpunkt deaktivieren), es sei denn, ich mach es einzeln..Hmpff soviel History DP hab ich auch gar nicht.. was mich wundert, ich hatte vorher den Unifi-Adapter noch mit 70000 Objekten drin, und das ging damals... und jetzt hab ich reduziert, und es geht nicht mehr..
hmm seltsam...
-
@ilovegym Interessant das er trotzdem bei 4GB gekillt hat ... setz mal höher ob das was ändert?
-
da scheint was nicht zu stimmen... wollt es jetzt mal wissen... ich hab der VM jetzt 64GB Ram zugewiesen, kein Balloon.
Die sind definitv immer frei..
Admin Adapter hat jetzt 16384 drin stehen:
und dann kommt sowas:
2023-10-23 17:00:38.210 - info: tuya.0 (1538) bf4e76548af6405d8cr8zc: Error on Reconnect (3): connect EHOSTUNREACH 10.1.5.64:6668 2023-10-23 17:00:38.612 - info: linux-control.0 (2922) successful received data from redis (10.1.1.1:22) 2023-10-23 17:00:38.704 - info: linux-control.0 (2922) successful received data from wireguard (10.1.1.8:22) 2023-10-23 17:00:38.852 - info: linux-control.0 (2922) successful received data from hpdl380g8 (10.1.1.6:22) 2023-10-23 17:00:38.996 - info: linux-control.0 (2922) successful received data from grafana (10.1.1.3:22) 2023-10-23 17:00:38.996 - info: linux-control.0 (2922) successful received data from docker (10.1.1.4:22) 2023-10-23 17:00:39.107 - info: tuya.0 (1538) bf86420a244a1df50azygs: Connect locally to device 2023-10-23 17:00:39.107 - info: tuya.0 (1538) bf86420a244a1df50azygs Init with IP=10.1.5.54, Key=KQ^vY%~XP?IUEVIM, Version=3.3 2023-10-23 17:00:39.572 - info: sonoff.0 (1415) Client [RolladenBuero] connected with secret 1698073237940_7667 2023-10-23 17:00:39.705 - error: host.iobroker Caught by controller[0]: <--- Last few GCs ---> 2023-10-23 17:00:39.705 - error: host.iobroker Caught by controller[0]: [2342:0x5f8a680] 49936 ms: Scavenge (reduce) 3697.1 (3867.1) -> 3697.0 (3868.3) MB, 25.1 / 0.0 ms (average mu = 0.855, current mu = 0.922) allocation failure; 2023-10-23 17:00:39.705 - error: host.iobroker Caught by controller[0]: [2342:0x5f8a680] 56391 ms: Mark-sweep (reduce) 4485.9 (4656.6) -> 4484.8 (4644.1) MB, 4211.2 / 0.0 ms (+ 184.6 ms in 457 steps since start of marking, biggest step 27.5 ms, walltime since start of marking 7290 ms) (average mu = 0.739, current mu = 0.6 2023-10-23 17:00:39.705 - error: host.iobroker Caught by controller[0]: <--- JS stacktrace ---> 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[1]: 1: 0xb85bc0 node::Abort() [io.admin.0] 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[2]: 2: 0xa94834 [io.admin.0] 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[3]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[4]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.admin.0] 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[5]: 5: 0xf447c5 [io.admin.0] 2023-10-23 17:00:39.706 - error: host.iobroker Caught by controller[6]: 6: 0xf56cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.admin.0] 2023-10-23 17:00:39.707 - error: host.iobroker Caught by controller[7]: 7: 0xf5999b v8::internal::Heap::AllocateExternalBackingStore(std::function<void* (unsigned long)> const&, unsigned long) [io.admin.0] 2023-10-23 17:00:39.707 - error: host.iobroker Caught by controller[8]: 8: 0x107e1a2 v8::internal::BackingStore::Allocate(v8::internal::Isolate*, unsigned long, v8::internal::SharedFlag, v8::internal::InitializedFlag) [io.admin.0] 2023-10-23 17:00:39.707 - error: host.iobroker Caught by controller[9]: 9: 0xdd1ed8 [io.admin.0] 2023-10-23 17:00:39.707 - error: host.iobroker Caught by controller[10]: 10: 0xdd23a1 v8::internal::Builtin_ArrayBufferConstructor(int, unsigned long*, v8::internal::Isolate*) [io.admin.0] 2023-10-23 17:00:39.707 - error: host.iobroker Caught by controller[11]: 11: 0x1705c39 [io.admin.0] 2023-10-23 17:00:39.707 - warn: host.iobroker instance system.adapter.admin.0 terminated due to SIGABRT 2023-10-23 17:00:39.707 - info: host.iobroker instance system.adapter.admin.0 terminated with code null () 2023-10-23 17:00:39.708 - info: host.iobroker Restart adapter system.adapter.admin.0 because enabled 2023-10-23 17:00:27.520 - info: influxdb.0 (1962) enabled logging of tuya.0.bf1a78398f3c8faf3cx38r.38, Alias=false 2023-10-23 17:00:27.521 - info: influxdb.0 (1962) enabled logging of system.adapter.javascript.0.alive, Alias=false
ah, jetzt kommt influxdb, obwohl das auf 8192 steht:
2023-10-23 17:05:14.489 - error: host.iobroker Caught by controller[1]: <--- Last few GCs ---> 2023-10-23 17:05:14.489 - error: host.iobroker Caught by controller[1]: [6148:0x7756680] 129990 ms: Mark-sweep (reduce) 4067.4 (4142.9) -> 4067.1 (4143.6) MB, 7334.0 / 0.0 ms (average mu = 0.270, current mu = 0.307) allocation failure; scavenge might not succeed 2023-10-23 17:05:14.490 - error: host.iobroker Caught by controller[1]: [6148:0x7756680] 137240 ms: Mark-sweep (reduce) 4068.3 (4143.6) -> 4068.1 (4144.6) MB, 7245.3 / 0.0 ms (average mu = 0.143, current mu = 0.001) allocation failure; scavenge might not succeed 2023-10-23 17:05:14.490 - error: host.iobroker Caught by controller[1]: <--- JS stacktrace ---> 2023-10-23 17:05:14.490 - error: host.iobroker Caught by controller[1]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 17:05:14.490 - error: host.iobroker Caught by controller[2]: 1: 0xb85bc0 node::Abort() [io.influxdb.0] 2023-10-23 17:05:14.490 - error: host.iobroker Caught by controller[3]: 2: 0xa94834 [io.influxdb.0] 2023-10-23 17:05:14.490 - error: host.iobroker Caught by controller[4]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.influxdb.0] 2023-10-23 17:05:14.491 - error: host.iobroker Caught by controller[5]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.influxdb.0] 2023-10-23 17:05:14.491 - error: host.iobroker Caught by controller[6]: 5: 0xf447c5 [io.influxdb.0] 2023-10-23 17:05:14.491 - error: host.iobroker Caught by controller[7]: 6: 0xf56cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.influxdb.0] 2023-10-23 17:05:14.491 - error: host.iobroker Caught by controller[8]: 7: 0xf313ae v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.influxdb.0] 2023-10-23 17:05:14.491 - error: host.iobroker Caught by controller[9]: 8: 0xf32777 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.influxdb.0] 2023-10-23 17:05:14.492 - error: host.iobroker Caught by controller[10]: 9: 0xf12cc0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.influxdb.0] 2023-10-23 17:05:14.492 - error: host.iobroker Caught by controller[11]: 10: 0xf0a28c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.influxdb.0] 2023-10-23 17:05:14.492 - error: host.iobroker Caught by controller[12]: 11: 0xf0a405 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.influxdb.0] 2023-10-23 17:05:14.492 - error: host.iobroker Caught by controller[13]: 12: 0xf1e195 v8::internal::Factory::NewJSArrayStorage(v8::internal::ElementsKind, int, v8::internal::ArrayStorageAllocationMode) [io.influxdb.0] 2023-10-23 17:05:14.493 - error: host.iobroker Caught by controller[14]: 13: 0xf1e29e v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.influxdb.0] 2023-10-23 17:05:14.493 - error: host.iobroker Caught by controller[15]: 14: 0x10468d5 v8::internal::JsonParser<unsigned short>::BuildJsonArray(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.influxdb.0] 2023-10-23 17:05:14.493 - error: host.iobroker Caught by controller[16]: 15: 0x104e65e v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.influxdb.0] 2023-10-23 17:05:14.493 - error: host.iobroker Caught by controller[17]: 16: 0x104f53f v8::internal::JsonParser<unsigned short>::ParseJson() [io.influxdb.0] 2023-10-23 17:05:14.497 - error: host.iobroker Caught by controller[18]: 17: 0xdec8f3 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.influxdb.0] 2023-10-23 17:05:14.498 - error: host.iobroker Caught by controller[19]: 18: 0x1705c39 [io.influxdb.0] 2023-10-23 17:05:14.498 - warn: host.iobroker instance system.adapter.influxdb.0 terminated due to SIGABRT
und dann dauerts nicht lange, bis javascript sein comment dazu gibt;;;
2023-10-23 17:05:52.302 - info: influxdb.0 (10949) Connected! 2023-10-23 17:05:52.302 - info: influxdb.0 (10949) Connected! 2023-10-23 17:05:57.922 - error: host.iobroker Caught by controller[0]: <--- Last few GCs ---> 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[0]: [8452:0x6415680] 90569 ms: Mark-sweep (reduce) 4076.2 (4143.3) -> 4076.1 (4144.0) MB, 6147.6 / 0.0 ms (average mu = 0.199, current mu = 0.003) allocation failure; scavenge might not succeed 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[0]: <--- JS stacktrace ---> 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[1]: 1: 0xb85bc0 node::Abort() [io.javascript.0] 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[2]: 2: 0xa94834 [io.javascript.0] 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[3]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0] 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[4]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[5]: 5: 0xf447c5 [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[6]: 6: 0xf56cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[7]: 7: 0xf313ae v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[8]: 8: 0xf32777 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[9]: 9: 0xf12cc0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[10]: 10: 0xf0a28c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[11]: 11: 0xf0a405 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[12]: 12: 0xf1e195 v8::internal::Factory::NewJSArrayStorage(v8::internal::ElementsKind, int, v8::internal::ArrayStorageAllocationMode) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[13]: 13: 0xf1e29e v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[14]: 14: 0x10468d5 v8::internal::JsonParser<unsigned short>::BuildJsonArray(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[15]: 15: 0x104e65e v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[16]: 16: 0x104f53f v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[17]: 17: 0xdec8f3 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[18]: 18: 0x1705c39 [io.javascript.0] 2023-10-23 17:05:57.925 - warn: host.iobroker instance system.adapter.javascript.0 terminated due to SIGABRT 2023-10-23 17:05:57.925 - info: host.iobroker instance system.adapter.javascript.0 terminated with code null () 2023-10-23 17:05:57.926 - info: host.iobroker Restart adapter system.adapter.javascript.0 because enabled 2023-10-23 17:05:57.922 - error: host.iobroker Caught by controller[0]: <--- Last few GCs ---> 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[0]: [8452:0x6415680] 90569 ms: Mark-sweep (reduce) 4076.2 (4143.3) -> 4076.1 (4144.0) MB, 6147.6 / 0.0 ms (average mu = 0.199, current mu = 0.003) allocation failure; scavenge might not succeed 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[0]: <--- JS stacktrace ---> 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[1]: 1: 0xb85bc0 node::Abort() [io.javascript.0] 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[2]: 2: 0xa94834 [io.javascript.0] 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[3]: 3: 0xd66d10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0] 2023-10-23 17:05:57.923 - error: host.iobroker Caught by controller[4]: 4: 0xd670b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[5]: 5: 0xf447c5 [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[6]: 6: 0xf56cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[7]: 7: 0xf313ae v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[8]: 8: 0xf32777 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[9]: 9: 0xf12cc0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[10]: 10: 0xf0a28c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[11]: 11: 0xf0a405 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.javascript.0] 2023-10-23 17:05:57.924 - error: host.iobroker Caught by controller[12]: 12: 0xf1e195 v8::internal::Factory::NewJSArrayStorage(v8::internal::ElementsKind, int, v8::internal::ArrayStorageAllocationMode) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[13]: 13: 0xf1e29e v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[14]: 14: 0x10468d5 v8::internal::JsonParser<unsigned short>::BuildJsonArray(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[15]: 15: 0x104e65e v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[16]: 16: 0x104f53f v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[17]: 17: 0xdec8f3 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0] 2023-10-23 17:05:57.925 - error: host.iobroker Caught by controller[18]: 18: 0x1705c39 [io.javascript.0] 2023-10-23 17:05:57.925 - warn: host.iobroker instance system.adapter.javascript.0 terminated due to SIGABRT 2023-10-23 17:05:57.925 - info: host.iobroker instance system.adapter.javascript.0 terminated with code null () 2023-10-23 17:05:57.926 - info: host.iobroker Restart adapter system.adapter.javascript.0 because enabled 2023-10-23 17:06:00.023 - info: host.iobroker instance system.adapter.solarmanpv.0 started with pid 11300 2023-10-23 17:06:00.023 - info: host.iobroker instance system.adapter.solarmanpv.0 started with pid 11300
und der javascript steht auf 8192.. und nutzt nur 4096.. wie es aussieht..
-
@ilovegym sagte in Admin, Influx und Javascript.. Nodejs - Memory Limits?:
loeschen kann (also influx fuer den Datenpunkt deaktivieren)
Moin,
ich denke, dass Du schon an diese Möglichkeit gedacht hast
Und dann weiter Einschränken über Raum, Funktion oder Rolle
VG
Bernd -
@dp20eic
ja, ich kann das NUR so machen.. Filter mit der Instanz, dann noch meist Name, dann noch Raum.. / Funktion...
Vielleicht ist auch meine Datenbank im Eimer... oder das ist die Grenze... das komische ist ja, dass keiner der Adapter mehr als 4GB Ram benutzt, obwohl vorhanden und oder sogar eingestellt....
-
@ilovegym sagte in Admin, Influx und Javascript.. Nodejs - Memory Limits?:
Adapter mehr als 4GB Ram benutzt, obwohl vorhanden und oder sogar eingestellt....
Moin,
kenne mich mit nodejs, nicht aus, ist das ein
online
Parameter, oder muss da etwas neu gestartet werden, dass der greift?VG
Bernd -
@dp20eic
lt. Log wurde die Instanz nach Aenderung des Parameters neu gestartet...
Gab dann aber durcheinander und die VM hat sich nicht mehr eingekriegt..Hab jetzt das VM-Backup und LXC-Redis-Backup restored, bin auf Node 20.8.1 und NPM 10.1.0, der Speicherverbrauch ist satte 2GB weniger, laeuft jetzt mit 8-9 GB anstatt mit 11 GB Ram..
beobachte und teste mal morgen weiter... bisher alles gut.. aber jetzt ist auch Feierabend
Gut zu wissen, dass meine 66 Instanzen auch mit Node 20 laufen.. das update hab ich mit dem command "iob nodejs-update 20"gemacht.. -
@ilovegym sagte in Admin, Influx und Javascript.. Nodejs - Memory Limits?:
das update hab ich mit dem command "iob nodejs-update 20"gemacht..
-
Also auch uns kommt das komisch vor. ich verstehe nicht warum Admin beim aufklappen so viel RAM braucht ... @foxriver76 schaut mal rein