Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. JS-Adapter startet ständig neu: heap out of memory

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    JS-Adapter startet ständig neu: heap out of memory

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active last edited by

      @smhrambo sagte in JS-Adapter startet ständig neu: heap out of memory:

      Ich habe auch schon meine Skripte deaktiviert, ohne Erfolg.

      das reicht nicht, wenn z.b noch irgendwelche Schleifen/Timeouts laufen

      1 Reply Last reply Reply Quote 0
      • W
        Wildbill @smhrambo last edited by

        @smhrambo Alle Scripte anhalten und einen sauberen reboot machen. Anschließend 50% der Scripte starten und beobachten. Tritt der Fehler dann nicht mehr auf, von den restlichen 50% wieder die Hälfte starten und beobachten. Sobald der Fehler wieder auftritt, hast Du zumindest mal eingegrenzt, in welchem "Block" der Scripte das fehlerhafte liegen muss. So kannst Du es eingrenzen und dann genau das fehlerhafte Script verbessern.
        Ja, ist etwas Aufwand bei mehr als vielleicht 10 Scripten, aber anders bekommst Du nicht heraus, woher der Fehler stammt.
        Du könntest mal noch im JS-Editor oben links nach timeout und interval suchen und die zuerst beenden und beobachten. Das sind FUnktionen, die bei fehlerhafter Anwendung gerne unendliche Schleifen aufbauen und den RAM auffressen.

        Gruss, Jürgen

        1 Reply Last reply Reply Quote 2
        • OliverIO
          OliverIO @smhrambo last edited by

          @smhrambo sagte in JS-Adapter startet ständig neu: heap out of memory:

          Mir ist aufgefallen, dass sich mein Log mit Fehlermeldungen füllt und der JS-Adapter immer neustartet.

          falls du alle skripte schon deaktiviert hast, dann schau mal was kurz vor den fehlermeldungen im log steht.
          evtl ist es ein anderer adapter, der viel speicher zieht. backitup ist da manchmal so ein kandidat, wenn das system eh schon ziemlich voll ist.

          was für ein system hast du den?
          wieviel speicher verbraucht es, wenn iobroker gestartet ist?
          wieviel ist normalerweise davon frei?
          Wieviele Adapter hast du den laufen.
          die meisten Informationen kannst du mit

          iob diag
          

          ausgeben lassen und hier reinkopieren

          wenn du ein system hast, bei dem schon 80% des RAMs im Normalbetrieb belegt ist,
          dann braucht man nicht mehr viel, das System in Not zu bringen.

          S 1 Reply Last reply Reply Quote 0
          • S
            smhrambo @OliverIO last edited by

            So ich hatte ein bisschen was um die Ohren und nun habe ich mich drum gekümmert.

            ioBroker braucht ohne JS 37,8% vom RAM (Host Tab).

            Die Systemausgabe mit free zeigt folgendes an:

                      gesamt    benutzt   frei     gemns.   Puffer/Cache   verfügbar
            Speicher: 3936484   2406760   303056   33208    1352960        1529724
            

            Vorgehen:
            Skripte deaktiviert, JS deaktiviert, ioBroker neugestartet, JS aktivieren
            Das Problem bleibt.

            JS verbraucht beim Start ca. 125MB. (instances Tab)
            Die Systemausgabe mit free zeigt folgendes an:

                      gesamt    benutzt   frei     gemns.   Puffer/Cache   verfügbar
            Speicher: 3936484   2543376   261364   32368    1313452        1393108
            

            Sobald ich JS aktiviere steht der selbe Fehler im Log.
            Kein anderer Adapter gibt irgendwelche Warnungen oder Fehlermeldungen raus.

            Ausgabe von iob diag:

            Skript v.2023-10-10
            
            *** BASE SYSTEM ***
            cat: /sys/devices/virtual/dmi/id/sys_vendor: No such file or directory
            Hardware Vendor :
            Kernel          : aarch64
            Userland        : arm64
            Docker          : v9.0.1
            Virtualization  : Docker
            Kernel          : aarch64
            Userland        : arm64
            
            Systemuptime and Load:
             20:59:28 up  4:39,  0 user,  load average: 2.60, 2.10, 2.11
            CPU threads: 4
            
            
            *** Time and Time Zones ***
            Fri Dec  1 19:59:28 UTC 2023
            Fri Dec  1 20:59:28 CET 2023
            CET +0100
            Etc/UTC
            
            *** User and Groups ***
            root
            /root
            root
            
            *** X-Server-Setup ***
            X-Server:       false
            Desktop:
            Terminal:
            
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            4.0G        2.5G        441M         31M        1.2G        1.5G
            Swap:           104M         96M        7.9M
            Total:          4.1G        2.6G        449M
            
                     3844 M total memory
                     2390 M used memory
                     1914 M active memory
                     1122 M inactive memory
                      421 M free memory
                        7 M buffer memory
                     1138 M swap cache
                       99 M total swap
                       92 M used swap
                        7 M free swap
            
            *** FILESYSTEM ***
            Filesystem     Type     Size  Used Avail Use% Mounted on
            overlay        overlay  367G  134G  219G  38% /
            tmpfs          tmpfs     64M     0   64M   0% /dev
            shm            tmpfs     64M     0   64M   0% /dev/shm
            /dev/root      ext4     367G  134G  219G  38% /opt/iobroker
            tmpfs          tmpfs    1.9G     0  1.9G   0% /proc/asound
            tmpfs          tmpfs    1.9G     0  1.9G   0% /sys/firmware
            
            Messages concerning ext4 filesystem in dmesg:
            dmesg: read kernel buffer failed: Operation not permitted
            
            Show mounted filesystems \(real ones only\):
            TARGET                      SOURCE                                                                                                             FSTYPE OPTIONS
            /usr/share/zoneinfo/Etc/UTC /dev/root[/usr/share/zoneinfo/Europe/Berlin]                                                                       ext4   ro,noatime
            /opt/iobroker               /dev/root[/docker/iobroker_stack/app/data]                                                                         ext4   rw,noatime
            /etc/resolv.conf            /dev/root[/var/lib/docker/containers/4a3c83a82a316faddcd4399d337ce519dfe8ec3a71983934fa4abc55970e3814/resolv.conf] ext4   rw,noatime
            /etc/hostname               /dev/root[/var/lib/docker/containers/4a3c83a82a316faddcd4399d337ce519dfe8ec3a71983934fa4abc55970e3814/hostname]    ext4   rw,noatime
            /etc/hosts                  /dev/root[/var/lib/docker/containers/4a3c83a82a316faddcd4399d337ce519dfe8ec3a71983934fa4abc55970e3814/hosts]       ext4   rw,noatime
            
            Files in neuralgic directories:
            
            /var:
            16M     /var/
            13M     /var/lib/dpkg
            13M     /var/lib
            12M     /var/lib/dpkg/info
            1.9M    /var/cache
            
            
            
            /opt/iobroker/backups:
            319M    /opt/iobroker/backups/
            4.0K    /opt/iobroker/backups/redistmp
            
            /opt/iobroker/iobroker-data:
            377M    /opt/iobroker/iobroker-data/
            283M    /opt/iobroker/iobroker-data/files
            67M     /opt/iobroker/iobroker-data/files/javascript.admin
            55M     /opt/iobroker/iobroker-data/files/material
            53M     /opt/iobroker/iobroker-data/files/material/static
            
            The five largest files in iobroker-data are:
            41M     /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js.map
            22M     /opt/iobroker/iobroker-data/objects.jsonl
            21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
            20M     /opt/iobroker/iobroker-data/states.jsonl
            18M     /opt/iobroker/iobroker-data/files/text2command.admin/static/js/main.274a4d8d.js.map
            
            USB-Devices by-id:
            USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
            
            find: '/dev/serial/by-id/': No such file or directory
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v18.18.2
            /usr/bin/node           v18.18.2
            /usr/bin/npm            9.8.1
            /usr/bin/npx            9.8.1
            /usr/bin/corepack       0.19.0
            
            
            nodejs:
              Installed: 18.18.2-1nodesource1
              Candidate: 18.18.2-1nodesource1
              Version table:
             *** 18.18.2-1nodesource1 100
                    100 /var/lib/dpkg/status
            
            Temp directories causing npm8 problem: 0
            No problems detected
            
            Errors in npm tree:
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Core adapters versions
            js-controller:  5.0.16
            admin:          6.12.0
            javascript:     7.1.6
            
            Adapters from github:   0
            
            Adapter State
              system.adapter.adguard.0                : adguard               : iobroker                                 - disabled, compact disabled
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
              system.adapter.alarm.0                  : alarm                 : iobroker                                 - disabled, compact disabled
              system.adapter.alexa2.0                 : alexa2                : iobroker                                 - disabled, compact disabled
            + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled, compact disabled
              system.adapter.bidirectional-counter.0  : bidirectional-counter : iobroker                                 - disabled, compact disabled
              system.adapter.device-reminder.0        : device-reminder       : iobroker                                 - disabled, compact disabled
            + system.adapter.device-watcher.0         : device-watcher        : iobroker                                 -  enabled, compact disabled
              system.adapter.discovery.0              : discovery             : iobroker                                 - disabled, compact disabled
            + system.adapter.ems-esp.0                : ems-esp               : iobroker                                 -  enabled, compact disabled
              system.adapter.evcc.0                   : evcc                  : iobroker                                 - disabled, compact disabled, port: 7070
            + system.adapter.followthesun.0           : followthesun          : iobroker                                 -  enabled, compact disabled
              system.adapter.habpanel.0               : habpanel              : iobroker                                 -  enabled
            + system.adapter.history.0                : history               : iobroker                                 -  enabled, compact disabled
            + system.adapter.hm-rega.0                : hm-rega               : iobroker                                 -  enabled, compact disabled
            + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, compact disabled, port: 0
              system.adapter.hue.0                    : hue                   : iobroker                                 - disabled, compact disabled, port: 443
              system.adapter.influxdb.0               : influxdb              : iobroker                                 - disabled, compact disabled, port: 8086
            + system.adapter.influxdb.1               : influxdb              : iobroker                                 -  enabled, compact disabled, port: 8086
              system.adapter.iqontrol.0               : iqontrol              : iobroker                                 - disabled, compact disabled
              system.adapter.jarvis.0                 : jarvis                : iobroker                                 - disabled, compact disabled
              system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled, compact disabled
              system.adapter.material.0               : material              : iobroker                                 -  enabled
            + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled, compact disabled
            + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
              system.adapter.sayit.0                  : sayit                 : iobroker                                 - disabled, compact disabled, port: 0
            + system.adapter.shuttercontrol.0         : shuttercontrol        : iobroker                                 -  enabled, compact disabled
            + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, compact disabled, port: 8443, bind: 0.0.0.0
            + system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled, compact disabled
            + system.adapter.weatherunderground.0     : weatherunderground    : iobroker                                 -  enabled, compact disabled
              system.adapter.weatherunderground.1     : weatherunderground    : iobroker                                 -  enabled, compact disabled
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
              system.adapter.zigbee.0                 : zigbee                : iobroker                                 - disabled, compact disabled, port: /dev/ttyAMA0
            + system.adapter.zigbee2mqtt.0            : zigbee2mqtt           : iobroker                                 -  enabled, compact disabled
              system.adapter.zwave2.0                 : zwave2                : iobroker                                 - disabled, compact disabled
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, compact disabled, port: 0
            + system.adapter.influxdb.1               : influxdb              : iobroker                                 -  enabled, compact disabled, port: 8086
            + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
            + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, compact disabled, port: 8443, bind: 0.0.0.0
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
            
            ioBroker-Repositories
            stable        : http://download.iobroker.net/sources-dist.json
            beta          : http://download.iobroker.net/sources-dist-latest.json
            
            Active repo(s): stable
            
            Installed ioBroker-Instances
            Used repository: stable
            Adapter    "adguard"      : 0.0.8    , installed 0.0.8
            Adapter    "admin"        : 6.12.0   , installed 6.12.0
            Adapter    "alarm"        : 3.4.3    , installed 3.4.3
            Adapter    "alexa2"       : 3.26.3   , installed 3.26.3
            Adapter    "backitup"     : 2.8.7    , installed 2.8.7
            Adapter    "bidirectional-counter": 2.1.3, installed 2.1.3
            Adapter    "device-reminder": 3.0.0  , installed 3.0.0
            Adapter    "device-watcher": 2.9.6   , installed 2.9.6
            Adapter    "discovery"    : 4.2.0    , installed 4.2.0
            Adapter    "ems-esp"      : 2.6.1    , installed 2.6.1
            Adapter    "evcc"         : 0.0.10   , installed 0.0.10
            Adapter    "followthesun" : 0.4.2    , installed 0.4.2
            Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
            Adapter    "history"      : 3.0.1    , installed 3.0.1
            Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
            Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
            Adapter    "hue"          : 3.10.1   , installed 3.10.1
            Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
            Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
            Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
            Adapter    "javascript"   : 7.1.6    , installed 7.1.6
            Controller "js-controller": 5.0.16   , installed 5.0.16
            Adapter    "material"     : 1.3.1    , installed 1.3.1
            Adapter    "modbus"       : 5.0.11   , installed 5.0.11
            Adapter    "mqtt"         : 5.1.0    , installed 5.1.0
            Adapter    "sayit"        : 3.0.5    , installed 3.0.5
            Adapter    "shuttercontrol": 1.6.3   , installed 1.6.3
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "socketio"     : 6.6.0    , installed 6.6.0
            Adapter    "telegram"     : 2.0.1    , installed 2.0.1
            Adapter    "text2command" : 3.0.2    , installed 3.0.2
            Adapter    "weatherunderground": 3.6.0, installed 3.6.0
            Adapter    "web"          : 6.1.10   , installed 6.1.10
            Adapter    "ws"           : 2.5.8    , installed 2.5.8
            Adapter    "zigbee"       : 1.8.24   , installed 1.8.24
            Adapter    "zigbee2mqtt"  : 2.13.3   , installed 2.13.3
            Adapter    "zwave2"       : 3.1.0    , installed 3.1.0
            
            Objects and States
            Please stand by - This may take a while
            Objects:        11689
            States:         11035
            
            *** OS-Repositories and Updates ***
            Hit:1 http://deb.debian.org/debian bookworm InRelease
            Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
            Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
            Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
            Reading package lists...
            Pending Updates: 4
            
            *** Listening Ports ***
            Active Internet connections (only servers)
            Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
            tcp        0      0 172.18.2.2:2001         0.0.0.0:*               LISTEN      1010       213371     -
            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1010       187168     -
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1010       186319     -
            tcp        0      0 127.0.0.11:36745        0.0.0.0:*               LISTEN      0          180394     -
            tcp6       0      0 :::8081                 :::*                    LISTEN      1010       188396     -
            tcp6       0      0 :::8082                 :::*                    LISTEN      1010       223772     -
            udp        0      0 127.0.0.11:47351        0.0.0.0:*                           0          180393     -
            
            *** Log File - Last 25 Lines ***
            
            2023-12-01 21:00:50.778  - error: host.iobroker Caught by controller[0]:  3: 0xd3de10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
            2023-12-01 21:00:50.778  - error: host.iobroker Caught by controller[0]:  4: 0xd3dfe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
            2023-12-01 21:00:50.778  - error: host.iobroker Caught by controller[0]:  5: 0xf1c5d4  [io.javascript.0]
            2023-12-01 21:00:50.778  - error: host.iobroker Caught by controller[0]:  6: 0xf2e56c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[1]:  7: 0xf0a6f0 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[2]:  8: 0xf0b6c8 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[2]:  9: 0xeed87c v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[2]: 10: 0xee4af4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[3]: 11: 0xee71e0 v8::internal::FactoryBase<v8::internal::Factory>::NewDescriptorArray(int, int, v8::internal::AllocationType) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[4]: 12: 0x116b6e8 v8::internal::DescriptorArray::CopyUpTo(v8::internal::Isolate*, v8::internal::Handle<v8::internal::DescriptorArray>, int, int) [io.javascript.0]
            2023-12-01 21:00:50.779  - error: host.iobroker Caught by controller[5]: 13: 0x11534e0 v8::internal::Map::EnsureDescriptorSlack(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, int) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[6]: 14: 0x1156a4c v8::internal::Map::ShareDescriptor(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Descriptor*) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[7]: 15: 0x11570a4 v8::internal::Map::CopyWithField(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::FieldType>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[8]: 16: 0x1158e2c v8::internal::Map::TransitionToDataProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::StoreOrigin) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[9]: 17: 0x1146b38 v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::StoreOrigin) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[10]: 18: 0x1165080 v8::internal::Object::TransitionAndWriteDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[11]: 19: 0x117ffa8 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin, v8::internal::EnforceDefineSemantics) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[12]: 20: 0x1112adc v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::JSObject::AccessorInfoHandling, v8::internal::EnforceDefineSemantics, v8::internal::StoreOrigin) [io.javascript.0]
            2023-12-01 21:00:50.780  - error: host.iobroker Caught by controller[13]: 21: 0x1112b3c v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::JSObject::AccessorInfoHandling, v8::internal::EnforceDefineSemantics) [io.javascript.0]
            2023-12-01 21:00:50.781  - error: host.iobroker Caught by controller[14]: 22: 0x101af84 v8::internal::JsonParser<unsigned short>::BuildJsonObject(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::JsonProperty, 16ul, std::allocator<v8::internal::JsonProperty> > const&, v8::internal::Handle<v8::internal::Map>) [io.javascript.0]
            2023-12-01 21:00:50.781  - error: host.iobroker Caught by controller[14]: 23: 0x101bd88 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
            2023-12-01 21:00:50.781  - error: host.iobroker Caught by controller[15]: 24: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
            2023-12-01 21:00:50.781  - error: host.iobroker Caught by controller[16]: 25: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
            2023-12-01 21:00:50.781  - error: host.iobroker Caught by controller[17]: 26: 0x167960c  [io.javascript.0]
            2023-12-01 21:00:50.781  - warn: host.iobroker instance system.adapter.javascript.0 terminated due to SIGABRT
            
            ======================= SUMMARY =======================
                                    v.2023-10-10
            
            
            Model           : Raspberry Pi 4 Model B Rev 1.2
            Kernel          : aarch64
            Userland        : arm64
            Docker          : v9.0.1
            
            Installation:           Docker
            Kernel:                 aarch64
            Userland:               arm64
            Timezone:               Etc/UTC
            User-ID:                0
            X-Server:               false
            
            
            Pending OS-Updates:     4
            Pending iob updates:    0
            
            Nodejs-Installation:    /usr/bin/nodejs         v18.18.2
                                    /usr/bin/node           v18.18.2
                                    /usr/bin/npm            9.8.1
                                    /usr/bin/npx            9.8.1
                                    /usr/bin/corepack       0.19.0
            
            Recommended versions are nodejs  and npm
            Your nodejs installation is correct
            
            MEMORY:
                           total        used        free      shared  buff/cache   available
            Mem:            4.0G        2.6G        351M         31M        1.3G        1.4G
            Swap:           104M        102M        2.5M
            Total:          4.1G        2.7G        353M
            
            Active iob-Instances:   17
            Active repo(s): stable
            
            ioBroker Core:          js-controller           5.0.16
                                    admin                   6.12.0
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
            
            Objects:                11689
            States:                 11035
            
            Size of iob-Database:
            
            23M     /opt/iobroker/iobroker-data/objects.jsonl
            21M     /opt/iobroker/iobroker-data/states.jsonl
            
            
            
            =================== END OF SUMMARY ====================
            
            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @smhrambo last edited by

              @smhrambo sagte: JS aktivieren
              Das Problem bleibt.

              Obwohl kein Skript aktiviert ist?

              S 1 Reply Last reply Reply Quote 0
              • S
                smhrambo @paul53 last edited by

                @paul53 Ja genau.

                Ich habe in JS jeden Skript deaktiviert(Überall ist das rote Play-Zeichen).
                Dann habe ich JS deaktiviert.
                Dann habe ich noch Backitup deaktiviert.
                Dann ioBroker neu gestartet.
                Und JS wieder aktiviert.

                Problem bleibt und Log füllt sich mit der folgender Fehlermeldung:

                host.iobroker
                	2023-12-01 22:10:43.156	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                host.iobroker
                	2023-12-01 22:10:43.156	error	Caught by controller[23]: 26: 0x167960c [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[22]: 25: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[21]: 24: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[20]: 23: 0x101bd88 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[19]: 22: 0x101af84 v8::internal::JsonParser<unsigned short>::BuildJsonObject(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::JsonProperty, 16ul, std::allocator<v8::internal::JsonProperty> > const&, v8::internal::Handle<v8::internal::Map>) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[18]: 21: 0x1112b3c v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::JSObject::AccessorInfoHandling, v8::internal::EnforceDefineSemantics) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[17]: 20: 0x1112adc v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::JSObject::AccessorInfoHandling, v8::internal::EnforceDefineSemantics, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[16]: 19: 0x117ffa8 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin, v8::internal::EnforceDefineSemantics) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.155	error	Caught by controller[15]: 18: 0x1165080 v8::internal::Object::TransitionAndWriteDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[14]: 17: 0x1146b38 v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[13]: 16: 0x1158e2c v8::internal::Map::TransitionToDataProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[12]: 15: 0x11570a4 v8::internal::Map::CopyWithField(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::FieldType>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[11]: 14: 0x1156a4c v8::internal::Map::ShareDescriptor(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Descriptor*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[10]: 13: 0x11534e0 v8::internal::Map::EnsureDescriptorSlack(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, int) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[9]: 12: 0x116b6e8 v8::internal::DescriptorArray::CopyUpTo(v8::internal::Isolate*, v8::internal::Handle<v8::internal::DescriptorArray>, int, int) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[8]: 11: 0xee71e0 v8::internal::FactoryBase<v8::internal::Factory>::NewDescriptorArray(int, int, v8::internal::AllocationType) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.154	error	Caught by controller[7]: 10: 0xee4af4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[6]: 9: 0xeed87c v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[5]: 8: 0xf0b6c8 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[4]: 7: 0xf0a6f0 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[3]: 6: 0xf2e56c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[3]: 5: 0xf1c5d4 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[3]: 4: 0xd3dfe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[3]: 3: 0xd3de10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.153	error	Caught by controller[3]: 2: 0xa93f08 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.152	error	Caught by controller[2]: 1: 0xb72e9c node::Abort() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:10:43.152	error	Caught by controller[1]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                host.iobroker
                	2023-12-01 22:10:43.152	error	Caught by controller[0]: <--- JS stacktrace --->
                host.iobroker
                	2023-12-01 22:10:43.152	error	Caught by controller[0]: of marking 95 ms) (average mu = 0.822, current mu = 0.892) finalize incremental [925:0xf6423d0] 11189 ms: Mark-sweep 61.1 (99.5) -> 59.2 (96.3) MB, 22.5 / 0.0 ms (+ 1.9 ms in 10 steps since start of marking, biggest step 0.4 ms, walltime since start of marking 129 ms) (average mu = 0.924, current mu = 0.967) finalize incremental [925:0xf6423d0] 11585 ms: Mark-sweep 82.2 (103.0) -> 79.8 (118.3) MB, 107.2 / 0.0 ms (average mu = 0.841, current mu = 0.730) allocation failure; scavenge might not succeed
                host.iobroker
                	2023-12-01 22:10:43.151	error	Caught by controller[0]: <--- Last few GCs --->
                host.iobroker
                	2023-12-01 22:09:56.365	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                host.iobroker
                	2023-12-01 22:09:56.365	error	Caught by controller[12]: 16: 0x167960c [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[11]: 15: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[10]: 14: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[9]: 13: 0x101b648 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[8]: 12: 0x101a0e8 v8::internal::JsonParser<unsigned short>::MakeString(v8::internal::JsonString const&, v8::internal::Handle<v8::internal::String>) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[7]: 11: 0xee6e84 v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[6]: 10: 0xee4af4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[5]: 9: 0xeed87c v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.364	error	Caught by controller[4]: 8: 0xf0b6c8 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[3]: 7: 0xf0a6f0 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[2]: 6: 0xf2e56c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[1]: 5: 0xf1c5d4 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[0]: 4: 0xd3dfe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[0]: 3: 0xd3de10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[0]: 2: 0xa93f08 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[0]: 1: 0xb72e9c node::Abort() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:56.363	error	Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                host.iobroker
                	2023-12-01 22:09:56.362	error	Caught by controller[0]: <--- JS stacktrace --->
                host.iobroker
                	2023-12-01 22:09:56.362	error	Caught by controller[0]: of marking 97 ms) (average mu = 0.849, current mu = 0.918) finalize incrementa[860:0x2f7203d0] 11393 ms: Mark-sweep 61.5 (97.6) -> 61.3 (99.6) MB, 36.2 / 0.0 ms (+ 23.0 ms in 36 steps since start of marking, biggest step 5.9 ms, walltime since start of marking 99 ms) (average mu = 0.814, current mu = 0.769) finalize incremental[860:0x2f7203d0] 11859 ms: Mark-sweep 84.7 (106.5) -> 81.8 (120.0) MB, 130.8 / 0.0 ms (average mu = 0.756, current mu = 0.719) allocation failure; scavenge might not succeed
                host.iobroker
                	2023-12-01 22:09:56.361	error	Caught by controller[0]: <--- Last few GCs --->
                host.iobroker
                	2023-12-01 22:09:10.024	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                host.iobroker
                	2023-12-01 22:09:10.024	error	Caught by controller[5]: 16: 0x167960c [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.024	error	Caught by controller[4]: 15: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.024	error	Caught by controller[3]: 14: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.024	error	Caught by controller[3]: 13: 0x101b648 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.024	error	Caught by controller[3]: 12: 0x101a0e8 v8::internal::JsonParser<unsigned short>::MakeString(v8::internal::JsonString const&, v8::internal::Handle<v8::internal::String>) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.023	error	Caught by controller[3]: 11: 0xee6e84 v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.023	error	Caught by controller[3]: 10: 0xee4af4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.023	error	Caught by controller[2]: 9: 0xeed87c v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.023	error	Caught by controller[2]: 8: 0xf0b6c8 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.022	error	Caught by controller[1]: 7: 0xf0a6f0 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.022	error	Caught by controller[0]: 6: 0xf2e56c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.022	error	Caught by controller[0]: 5: 0xf1c5d4 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.022	error	Caught by controller[0]: 4: 0xd3dfe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.021	error	Caught by controller[0]: 3: 0xd3de10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.021	error	Caught by controller[0]: 2: 0xa93f08 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.021	error	Caught by controller[0]: 1: 0xb72e9c node::Abort() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:09:10.021	error	Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                host.iobroker
                	2023-12-01 22:09:10.020	error	Caught by controller[0]: <--- JS stacktrace --->
                host.iobroker
                	2023-12-01 22:09:10.020	error	Caught by controller[0]: of marking 94 ms) (average mu = 0.744, current mu = 0.452) finalize incrementa[809:0x2387f3d0] 10322 ms: Mark-sweep 59.3 (94.6) -> 59.2 (95.8) MB, 22.6 / 0.0 ms (+ 2.0 ms in 10 steps since start of marking, biggest step 0.4 ms, walltime since start of marking 136 ms) (average mu = 0.893, current mu = 0.953) finalize incremental[809:0x2387f3d0] 10693 ms: Mark-sweep 82.2 (102.5) -> 79.8 (118.0) MB, 103.0 / 0.0 ms (average mu = 0.807, current mu = 0.722) allocation failure; scavenge might not succeed
                host.iobroker
                	2023-12-01 22:09:10.019	error	Caught by controller[0]: <--- Last few GCs --->
                host.iobroker
                	2023-12-01 22:08:24.219	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                host.iobroker
                	2023-12-01 22:08:24.219	error	Caught by controller[22]: 26: 0x167960c [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[21]: 25: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[21]: 24: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[20]: 23: 0x101bd88 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[20]: 22: 0x101af84 v8::internal::JsonParser<unsigned short>::BuildJsonObject(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::JsonProperty, 16ul, std::allocator<v8::internal::JsonProperty> > const&, v8::internal::Handle<v8::internal::Map>) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[19]: 21: 0x1112b3c v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::JSObject::AccessorInfoHandling, v8::internal::EnforceDefineSemantics) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[18]: 20: 0x1112adc v8::internal::JSObject::DefineOwnPropertyIgnoreAttributes(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::JSObject::AccessorInfoHandling, v8::internal::EnforceDefineSemantics, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.218	error	Caught by controller[17]: 19: 0x117ffa8 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin, v8::internal::EnforceDefineSemantics) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.217	error	Caught by controller[16]: 18: 0x1165080 v8::internal::Object::TransitionAndWriteDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.217	error	Caught by controller[15]: 17: 0x1146b38 v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.217	error	Caught by controller[14]: 16: 0x1158e2c v8::internal::Map::TransitionToDataProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::StoreOrigin) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[13]: 15: 0x11570a4 v8::internal::Map::CopyWithField(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::FieldType>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[12]: 14: 0x1156a4c v8::internal::Map::ShareDescriptor(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Descriptor*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[11]: 13: 0x11534e0 v8::internal::Map::EnsureDescriptorSlack(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, int) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[10]: 12: 0x116b6e8 v8::internal::DescriptorArray::CopyUpTo(v8::internal::Isolate*, v8::internal::Handle<v8::internal::DescriptorArray>, int, int) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[9]: 11: 0xee71e0 v8::internal::FactoryBase<v8::internal::Factory>::NewDescriptorArray(int, int, v8::internal::AllocationType) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[8]: 10: 0xee4af4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.216	error	Caught by controller[7]: 9: 0xeed87c v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[6]: 8: 0xf0b6c8 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[5]: 7: 0xf0a6f0 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[4]: 6: 0xf2e56c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[3]: 5: 0xf1c5d4 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[2]: 4: 0xd3dfe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[1]: 3: 0xd3de10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.215	error	Caught by controller[1]: 2: 0xa93f08 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.214	error	Caught by controller[1]: 1: 0xb72e9c node::Abort() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:08:24.214	error	Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                host.iobroker
                	2023-12-01 22:08:24.214	error	Caught by controller[0]: <--- JS stacktrace --->
                host.iobroker
                	2023-12-01 22:08:24.214	error	Caught by controller[0]: of marking 150 ms) (average mu = 0.945, current mu = 0.975) finalize increment[756:0x2e07a3d0] 11730 ms: Mark-sweep 59.5 (99.8) -> 59.0 (96.8) MB, 14.0 / 0.0 ms (+ 16.8 ms in 61 steps since start of marking, biggest step 0.8 ms, walltime since start of marking 98 ms) (average mu = 0.921, current mu = 0.750) finalize incremental[756:0x2e07a3d0] 12212 ms: Mark-sweep 81.9 (103.5) -> 79.7 (119.0) MB, 132.9 / 0.0 ms (average mu = 0.823, current mu = 0.724) allocation failure; scavenge might not succeed
                host.iobroker
                	2023-12-01 22:08:24.213	error	Caught by controller[0]: <--- Last few GCs --->
                host.iobroker
                	2023-12-01 22:07:36.113	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                host.iobroker
                	2023-12-01 22:07:36.113	error	Caught by controller[2]: 16: 0x167960c [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.113	error	Caught by controller[2]: 15: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.112	error	Caught by controller[2]: 14: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.112	error	Caught by controller[2]: 13: 0x101b648 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.112	error	Caught by controller[2]: 12: 0x101a0e8 v8::internal::JsonParser<unsigned short>::MakeString(v8::internal::JsonString const&, v8::internal::Handle<v8::internal::String>) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.112	error	Caught by controller[2]: 11: 0xee6e84 v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.111	error	Caught by controller[1]: 10: 0xee4af4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.111	error	Caught by controller[1]: 9: 0xeed87c v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.110	error	Caught by controller[0]: 8: 0xf0b6c8 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.110	error	Caught by controller[0]: 7: 0xf0a6f0 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.109	error	Caught by controller[0]: 6: 0xf2e56c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.109	error	Caught by controller[0]: 5: 0xf1c5d4 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.108	error	Caught by controller[0]: 4: 0xd3dfe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.108	error	Caught by controller[0]: 3: 0xd3de10 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.108	error	Caught by controller[0]: 2: 0xa93f08 [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.107	error	Caught by controller[0]: 1: 0xb72e9c node::Abort() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:07:36.106	error	Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                host.iobroker
                	2023-12-01 22:07:36.106	error	Caught by controller[0]: <--- JS stacktrace --->
                host.iobroker
                	2023-12-01 22:07:36.105	error	Caught by controller[0]: of marking 68 ms) (average mu = 0.876, current mu = 0.621) finalize incremental[705:0xc63c3d0] 11027 ms: Mark-sweep 59.6 (94.6) -> 59.3 (95.1) MB, 23.2 / 0.0 ms (+ 2.2 ms in 10 steps since start of marking, biggest step 0.5 ms, walltime since start of marking 109 ms) (average mu = 0.909, current mu = 0.946) finalize incremental [705:0xc63c3d0] 11503 ms: Mark-sweep 82.4 (101.8) -> 79.9 (117.3) MB, 128.4 / 0.0 ms (average mu = 0.823, current mu = 0.730) allocation failure; scavenge might not succeed
                host.iobroker
                	2023-12-01 22:07:36.101	error	Caught by controller[0]: <--- Last few GCs --->
                host.iobroker
                	2023-12-01 22:06:49.468	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                host.iobroker
                	2023-12-01 22:06:49.468	error	Caught by controller[19]: 25: 0xdc93f8 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                host.iobroker
                	2023-12-01 22:06:49.467	error	Caught by controller[18]: 24: 0x101c2c8 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                host.iobroker
                	2023-12-01 22:06:49.468	error	Caught by controller[20]: 26: 0x167960c [io.javascript.0]
                host.iobroker
                	2023-12-01 22:06:49.467	error	Caught by controller[17]: 23: 0x101bd88 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                
                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @smhrambo last edited by paul53

                  @smhrambo sagte: Problem bleibt

                  Dann ist wohl etwas bei der Installation / beim Update des JS-Adapters schief gegangen?

                  1 Reply Last reply Reply Quote 0
                  • S
                    smhrambo last edited by

                    Ich weiss zwar das es etwas offtopic ist, aber ich habe iobroker entfernt und alle Daten gelöscht.
                    Danach habe ich iobroker neu heruntergeladen und gestartet.
                    Neustart ging ohne Probleme, ich habe die Ersteinrichtung gemacht und danach ein Backup wiederhergestellt.

                    Jetzt passiert gar nichts, ich komme nicht ins Admin-Interface.

                    Logs sagen folgendes:

                    Starting ioBroker...
                    
                    ##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
                    host.iobroker check instance "system.adapter.admin.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.history.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.influxdb.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.influxdb.1" for host "iobroker"
                    host.iobroker check instance "system.adapter.javascript.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.telegram.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.alexa2.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.hm-rega.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.hm-rpc.1" for host "iobroker"
                    host.iobroker check instance "system.adapter.hue.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.modbus.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.mqtt.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.weatherunderground.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.weatherunderground.1" for host "iobroker"
                    host.iobroker check instance "system.adapter.zigbee.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.discovery.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.backitup.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.adguard.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.alarm.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.bidirectional-counter.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.device-reminder.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.device-watcher.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.ems-esp.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.evcc.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.followthesun.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.habpanel.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.iqontrol.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.jarvis.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.material.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.sayit.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.shuttercontrol.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.text2command.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.web.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.zigbee2mqtt.0" for host "iobroker"
                    host.iobroker check instance "system.adapter.zwave2.0" for host "iobroker"
                    Send diag info: {"uuid":"9ac691bb-cf3c-4fbd-9aa3-1466429d7467","language":"en","country":"Germany","hosts":[{"version":"5.0.16","platform":"Javascript/Node.js","type":"linux"}],"node":"v18.19.0","arch":"arm64","docker":true,"adapters":{"admin":{"version":"6.12.0","platform":"Javascript/Node.js"},"discovery":{"version":"4.2.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.8.7","platform":"Javascript/Node.js"},"adguard":{"version":"0.0.8","platform":"Javascript/Node.js"},"alarm":{"version":"3.4.3","platform":"Javascript/Node.js"},"alexa2":{"version":"3.26.3","platform":"Javascript/Node.js"},"bidirectional-counter":{"version":"2.1.3","platform":"Javascript/Node.js"},"bshb":{"version":"0.1.20","platform":"Javascript/Node.js"},"device-reminder":{"version":"3.0.0","platform":"Javascript/Node.js"},"device-watcher":{"version":"2.9.6","platform":"Javascript/Node.js"},"ems-esp":{"version":"2.6.1","platform":"Javascript/Node.js"},"evcc":{"version":"0.0.10","platform":"Javascript/Node.js"},"followthesun":{"version":"0.4.2","platform":"Javascript/Node.js"},"habpanel":{"version":"0.5.0","platform":"Javascript/Node.js"},"history":{"version":"3.0.1","platform":"Javascript/Node.js"},"hm-rega":{"version":"4.0.0","platform":"Javascript/Node.js"},"hm-rpc":{"version":"1.15.19","platform":"Javascript/Node.js"},"hue":{"version":"3.10.1","platform":"Javascript/Node.js"},"influxdb":{"version":"3.2.0","platform":"Javascript/Node.js"},"iqontrol":{"version":"2.3.0","platform":"Javascript/Node.js"},"jarvis":{"version":"3.1.8","platform":"Javascript/Node.js"},"javascript":{"version":"7.1.6","platform":"Javascript/Node.js"},"material":{"version":"1.3.1","platform":"Javascript/Node.js"},"modbus":{"version":"5.0.11","platform":"Javascript/Node.js"},"mqtt":{"version":"5.1.0","platform":"Javascript/Node.js"},"sayit":{"version":"3.0.5","platform":"Javascript/Node.js"},"shuttercontrol":{"version":"1.6.3","platform":"Javascript/Node.js"},"snips":{"version":"1.5.1","platform":"Javascript/Node.js"},"socketio":{"version":"6.6.0","platform":"Javascript/Node.js"},"telegram":{"version":"2.0.1","platform":"Javascript/Node.js"},"text2command":{"version":"3.0.2","platform":"Javascript/Node.js"},"weatherunderground":{"version":"3.6.0","platform":"Javascript/Node.js"},"web":{"version":"6.1.10","platform":"Javascript/Node.js"},"ws":{"version":"2.5.8","platform":"Javascript/Node.js"},"zigbee":{"version":"1.8.24","platform":"Javascript/Node.js"},"zigbee2mqtt":{"version":"2.13.3","platform":"Javascript/Node.js"},"zwave2":{"version":"3.1.0","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":35,"compactMode":true,"noCompactInstances":1,"model":"Cortex-A72","cpus":4,"mem":4030959616,"ostype":"Linux","city":"Hamburg"}
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @smhrambo last edited by

                      @smhrambo

                      Und was sagt

                      iob diag
                      

                      dazu?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        smhrambo @Thomas Braun last edited by

                        @thomas-braun said in JS-Adapter startet ständig neu: heap out of memory:

                        iob diag

                        Sorry hat sich nach einem Neustart des Pis erledigt.

                        Aber der JS Fehler ist immer noch da.
                        Es laufen nach der Neuinstallation nur folgende Adapter:

                        • admin.0
                        • backitup.0
                        • javascript.0

                        Die Skripte sind weiterhin deaktiviert.

                        iob diag:

                        Skript v.2023-10-10
                        
                        *** BASE SYSTEM ***
                        cat: /sys/devices/virtual/dmi/id/sys_vendor: No such file or directory
                        Hardware Vendor :
                        Kernel          : aarch64
                        Userland        : arm64
                        Docker          : v9.0.1
                        Virtualization  : Docker
                        Kernel          : aarch64
                        Userland        : arm64
                        
                        Systemuptime and Load:
                         00:42:10 up  8:22,  0 user,  load average: 1.45, 1.26, 1.15
                        CPU threads: 4
                        
                        
                        *** Time and Time Zones ***
                        Fri Dec  1 23:42:10 UTC 2023
                        Sat Dec  2 00:42:10 CET 2023
                        CET +0100
                        Etc/UTC
                        
                        *** User and Groups ***
                        root
                        /root
                        root
                        
                        *** X-Server-Setup ***
                        X-Server:       false
                        Desktop:
                        Terminal:
                        
                        
                        *** MEMORY ***
                                       total        used        free      shared  buff/cache   available
                        Mem:            4.0G        1.8G        418M         43M        2.0G        2.3G
                        Swap:           104M        104M        196K
                        Total:          4.1G        1.9G        418M
                        
                                 3844 M total memory
                                 1695 M used memory
                                 1742 M active memory
                                 1288 M inactive memory
                                  398 M free memory
                                  114 M buffer memory
                                 1768 M swap cache
                                   99 M total swap
                                   99 M used swap
                                    0 M free swap
                        
                        *** FILESYSTEM ***
                        Filesystem     Type     Size  Used Avail Use% Mounted on
                        overlay        overlay  367G  120G  233G  35% /
                        tmpfs          tmpfs     64M     0   64M   0% /dev
                        shm            tmpfs     64M     0   64M   0% /dev/shm
                        /dev/root      ext4     367G  120G  233G  35% /opt/iobroker
                        tmpfs          tmpfs    1.9G     0  1.9G   0% /proc/asound
                        tmpfs          tmpfs    1.9G     0  1.9G   0% /sys/firmware
                        
                        Messages concerning ext4 filesystem in dmesg:
                        dmesg: read kernel buffer failed: Operation not permitted
                        
                        Show mounted filesystems \(real ones only\):
                        TARGET                      SOURCE                                                                                                             FSTYPE OPTIONS
                        /usr/share/zoneinfo/Etc/UTC /dev/root[/usr/share/zoneinfo/Europe/Berlin]                                                                       ext4   ro,noatime
                        /opt/iobroker               /dev/root[/docker/iobroker_stack/app/data]                                                                         ext4   rw,noatime
                        /etc/resolv.conf            /dev/root[/var/lib/docker/containers/dbae87321dd4fe0d2db919b36c1a52a9c4066f5d25c9c11ad75bfc291fdafb0f/resolv.conf] ext4   rw,noatime
                        /etc/hostname               /dev/root[/var/lib/docker/containers/dbae87321dd4fe0d2db919b36c1a52a9c4066f5d25c9c11ad75bfc291fdafb0f/hostname]    ext4   rw,noatime
                        /etc/hosts                  /dev/root[/var/lib/docker/containers/dbae87321dd4fe0d2db919b36c1a52a9c4066f5d25c9c11ad75bfc291fdafb0f/hosts]       ext4   rw,noatime
                        
                        Files in neuralgic directories:
                        
                        /var:
                        34M     /var/
                        31M     /var/lib
                        19M     /var/lib/apt/lists
                        19M     /var/lib/apt
                        13M     /var/lib/dpkg
                        
                        
                        
                        /opt/iobroker/backups:
                        2.2M    /opt/iobroker/backups/
                        
                        /opt/iobroker/iobroker-data:
                        298M    /opt/iobroker/iobroker-data/
                        280M    /opt/iobroker/iobroker-data/files
                        67M     /opt/iobroker/iobroker-data/files/javascript.admin
                        55M     /opt/iobroker/iobroker-data/files/material
                        53M     /opt/iobroker/iobroker-data/files/material/static
                        
                        The five largest files in iobroker-data are:
                        41M     /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js.map
                        21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
                        18M     /opt/iobroker/iobroker-data/files/text2command.admin/static/js/main.274a4d8d.js.map
                        16M     /opt/iobroker/iobroker-data/objects.jsonl
                        9.9M    /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js
                        
                        USB-Devices by-id:
                        USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                        
                        find: '/dev/serial/by-id/': No such file or directory
                        
                        *** NodeJS-Installation ***
                        
                        /usr/bin/nodejs         v18.19.0
                        /usr/bin/node           v18.19.0
                        /usr/bin/npm            10.2.3
                        /usr/bin/npx            10.2.3
                        /usr/bin/corepack       0.22.0
                        
                        
                        nodejs:
                          Installed: 18.19.0-1nodesource1
                          Candidate: 18.19.0-1nodesource1
                          Version table:
                         *** 18.19.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                100 /var/lib/dpkg/status
                             18.18.2-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.18.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.18.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.17.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.17.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.16.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.16.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.15.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.14.2-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.14.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.14.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.13.0+dfsg1-1 500
                                500 http://deb.debian.org/debian bookworm/main arm64 Packages
                             18.13.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.12.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.11.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.10.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.9.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.9.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.8.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.7.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.6.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.5.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.4.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.3.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.2.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.1.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                             18.0.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                        
                        Temp directories causing npm8 problem: 0
                        No problems detected
                        
                        Errors in npm tree:
                        
                        *** ioBroker-Installation ***
                        
                        ioBroker Status
                        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Core adapters versions
                        js-controller:  5.0.16
                        admin:          6.12.0
                        javascript:     7.1.6
                        
                        Adapters from github:   0
                        
                        Adapter State
                          system.adapter.adguard.0                : adguard               : iobroker                                 - disabled, compact disabled
                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                          system.adapter.alarm.0                  : alarm                 : iobroker                                 - disabled, compact disabled
                          system.adapter.alexa2.0                 : alexa2                : iobroker                                 - disabled, compact disabled
                        + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled, compact disabled
                          system.adapter.bidirectional-counter.0  : bidirectional-counter : iobroker                                 - disabled, compact disabled
                          system.adapter.device-reminder.0        : device-reminder       : iobroker                                 - disabled, compact disabled
                          system.adapter.device-watcher.0         : device-watcher        : iobroker                                 - disabled, compact disabled
                          system.adapter.discovery.0              : discovery             : iobroker                                 - disabled, compact disabled
                          system.adapter.ems-esp.0                : ems-esp               : iobroker                                 - disabled, compact disabled
                          system.adapter.evcc.0                   : evcc                  : iobroker                                 - disabled, compact disabled, port: 7070
                          system.adapter.followthesun.0           : followthesun          : iobroker                                 - disabled, compact disabled
                          system.adapter.habpanel.0               : habpanel              : iobroker                                 - disabled
                          system.adapter.history.0                : history               : iobroker                                 - disabled, compact disabled
                          system.adapter.hm-rega.0                : hm-rega               : iobroker                                 - disabled, compact disabled
                          system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 - disabled, compact disabled, port: 0
                          system.adapter.hue.0                    : hue                   : iobroker                                 - disabled, compact disabled, port: 443
                          system.adapter.influxdb.0               : influxdb              : iobroker                                 - disabled, compact disabled, port: 8086
                          system.adapter.influxdb.1               : influxdb              : iobroker                                 - disabled, compact disabled, port: 8086
                          system.adapter.iqontrol.0               : iqontrol              : iobroker                                 - disabled, compact disabled
                          system.adapter.jarvis.0                 : jarvis                : iobroker                                 - disabled, compact disabled
                        + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled, compact disabled
                          system.adapter.material.0               : material              : iobroker                                 - disabled
                          system.adapter.modbus.0                 : modbus                : iobroker                                 - disabled, compact disabled
                          system.adapter.mqtt.0                   : mqtt                  : iobroker                                 - disabled, compact disabled, port: 1883, bind: 0.0.0.0
                          system.adapter.sayit.0                  : sayit                 : iobroker                                 - disabled, compact disabled, port: 0
                          system.adapter.shuttercontrol.0         : shuttercontrol        : iobroker                                 - disabled, compact disabled
                          system.adapter.telegram.0               : telegram              : iobroker                                 - disabled, compact disabled, port: 8443, bind: 0.0.0.0
                          system.adapter.text2command.0           : text2command          : iobroker                                 - disabled, compact disabled
                          system.adapter.weatherunderground.0     : weatherunderground    : iobroker                                 - disabled, compact disabled
                          system.adapter.weatherunderground.1     : weatherunderground    : iobroker                                 - disabled, compact disabled
                          system.adapter.web.0                    : web                   : iobroker                                 - disabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                          system.adapter.zigbee.0                 : zigbee                : iobroker                                 - disabled, compact disabled, port: /dev/ttyAMA0
                          system.adapter.zigbee2mqtt.0            : zigbee2mqtt           : iobroker                                 - disabled, compact disabled
                          system.adapter.zwave2.0                 : zwave2                : iobroker                                 - disabled, compact disabled
                        
                        + instance is alive
                        
                        Enabled adapters with bindings
                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                          system.adapter.web.0                    : web                   : iobroker                                 - disabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                        
                        ioBroker-Repositories
                        stable        : http://download.iobroker.net/sources-dist.json
                        beta          : http://download.iobroker.net/sources-dist-latest.json
                        
                        Active repo(s): stable
                        
                        Installed ioBroker-Instances
                        Used repository: stable
                        Adapter    "adguard"      : 0.0.8    , installed 0.0.8
                        Adapter    "admin"        : 6.12.0   , installed 6.12.0
                        Adapter    "alarm"        : 3.4.3    , installed 3.4.3
                        Adapter    "alexa2"       : 3.26.3   , installed 3.26.3
                        Adapter    "backitup"     : 2.8.7    , installed 2.8.7
                        Adapter    "bidirectional-counter": 2.1.3, installed 2.1.3
                        Adapter    "device-reminder": 3.0.0  , installed 3.0.0
                        Adapter    "device-watcher": 2.9.6   , installed 2.9.6
                        Adapter    "discovery"    : 4.2.0    , installed 4.2.0
                        Adapter    "ems-esp"      : 2.6.1    , installed 2.6.1
                        Adapter    "evcc"         : 0.0.10   , installed 0.0.10
                        Adapter    "followthesun" : 0.4.2    , installed 0.4.2
                        Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                        Adapter    "history"      : 3.0.1    , installed 3.0.1
                        Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
                        Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
                        Adapter    "hue"          : 3.10.1   , installed 3.10.1
                        Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                        Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
                        Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
                        Adapter    "javascript"   : 7.1.6    , installed 7.1.6
                        Controller "js-controller": 5.0.16   , installed 5.0.16
                        Adapter    "material"     : 1.3.1    , installed 1.3.1
                        Adapter    "modbus"       : 5.0.11   , installed 5.0.11
                        Adapter    "mqtt"         : 5.1.0    , installed 5.1.0
                        Adapter    "shuttercontrol": 1.6.3   , installed 1.6.3
                        Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                        Adapter    "socketio"     : 6.6.0    , installed 6.6.0
                        Adapter    "telegram"     : 2.0.1    , installed 2.0.1
                        Adapter    "text2command" : 3.0.2    , installed 3.0.2
                        Adapter    "weatherunderground": 3.6.0, installed 3.6.0
                        Adapter    "web"          : 6.1.10   , installed 6.1.10
                        Adapter    "ws"           : 2.5.8    , installed 2.5.8
                        Adapter    "zigbee"       : 1.8.24   , installed 1.8.24
                        Adapter    "zigbee2mqtt"  : 2.13.3   , installed 2.13.3
                        Adapter    "zwave2"       : 3.1.0    , installed 3.1.0
                        
                        Objects and States
                        Please stand by - This may take a while
                        Objects:        11697
                        States:         10875
                        
                        *** OS-Repositories and Updates ***
                        Hit:1 http://deb.debian.org/debian bookworm InRelease
                        Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
                        Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
                        Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
                        Reading package lists...
                        Pending Updates: 0
                        
                        *** Listening Ports ***
                        Active Internet connections (only servers)
                        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                        tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1010       834014     -
                        tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1010       834021     -
                        tcp        0      0 127.0.0.11:39871        0.0.0.0:*               LISTEN      0          833571     -
                        tcp6       0      0 :::8081                 :::*                    LISTEN      1010       835040     -
                        udp        0      0 127.0.0.11:44813        0.0.0.0:*                           0          833570     -
                        
                        *** Log File - Last 25 Lines ***
                        
                        2023-12-02 00:42:09.539  - error: host.iobroker Caught by controller[23]: 23: 0x101edb0 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                        2023-12-02 00:42:09.539  - error: host.iobroker Caught by controller[24]: 24: 0x101f2f0 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                        2023-12-02 00:42:09.539  - error: host.iobroker Caught by controller[25]: 25: 0xdcc460 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                        2023-12-02 00:42:09.539  - error: host.iobroker Caught by controller[26]: 26: 0x167c62c  [io.javascript.0]
                        2023-12-02 00:42:09.539  - warn: host.iobroker instance system.adapter.javascript.0 terminated due to SIGABRT
                        2023-12-02 00:42:56.132  - error: host.iobroker Caught by controller[0]: <--- Last few GCs --->
                        2023-12-02 00:42:56.134  - error: host.iobroker Caught by controller[0]:  of marking 163 ms) (average mu = 0.755, current mu = 0.754) finalize incremen[2987:0x1aa44870]    10656 ms: Mark-sweep 67.5 (97.7) -> 60.9 (101.0) MB, 41.9 / 0.0 ms  (+ 9.8 ms in 24 steps since start of marking, biggest step 3.0 ms, walltime since start of marking 165 ms) (average mu = 0.801, current mu = 0.843) finalize increment[2987:0x1aa44870]    11119 ms: Mark-sweep 84.3 (107.9) -> 81.5 (119.4) MB, 148.3 / 0.0 ms  (average mu = 0.728, current mu = 0.679) allocation failure; scavenge might not succeed
                        2023-12-02 00:42:56.135  - error: host.iobroker Caught by controller[0]: <--- JS stacktrace --->
                        2023-12-02 00:42:56.135  - error: host.iobroker Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                        2023-12-02 00:42:56.135  - error: host.iobroker Caught by controller[1]:  1: 0xb7f974 node::Abort() [io.javascript.0]
                        2023-12-02 00:42:56.136  - error: host.iobroker Caught by controller[2]:  2: 0xa97f08  [io.javascript.0]
                        2023-12-02 00:42:56.136  - error: host.iobroker Caught by controller[3]:  3: 0xd40e78 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                        2023-12-02 00:42:56.136  - error: host.iobroker Caught by controller[4]:  4: 0xd41048 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                        2023-12-02 00:42:56.136  - error: host.iobroker Caught by controller[5]:  5: 0xf1f5fc  [io.javascript.0]
                        2023-12-02 00:42:56.137  - error: host.iobroker Caught by controller[6]:  6: 0xf31594 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                        2023-12-02 00:42:56.137  - error: host.iobroker Caught by controller[7]:  7: 0xf0d718 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                        2023-12-02 00:42:56.137  - error: host.iobroker Caught by controller[8]:  8: 0xf0e6f0 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                        2023-12-02 00:42:56.137  - error: host.iobroker Caught by controller[9]:  9: 0xef0cc0 v8::internal::Factory::AllocateRawWithAllocationSite(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [io.javascript.0]
                        2023-12-02 00:42:56.137  - error: host.iobroker Caught by controller[10]: 10: 0xefb464 v8::internal::Factory::NewJSObjectFromMap(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [io.javascript.0]
                        2023-12-02 00:42:56.138  - error: host.iobroker Caught by controller[11]: 11: 0x101e04c v8::internal::JsonParser<unsigned short>::BuildJsonObject(v8::internal::JsonParser<unsigned short>::JsonContinuation const&, v8::base::SmallVector<v8::internal::JsonProperty, 16ul, std::allocator<v8::internal::JsonProperty> > const&, v8::internal::Handle<v8::internal::Map>) [io.javascript.0]
                        2023-12-02 00:42:56.138  - error: host.iobroker Caught by controller[12]: 12: 0x101edb0 v8::internal::JsonParser<unsigned short>::ParseJsonValue() [io.javascript.0]
                        2023-12-02 00:42:56.138  - error: host.iobroker Caught by controller[13]: 13: 0x101f2f0 v8::internal::JsonParser<unsigned short>::ParseJson() [io.javascript.0]
                        2023-12-02 00:42:56.138  - error: host.iobroker Caught by controller[14]: 14: 0xdcc460 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                        2023-12-02 00:42:56.138  - error: host.iobroker Caught by controller[15]: 15: 0x167c62c  [io.javascript.0]
                        2023-12-02 00:42:56.138  - warn: host.iobroker instance system.adapter.javascript.0 terminated due to SIGABRT
                        
                        
                        ======================= SUMMARY =======================
                                                v.2023-10-10
                        
                        
                        Model           : Raspberry Pi 4 Model B Rev 1.2
                        Kernel          : aarch64
                        Userland        : arm64
                        Docker          : v9.0.1
                        
                        Installation:           Docker
                        Kernel:                 aarch64
                        Userland:               arm64
                        Timezone:               Etc/UTC
                        User-ID:                0
                        X-Server:               false
                        
                        
                        Pending OS-Updates:     0
                        Pending iob updates:    0
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                                /usr/bin/node           v18.19.0
                                                /usr/bin/npm            10.2.3
                                                /usr/bin/npx            10.2.3
                                                /usr/bin/corepack       0.22.0
                        
                        Recommended versions are nodejs 18.19.0 and npm 10.2.3
                        Your nodejs installation is correct
                        
                        MEMORY:
                                       total        used        free      shared  buff/cache   available
                        Mem:            4.0G        1.8G        426M         43M        1.9G        2.2G
                        Swap:           104M        104M        196K
                        Total:          4.1G        2.0G        427M
                        
                        Active iob-Instances:   3
                        Active repo(s): stable
                        
                        ioBroker Core:          js-controller           5.0.16
                                                admin                   6.12.0
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Status admin and web instance:
                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                          system.adapter.web.0                    : web                   : iobroker                                 - disabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                        
                        Objects:                11697
                        States:                 10875
                        
                        Size of iob-Database:
                        
                        16M     /opt/iobroker/iobroker-data/objects.jsonl
                        3.2M    /opt/iobroker/iobroker-data/states.jsonl
                        
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        ======================= SUMMARY =======================
                                                v.2023-10-10
                        
                        
                        Model           : Raspberry Pi 4 Model B Rev 1.2
                        Kernel          : aarch64
                        Userland        : arm64
                        Docker          : v9.0.1
                        
                        Installation:           Docker
                        Kernel:                 aarch64
                        Userland:               arm64
                        Timezone:               Etc/UTC
                        User-ID:                0
                        X-Server:               false
                        
                        
                        Pending OS-Updates:     0
                        Pending iob updates:    0
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                                /usr/bin/node           v18.19.0
                                                /usr/bin/npm            10.2.3
                                                /usr/bin/npx            10.2.3
                                                /usr/bin/corepack       0.22.0
                        
                        Recommended versions are nodejs 18.19.0 and npm 10.2.3
                        Your nodejs installation is correct
                        
                        MEMORY:
                                       total        used        free      shared  buff/cache   available
                        Mem:            4.0G        1.8G        426M         43M        1.9G        2.2G
                        Swap:           104M        104M        196K
                        Total:          4.1G        2.0G        427M
                        
                        Active iob-Instances:   3
                        Active repo(s): stable
                        
                        ioBroker Core:          js-controller           5.0.16
                                                admin                   6.12.0
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Status admin and web instance:
                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                          system.adapter.web.0                    : web                   : iobroker                                 - disabled, compact enabled (group 1), port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                        
                        Objects:                11697
                        States:                 10875
                        
                        Size of iob-Database:
                        
                        16M     /opt/iobroker/iobroker-data/objects.jsonl
                        3.2M    /opt/iobroker/iobroker-data/states.jsonl
                        
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @smhrambo last edited by

                          @smhrambo

                          Docker auf einem Raspberry?
                          Ich muss hier weg...

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            smhrambo @Thomas Braun last edited by

                            @thomas-braun Das ganze hat Jahre lang wunderbar funktioniert.
                            Habe ich so selbst in der Industrie schon gesehen.
                            Sehr praktisch zum testen und bereitsellen von Software, ohne sich das System voll zu müllen, da man sie Software Restlos entfernen kann.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @smhrambo last edited by Thomas Braun

                              @smhrambo

                              Zum anschauen und testen von irgendwas ist das sinnvoll. Fur dauerhaften Betrieb ist es nur eine entbehrliche weitere Softwareschicht, die auch noch richtig unterhalten werden will.
                              Ist mir für den ioBroker nur ein unnötiger Ressourcenfresser.

                              Btw: Dir geht der für nodejs allokierte Arbeitsspeicher aus... 🙂

                              S 1 Reply Last reply Reply Quote -1
                              • S
                                smhrambo @Thomas Braun last edited by

                                @thomas-braun Es liegen 300MB freien RAM und 2GB an Verfügbaren RAM rum.

                                Wenn ich den Container ohne Backup starte und dann JS laufen lasse habe ich das Problem nicht.
                                Dann wird wohl docker nicht das Problem sein, sondern irgendwelche vorhandenen Daten oder ein Installationsprozess.
                                Die Frage ist nur warum dieser Fehler bei einer Neuinstallation + Backup wieder "eingebaut" wird.

                                Btw:
                                Viele vergleichen Docker beim Resourcenverbrauch gerne mit VM, habe ich früher auch gemacht. Ich musste aber feststellen, dass dies nicht der Fall ist und der Overhead realtiv gering ist, wenn man weiss wie man die Container aufzubauen hat.
                                One program per container.
                                Wenn man sich daran hält ist man "fast" auf der Ebene eines chroot mit einem netten Verwaltungs und Sicherheitsbonus.
                                Da iobroker mit seinen Adaptern recht Modular aufgebaut ist mag diese Philosophie hier nicht ganz zutreffen, aber das erklärt das oben beschriebene Verhalten trotzdem nicht.

                                Ro75 1 Reply Last reply Reply Quote 0
                                • Ro75
                                  Ro75 @smhrambo last edited by

                                  @smhrambo sagte in JS-Adapter startet ständig neu: heap out of memory:

                                  Die Frage ist nur warum dieser Fehler bei einer Neuinstallation + Backup wieder "eingebaut" wird.

                                  Nach einer Neuinstallation ohne Backup, ist da nicht viel los. Mit anderen Worten da wird nicht zu viel Speicher benötigt.

                                  Wenn das Backup drin ist, laufen ja wieder Adapter, Skripte,... und das braucht halt Speicher. Und mit jeder Weiterentwicklung von Adaptern gibt es mehr Funktionalität. An der Sicherheit wird auch gearbeitet - und das braucht halt mehr Speicher, als noch vor 5 Jahren.

                                  Aber das ist nicht nur beim ioBroker so. Gleiches Verhalten hast du auch bei Windows, Windows-Programmen und auch bi Linux. Früher war alles gefühlt schlanker, platzsparender und weniger speicherhungrig. Aber so ist nun mal der Lauf.

                                  Dir geht mit der Variante ioBroker im Docker einfach der Speicher auf deinem Raspi aus, auch bi einem 4GB Model. Ich hatte den ioBroker mehrere Jahre auf meinem Raspi (4GB) nornal, ohne Docker laufen mit mehr als 20 Adaptern, ohne Problem.

                                  Aus meiner Sicht:

                                  • wenn du weiterhin mit Docker arbeiten willst/musst dann brauchst du mehr RAM

                                  • RAM erweitern auf einem Raspi soll zwar gehen, mir aber zu kompliziert

                                  • neuer Raspi mit 8GB oder lieber gleich ein NUC

                                  Die 3 Punkte unter dem Gesichtspunkt, dass du mit Docker arbeiten willst. Alternativ verzichte auf Docker (zumindest ohne ioBroker, nur für andere Projekte).

                                  Ro75.

                                  S Marc Berg 2 Replies Last reply Reply Quote -1
                                  • S
                                    smhrambo @Ro75 last edited by

                                    @ro75 Im Log ist zu erkennen das nach dem Backup kein Adapter läuft und auch kein Skript.
                                    Das bedeutet auch das kein RAM benötigt wird.

                                    Nachmal, ALLE Adapter und Skripte sind nach dem Backup DEAKTIVIERT.

                                    Erst wenn ich nun den JS Adapter aktiviere und ich meine nur den JS Adapter, kommt der Fehler wieder.

                                    Wenn ich das Backup NICHT einspiele und selber ALLE Adapter installiere und aktiviere, kommt der Fehler nicht.

                                    Inzwischen laufen sogar wieder Sktipte ohne Fehlermeldung.

                                    Kein anderer Docker Container oder Prozess hat Probleme auf dem System.
                                    Besonders InfluxDB musste dann Fehler ohne Ende schmeißen.

                                    Ich glaube aber dem Fehler näher zu kommen.
                                    Wie kann man von allen Objekten den Raum und die Funktion aufeinmal entfernen, ohne das Objekt selber oder andere Einstellungen von den Objekten zu löschen?
                                    Ich möchte nicht meine Zeit damit verbringen alle Objekte wieder neu einzustellen bzgl. InfluxDB und co.
                                    Zudem denke ich das es auch im interesse der Community ist, wenn man der Ursache genau auf den Grund geht.

                                    Bzgl. der RAM verbrauchs:
                                    Ich bin Programmierer, ich habe bisher nur ein paar flüchtige Blicke in die Adapterprogrammierung geworfen. Trotzdem versteht ich nicht was dafür sorge, dass mein Weihnachtsscript (aus meinem ersten Post), den RAM Verbrauch vom JS Adapter um ca. 125MB steigen lässt. Da sind gerade mal 3 Integer Variablen, 6 Funktionsaufrufe und 3 Vergleiche drin.

                                    Ro75 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @smhrambo last edited by

                                      @smhrambo sagte in JS-Adapter startet ständig neu: heap out of memory:

                                      JavaScript heap out of memory

                                      soweit ich weiß bezieht sich das nicht (nur) auf den javascript Adapter, sondern auf alles was mit js läuft.

                                      S 1 Reply Last reply Reply Quote 1
                                      • Ro75
                                        Ro75 @smhrambo last edited by Ro75

                                        @smhrambo sagte in JS-Adapter startet ständig neu: heap out of memory:

                                        Ich bin Programmierer, ich habe bisher nur ein paar flüchtige Blicke in die Adapterprogrammierung geworfen. Trotzdem versteht ich nicht was dafür sorge, dass mein Weihnachtsscript (aus meinem ersten Post), den RAM Verbrauch vom JS Adapter um ca. 125MB steigen lässt. Da sind gerade mal 3 Integer Variablen, 6 Funktionsaufrufe und 3 Vergleiche drin

                                        Ich programmiere auch seit 20 Jahren - nur Windows, seit 2020 auch JS, dank ioBroker. Aber um zu schauen was bei dir ist, müsste man schon das vollständige Skript mal sehen.

                                        Ro75.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          smhrambo @Homoran last edited by

                                          @homoran said in JS-Adapter startet ständig neu: heap out of memory:

                                          soweit ich weiß bezieht sich das nicht (nur) auf den javascript Adapter, sondern auf alles was mit js läuft.

                                          Dann stellt sich nur immernoch die Frage warum nur der JS Adapter davon betroffen ist.
                                          Soweit ich weiss läuft das gesamte ioBroker-System auf javascript.

                                          Und dies nicht bei einer Neuinstallation der Fall ist, sondern nur beim wiederherstellen alter Daten.

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @smhrambo last edited by

                                            @smhrambo sagte in JS-Adapter startet ständig neu: heap out of memory:

                                            warum nur der JS Adapter davon betroffen ist.

                                            die Meldung kommt vom Controller!

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            788
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            55
                                            3113
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo