Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. RAM-Probleme und Abstürze nach Wechsel auf 64-Bit

    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

    RAM-Probleme und Abstürze nach Wechsel auf 64-Bit

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robson last edited by

      Hallo zusammen,

      ich habe vor einer Woche meine stabile ioBroker-Installation auf meinem Raspi 4B mit 2GB von 32 auf 64-Bit umgestellt (OS + Kernel).
      Da ich gerne InfluxDb 2 inkl. Grafana zum Laufen bringen wollte, war dieser Schritt leider notwendig.

      Leider scheint das System seitdem extremen Appetit auf RAM zu haben. Mit meinem 32-Bit System hatte ich immer ca. 500-700 MB RAM Reserve. Es kam nie zu Problemen oder Abstürzen.
      Mit Wechsel auf 64-Bit und Upgrade von InfluxDB v1.8 auf v2 wurde meine Speicherreserve deutlich kleiner, ca. ~100MB. Das System ist mir auf Grund zu wenig RAM mehrfach abgestürzt. Nachdem ich diverse Instanzen deaktiviert hatte und das System nun wirklich auf minimalstem Stand läuft, habe ich ca. 400-500 MB zur Verfügung. Nun ist mir der Raspi erneut abgestürzt.

      Hierzu habe ich ein paar Fragen an euch:

      • Kann es wirklich sein, dass der Umstieg auf 64-Bit so speicherintensiv ist?
      • Wie kann ich feststellen, ob sonstige speicherintensive Prozesse vielleicht noch im Hintergrund laufen? Als weitere Services habe ich Grafana und InfluxDB 2 installiert und aktiv.
      • Ein Umstieg auf einen 4GB Raspi ist aus Preisgründen aktuell eigentlich keine präferierte Lösung.

      Ich nutze admin 6.3.5 und habe aktuell 15 Instanzen laufen (mit 32-Bit waren es knapp 10 mehr).

      Ausgabe bei

      uname -a
      
      Linux iobroker-raspi4 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux
      

      Als OS habe ich Raspberry PI OS Lite (64-Bit) ausgewählt.

      Kennt jemand das Verhalten?

      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @robson last edited by

        @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

        auf meinem Raspi 4B mit 2GB von 32 auf 64-Bit umgestellt

        Was heißt 'umgestellt'?
        Das geht nur per vollständiger Neuinstallation des Betriebssystems.

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

          @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

          Mit Wechsel auf 64-Bit und Upgrade von InfluxDB v1.8 auf v2 wurde meine Speicherreserve deutlich kleiner, ca. ~100MB. Das System ist mir auf Grund zu wenig RAM mehrfach abgestürzt.

          @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

          Kann es wirklich sein, dass der Umstieg auf 64-Bit so speicherintensiv ist?

          Kann es nicht eher sein, dass influx2 mehr braucht?

          was sagt denn iob diag

          R 1 Reply Last reply Reply Quote 1
          • R
            robson @Thomas Braun last edited by

            @thomas-braun sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

            @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

            auf meinem Raspi 4B mit 2GB von 32 auf 64-Bit umgestellt

            Was heißt 'umgestellt'?
            Das geht nur per vollständiger Neuinstallation des Betriebssystems.

            Ja, korrekt. Ich habe das OS komplett neu installiert, den Kernel umgestellt. Danach iob installiert und ein Backup eingespielt. Das lief alles ohne Probleme.

            @homoran sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

            was sagt denn iob diag

            Den Befehl kannte ich bisher noch nicht. Danke allein dafür schon mal für die Info.
            Der Output sieht für mich sauber aus.

            Skript v.2023-01-02
            
            *** BASE SYSTEM ***
            Model           : Raspberry Pi 4 Model B Rev 1.1
            Architecture:   aarch64
            Docker:         false
            Virtualization: none
            Distributor ID: Debian
            Description:    Debian GNU/Linux 11 (bullseye)
            Release:        11
            Codename:       bullseye
            
            PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
            NAME="Debian GNU/Linux"
            VERSION_ID="11"
            VERSION="11 (bullseye)"
            VERSION_CODENAME=bullseye
            ID=debian
            HOME_URL="https://www.debian.org/"
            SUPPORT_URL="https://www.debian.org/support"
            BUG_REPORT_URL="https://bugs.debian.org/"
            
            Systemuptime and Load:
             18:09:14 up  2:33,  1 user,  load average: 0.28, 0.29, 0.28
            CPU threads: 4
            
            *** Time and Time Zones ***
            Sun Mar 26 16:09:14 UTC 2023
            Sun Mar 26 18:09:14 CEST 2023
            CEST +0200
            Europe/Berlin
            
            *** User and Groups ***
            pi
            /home/pi
            pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
            
            *** X-Server-Setup ***
            X-Server:       false
            Desktop:
            Terminal:       tty
            Boot Target:    multi-user.target
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            1.8G        1.2G        334M        0.0K        344M        611M
            Swap:            99M         82M         17M
            Total:          1.9G        1.2G        352M
            
                     1848 M total memory
                     1169 M used memory
                      598 M active memory
                      799 M inactive memory
                      334 M free memory
                       27 M buffer memory
                      317 M swap cache
                       99 M total swap
                       82 M used swap
                       17 M free swap
            
            *** FILESYSTEM ***
            Filesystem     Type      Size  Used Avail Use% Mounted on
            /dev/root      ext4      118G  4.4G  108G   4% /
            devtmpfs       devtmpfs  667M     0  667M   0% /dev
            tmpfs          tmpfs     925M     0  925M   0% /dev/shm
            tmpfs          tmpfs     370M  1.1M  369M   1% /run
            tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
            /dev/sda1      vfat      255M   31M  225M  13% /boot
            tmpfs          tmpfs     185M     0  185M   0% /run/user/1000
            
            Messages in dmesg:
            [Sun Mar 26 15:35:55 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=DC:A6:32:01:95:F1 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=de9a534b-02 rootfstype=ext4 fsck.repair=yes rootwait
            [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): INFO: recovery required on readonly filesystem
            [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): write access will be enabled during recovery
            [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): orphan cleanup on readonly fs
            [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): 2 orphan inodes deleted
            [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): recovery complete
            [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
            [Sun Mar 26 15:35:57 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
            [Sun Mar 26 15:35:58 2023] EXT4-fs (sda2): re-mounted. Quota mode: none.
            
            Show mounted filesystems (real ones only):
            TARGET  SOURCE    FSTYPE OPTIONS
            /       /dev/sda2 ext4   rw,noatime
            `-/boot /dev/sda1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
            
            Files in neuralgic directories:
            
            /var:
            1.1G    /var/
            576M    /var/lib
            427M    /var/lib/influxdb/engine
            427M    /var/lib/influxdb
            416M    /var/lib/influxdb/engine/data/f1bcc57727e1e3d1/autogen
            
            /opt/iobroker/backups:
            50M     /opt/iobroker/backups/
            4.0K    /opt/iobroker/backups/tmpScripts
            
            /opt/iobroker/iobroker-data:
            352M    /opt/iobroker/iobroker-data/
            243M    /opt/iobroker/iobroker-data/files
            73M     /opt/iobroker/iobroker-data/backup-objects
            51M     /opt/iobroker/iobroker-data/files/javascript.admin
            48M     /opt/iobroker/iobroker-data/files/telegram.admin
            
            The five largest files in iobroker-data are:
            33M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map
            24M     /opt/iobroker/iobroker-data/objects.jsonl
            19M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.904d455f.js.map
            15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
            14M     /opt/iobroker/iobroker-data/states.jsonl
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v16.19.1
            /usr/bin/node           v16.19.1
            /usr/bin/npm            8.19.3
            /usr/bin/npx            8.19.3
            
            nodejs:
              Installed: 16.19.1-deb-1nodesource1
              Candidate: 16.19.1-deb-1nodesource1
              Version table:
             *** 16.19.1-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                    100 /var/lib/dpkg/status
                 12.22.12~dfsg-1~deb11u3 500
                    500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                 12.22.5~dfsg-2~11u1 500
                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
            
            Temp directories causing npm8 problem: 0
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Core adapters versions
            js-controller:  4.0.24
            admin:          6.3.5
            javascript:     6.1.4
            
            Adapters from github:   0
            
            Adapter State
            + system.adapter.admin.0                  : admin                 : iobroker-raspi4                          -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            + system.adapter.alexa2.0                 : alexa2                : iobroker-raspi4                          -  enabled
            + system.adapter.backitup.0               : backitup              : iobroker-raspi4                          -  enabled
              system.adapter.cloud.0                  : cloud                 : iobroker-raspi4                          - disabled
              system.adapter.devices.0                : devices               : iobroker-raspi4                          - disabled
              system.adapter.discovery.0              : discovery             : iobroker-raspi4                          - disabled
              system.adapter.easee.0                  : easee                 : iobroker-raspi4                          - disabled
              system.adapter.flot.0                   : flot                  : iobroker-raspi4                          - disabled
              system.adapter.followthesun.0           : followthesun          : iobroker-raspi4                          - disabled
              system.adapter.fullybrowser.0           : fullybrowser          : iobroker-raspi4                          - disabled
              system.adapter.harmony.0                : harmony               : iobroker-raspi4                          - disabled
              system.adapter.heatingcontrol.0         : heatingcontrol        : iobroker-raspi4                          - disabled
              system.adapter.history.0                : history               : iobroker-raspi4                          - disabled
            + system.adapter.hm-rega.0                : hm-rega               : iobroker-raspi4                          -  enabled
            + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker-raspi4                          -  enabled, port: 12001
            + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker-raspi4                          -  enabled, port: 12010
              system.adapter.ical.0                   : ical                  : iobroker-raspi4                          - disabled
            + system.adapter.influxdb.0               : influxdb              : iobroker-raspi4                          -  enabled, port: 8086
              system.adapter.info.0                   : info                  : iobroker-raspi4                          - disabled
            + system.adapter.iot.0                    : iot                   : iobroker-raspi4                          -  enabled
              system.adapter.iot.1                    : iot                   : iobroker-raspi4                          - disabled
            + system.adapter.javascript.0             : javascript            : iobroker-raspi4                          -  enabled
              system.adapter.javascript.1             : javascript            : iobroker-raspi4                          - disabled
            + system.adapter.mqtt.0                   : mqtt                  : iobroker-raspi4                          -  enabled, port: 1884, bind: 0.0.0.0
              system.adapter.netatmo-crawler.0        : netatmo-crawler       : iobroker-raspi4                          -  enabled
              system.adapter.ping.0                   : ping                  : iobroker-raspi4                          - disabled
              system.adapter.pvforecast.0             : pvforecast            : iobroker-raspi4                          - disabled
              system.adapter.schoolfree.0             : schoolfree            : iobroker-raspi4                          -  enabled
              system.adapter.simple-api.0             : simple-api            : iobroker-raspi4                          - disabled, port: 8087, bind: 192.168.178.11, run as: admin
              system.adapter.smartgarden.0            : smartgarden           : iobroker-raspi4                          - disabled
              system.adapter.smartthings.0            : smartthings           : iobroker-raspi4                          - disabled
              system.adapter.socketio.0               : socketio              : iobroker-raspi4                          - disabled, port: 8084, bind: 0.0.0.0, run as: admin
            + system.adapter.sonoff.0                 : sonoff                : iobroker-raspi4                          -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker-raspi4                          -  enabled
              system.adapter.tankerkoenig.1           : tankerkoenig          : iobroker-raspi4                          - disabled
            + system.adapter.telegram.0               : telegram              : iobroker-raspi4                          -  enabled, port: 8443, bind: 0.0.0.0
            + system.adapter.tr-064.0                 : tr-064                : iobroker-raspi4                          -  enabled
              system.adapter.trashschedule.0          : trashschedule         : iobroker-raspi4                          - disabled
              system.adapter.vis.0                    : vis                   : iobroker-raspi4                          - disabled
              system.adapter.weatherunderground.0     : weatherunderground    : iobroker-raspi4                          -  enabled
              system.adapter.web.0                    : web                   : iobroker-raspi4                          - disabled, port: 443, bind: 0.0.0.0 (SSL), run as: admin
              system.adapter.wolf.0                   : wolf                  : iobroker-raspi4                          - disabled, port: 12004, bind: 0.0.0.0
              system.adapter.worx.0                   : worx                  : iobroker-raspi4                          - disabled
              system.adapter.yr.0                     : yr                    : iobroker-raspi4                          - disabled
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : iobroker-raspi4                          -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker-raspi4                          -  enabled, port: 12001
            + system.adapter.hm-rpc.1                 : hm-rpc                : iobroker-raspi4                          -  enabled, port: 12010
            + system.adapter.influxdb.0               : influxdb              : iobroker-raspi4                          -  enabled, port: 8086
            + system.adapter.mqtt.0                   : mqtt                  : iobroker-raspi4                          -  enabled, port: 1884, bind: 0.0.0.0
            + system.adapter.sonoff.0                 : sonoff                : iobroker-raspi4                          -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.telegram.0               : telegram              : iobroker-raspi4                          -  enabled, port: 8443, bind: 0.0.0.0
            
            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    "admin"        : 6.3.5    , installed 6.3.5
            Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
            Adapter    "backitup"     : 2.5.12   , installed 2.5.12
            Adapter    "cloud"        : 4.3.0    , installed 4.3.0
            Adapter    "devices"      : 1.1.2    , installed 1.1.2
            Adapter    "discovery"    : 3.1.0    , installed 3.1.0
            Adapter    "easee"        : 1.0.7    , installed 1.0.7
            Adapter    "flot"         : 1.11.0   , installed 1.11.0
            Adapter    "followthesun" : 0.4.1    , installed 0.4.1
            Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
            Adapter    "harmony"      : 1.2.2    , installed 1.2.2
            Adapter    "heatingcontrol": 2.10.6  , installed 2.10.6
            Adapter    "history"      : 2.2.4    , installed 2.2.4
            Adapter    "hm-rega"      : 3.0.44   , installed 3.0.44
            Adapter    "hm-rpc"       : 1.15.16  , installed 1.15.16
            Adapter    "ical"         : 1.13.2   , installed 1.13.2
            Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
            Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
            Adapter    "info"         : 1.9.19   , installed 1.9.19
            Adapter    "iot"          : 1.14.2   , installed 1.14.2
            Adapter    "javascript"   : 6.1.4    , installed 6.1.4
            Controller "js-controller": 4.0.24   , installed 4.0.24
            Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
            Adapter    "netatmo-crawler": 0.8.1  , installed 0.8.1
            Adapter    "ping"         : 1.5.3    , installed 1.5.3
            Adapter    "pvforecast"   : 2.3.0    , installed 2.3.0
            Adapter    "schoolfree"   : 1.0.1    , installed 1.0.1
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "smartgarden"  : 2.0.0    , installed 2.0.0
            Adapter    "smartthings"  : 0.0.4    , installed 0.0.4
            Adapter    "socketio"     : 4.2.0    , installed 4.2.0
            Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
            Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
            Adapter    "telegram"     : 1.15.2   , installed 1.15.2
            Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
            Adapter    "trashschedule": 2.2.0    , installed 2.2.0
            Adapter    "vis"          : 1.4.15   , installed 1.4.15
            Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
            Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
            Adapter    "weatherunderground": 3.4.2, installed 3.4.2
            Adapter    "web"          : 4.3.0    , installed 4.3.0
            Adapter    "wolf"         : 1.5.0    , installed 1.5.0
            Adapter    "worx"         : 2.0.3    , installed 2.0.3
            Adapter    "ws"           : 1.3.0    , installed 1.3.0
            Adapter    "yr"           : 5.3.0    , installed 5.3.0
            
            Objects and States
            Please stand by - This may take a while
            Objects:        16640
            States:         13964
            
            *** OS-Repositories and Updates ***
            Hit:1 http://deb.debian.org/debian bullseye InRelease
            Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
            Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
            Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:5 https://repos.influxdata.com/debian stable InRelease
            Hit:6 https://apt.grafana.com stable InRelease
            Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease
            Reading package lists...
            Pending Updates: 2
            
            *** 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 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       16461      1128/io.sonoff.0
            tcp        0      0 0.0.0.0:1884            0.0.0.0:*               LISTEN      1001       16437      1067/io.mqtt.0
            tcp        0      0 192.168.178.11:12001    0.0.0.0:*               LISTEN      1001       15064      1027/io.hm-rpc.0
            tcp        0      0 192.168.178.11:12010    0.0.0.0:*               LISTEN      1001       16439      1053/io.hm-rpc.1
            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       15365      701/iobroker.js-con
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       14334      701/iobroker.js-con
            tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14583      510/sshd: /usr/sbin
            tcp6       0      0 :::8081                 :::*                    LISTEN      1001       1771       859/io.admin.0
            tcp6       0      0 :::8086                 :::*                    LISTEN      999        14307      631/influxd
            tcp6       0      0 :::3000                 :::*                    LISTEN      110        11951      625/grafana
            tcp6       0      0 :::22                   :::*                    LISTEN      0          14585      510/sshd: /usr/sbin
            udp        0      0 0.0.0.0:34632           0.0.0.0:*                           108        1462       379/avahi-daemon: r
            udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          1549       624/dhcpcd
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        1460       379/avahi-daemon: r
            udp6       0      0 :::48108                :::*                                108        1463       379/avahi-daemon: r
            udp6       0      0 :::5353                 :::*                                108        1461       379/avahi-daemon: r
            
            *** Log File - Last 25 Lines ***
            
            2023-03-26 17:57:07.003  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.30366, state={"val":0,"ack":false,"ts":1679846227003,"q":0,"from":"system.adapter.javascript.0","lc":1679838692134,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 17:57:07.004  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=weatherunderground.0.forecast.1d.tempMax, timerId=undefined) => {"val":8,"ack":true,"ts":1679845879613,"q":0,"from":"system.adapter.weatherunderground.0","user":"system.user.admin","lc":1679837870545}
            2023-03-26 17:57:07.004  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.30362, state={"val":8,"ack":false,"ts":1679846227004,"q":0,"from":"system.adapter.javascript.0","lc":1679838692134,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 17:57:07.004  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=weatherunderground.0.forecast.1d.precipitationChance, timerId=undefined) => {"val":62,"ack":true,"ts":1679845879637,"q":0,"from":"system.adapter.weatherunderground.0","user":"system.user.admin","lc":1679845879637}
            2023-03-26 17:57:07.005  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.30329, state={"val":62,"ack":false,"ts":1679846227005,"q":0,"from":"system.adapter.javascript.0","lc":1679846227005,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 17:57:07.005  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=weatherunderground.0.forecast.1d.precipitationDay, timerId=undefined) => {"val":1,"ack":true,"ts":1679845879646,"q":0,"from":"system.adapter.weatherunderground.0","user":"system.user.admin","lc":1679845879646}
            2023-03-26 17:57:07.005  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.31831, state={"val":1,"ack":false,"ts":1679846227005,"q":0,"from":"system.adapter.javascript.0","lc":1679846227005,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 17:57:07.005  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=weatherunderground.0.forecast.1d.windSpeed, timerId=undefined) => {"val":25,"ack":true,"ts":1679845879680,"q":0,"from":"system.adapter.weatherunderground.0","user":"system.user.admin","lc":1679837870819}
            2023-03-26 17:57:07.006  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.31827, state={"val":25,"ack":true,"ts":1679846227006,"q":0,"from":"system.adapter.javascript.0","lc":1679838692136,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 17:57:12.472  - info: host.iobroker-raspi4 instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
            2023-03-26 18:00:00.054  - info: host.iobroker-raspi4 instance system.adapter.netatmo-crawler.0 started with pid 2234
            2023-03-26 18:00:00.920  - info: host.iobroker-raspi4 instance system.adapter.tankerkoenig.0 scheduled normal terminated and will be restarted on schedule.
            2023-03-26 18:00:00.922  - info: host.iobroker-raspi4 Restart adapter system.adapter.tankerkoenig.0 because enabled
            2023-03-26 18:00:02.167  - info: host.iobroker-raspi4 instance system.adapter.tankerkoenig.0 started with pid 2245
            2023-03-26 18:00:07.214  - info: host.iobroker-raspi4 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            2023-03-26 18:05:00.047  - info: host.iobroker-raspi4 instance system.adapter.netatmo-crawler.0 started with pid 2269
            2023-03-26 18:05:03.224  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=netatmo-crawler.0.stationData.1.rain, timerId=undefined) => {"val":0.1,"ack":true,"ts":1679846703221,"q":0,"from":"system.adapter.netatmo-crawler.0","user":"system.user.admin","lc":1679846703221}
            2023-03-26 18:05:03.225  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.6877, state={"val":0.1,"ack":false,"ts":1679846703225,"q":0,"from":"system.adapter.javascript.0","lc":1679846703225,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 18:05:03.225  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=netatmo-crawler.0.stationData.1.rain, timerId=undefined) => {"val":0.1,"ack":true,"ts":1679846703221,"q":0,"from":"system.adapter.netatmo-crawler.0","user":"system.user.admin","lc":1679846703221}
            2023-03-26 18:05:03.619  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: getState(id=netatmo-crawler.0.stationData.1.rain_today, timerId=undefined) => {"val":6.9,"ack":true,"ts":1679846703618,"q":0,"from":"system.adapter.netatmo-crawler.0","user":"system.user.admin","lc":1679846703618}
            2023-03-26 18:05:03.620  - info: javascript.0 (929) script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic: setForeignState(id=hm-rega.0.6878, state={"val":6.9,"ack":false,"ts":1679846703620,"q":0,"from":"system.adapter.javascript.0","lc":1679846703620,"c":"script.js.Homematic.HM_Wetterdaten_von_ioB_an_Homematic"})
            2023-03-26 18:05:04.887  - info: host.iobroker-raspi4 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            2023-03-26 18:05:07.271  - info: sonoff.0 (1128) Client [Gosund7 - Echo Kids] connection closed: timeout
            2023-03-26 18:10:00.069  - info: host.iobroker-raspi4 instance system.adapter.netatmo-crawler.0 started with pid 2484
            2023-03-26 18:10:06.028  - info: host.iobroker-raspi4 instance system.adapter.netatmo-crawler.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            Homoran 1 Reply Last reply Reply Quote 0
            • R
              robson @Homoran last edited by

              @homoran sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

              Kann es nicht eher sein, dass influx2 mehr braucht?

              Ja, das habe ich auch schon gedacht. Bisher speichere ich aber keine Daten zwischen und nutze es faktisch nicht. Ich möchte erst das System wieder stabilisieren.

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @robson last edited by

                @robson ja, dein RAM ist knapp, der Swap auch schon benutzt.

                was sagt top zum Bedarf der nicht iobroker Programme?

                R 1 Reply Last reply Reply Quote 1
                • R
                  robson @Homoran last edited by

                  @homoran

                  Wenn ich das korrekt interpretiere, dann belegt der influxdb-Prozess ca. 5% des Speichers.
                  Da der JS-Controller eine Menge Speicher benötigt, habe ich auch hier schon einige Skripte gestoppt. Aktuell laufen 17 Stück.

                  top - 18:18:51 up  2:42,  1 user,  load average: 0.20, 0.30, 0.30
                  Tasks: 160 total,   1 running, 159 sleeping,   0 stopped,   0 zombie
                  %Cpu(s):  1.8 us,  0.4 sy,  0.0 ni, 97.5 id,  0.1 wa,  0.0 hi,  0.2 si,  0.0 st
                  MiB Mem :   1848.2 total,    289.4 free,   1158.0 used,    400.8 buff/cache
                  MiB Swap:    100.0 total,      0.1 free,     99.9 used.    622.2 avail Mem
                  
                      PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
                      701 iobroker  20   0  989596 172688  36796 S   4.6   9.1  12:36.64 iobroker.js-con
                      929 iobroker  20   0  953024 173988  36316 S   1.7   9.2   4:14.31 io.javascript.0
                      945 iobroker  20   0  871300  81812  32044 S   1.0   4.3   0:34.93 io.telegram.0
                     1027 iobroker  20   0  651552  72176  31536 S   0.7   3.8   0:23.48 io.hm-rpc.0
                     3490 iobroker  20   0  781508  78020  37660 S   0.7   4.1   0:07.48 io.tankerkoenig
                     3525 pi        20   0   10012   3252   2668 R   0.7   0.2   0:00.11 top
                       99 root     -51   0       0      0      0 S   0.3   0.0   0:22.75 irq/37-mmc0
                      631 influxdb  20   0 1418004 101124  16940 S   0.3   5.3   1:30.87 influxd
                      993 iobroker  20   0  661108  79808  31612 S   0.3   4.2   0:40.87 io.hm-rega.0
                     1143 iobroker  20   0  658480  78852  31692 S   0.3   4.2   1:15.09 io.tr-064.0
                     2217 pi        20   0   16072   4968   3724 S   0.3   0.3   0:00.06 sshd
                     3478 root      20   0       0      0      0 I   0.3   0.0   0:01.57 kworker/1:2-events_freezable
                        1 root      20   0  165224   7696   5192 S   0.0   0.4   0:02.62 systemd
                        2 root      20   0       0      0      0 S   0.0   0.0   0:00.03 kthreadd
                        3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp
                        4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp
                        5 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 slub_flushwq
                        6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns
                        8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-kblockd
                       10 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq
                       11 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tasks_kthread
                       12 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tasks_rude_kthread
                       13 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tasks_trace_kthread
                       14 root      20   0       0      0      0 S   0.0   0.0   0:00.49 ksoftirqd/0
                       15 root      20   0       0      0      0 I   0.0   0.0   0:04.21 rcu_preempt
                       16 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migration/0
                       17 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0
                       18 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1
                       19 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migration/1
                       20 root      20   0       0      0      0 S   0.0   0.0   0:00.18 ksoftirqd/1
                       22 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/1:0H-kblockd
                       23 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2
                       24 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migration/2
                       25 root      20   0       0      0      0 S   0.0   0.0   0:00.18 ksoftirqd/2
                       27 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/2:0H-kblockd
                       28 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3
                       29 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migration/3
                       30 root      20   0       0      0      0 S   0.0   0.0   0:00.16 ksoftirqd/3
                       32 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/3:0H-events_highpri
                       33 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kdevtmpfs
                       34 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 inet_frag_wq
                       36 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kauditd
                       38 root      20   0       0      0      0 S   0.0   0.0   0:00.00 khungtaskd
                       40 root      20   0       0      0      0 S   0.0   0.0   0:00.00 oom_reaper
                       41 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 writeback
                       42 root      20   0       0      0      0 S   0.0   0.0   0:02.59 kcompactd0
                       43 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kintegrityd
                       44 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kblockd
                       45 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 blkcg_punt_bio
                       46 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 watchdogd
                       49 root       0 -20       0      0      0 I   0.0   0.0   0:00.23 kworker/3:1H-kblockd
                       50 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rpciod
                       51 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 xprtiod
                       55 root      20   0       0      0      0 S   0.0   0.0   0:02.39 kswapd0
                       56 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nfsiod
                       57 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kthrotld
                       65 root      20   0       0      0      0 S   0.0   0.0   0:00.00 hwrng
                       66 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 iscsi_conn_clea
                       67 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nvme-wq
                       68 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nvme-reset-wq
                       69 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nvme-delete-wq
                       71 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 DWC Notificatio
                       72 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 uas
                       73 root       1 -19       0      0      0 S   0.0   0.0   0:00.00 vchiq-slot/0
                       74 root       1 -19       0      0      0 S   0.0   0.0   0:00.00 vchiq-recy/0
                       75 root       0 -20       0      0      0 S   0.0   0.0   0:00.00 vchiq-sync/0
                       76 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 zswap-shrink
                       77 root       0 -20       0      0      0 I   0.0   0.0   0:00.03 kworker/u9:0-hci0
                       98 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 sdhci
                      100 root      20   0       0      0      0 S   0.0   0.0   0:00.00 scsi_eh_0
                      101 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 scsi_tmf_0
                      102 root       0 -20       0      0      0 I   0.0   0.0   0:00.22 kworker/1:1H-kblockd
                      103 root       0 -20       0      0      0 I   0.0   0.0   0:00.22 kworker/0:1H-kblockd
                      104 root       0 -20       0      0      0 I   0.0   0.0   0:00.38 kworker/2:1H-kblockd
                      105 root      20   0       0      0      0 S   0.0   0.0   0:00.88 jbd2/sda2-8
                      106 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 ext4-rsv-conver
                      107 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mld
                      108 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 ipv6_addrconf
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @robson last edited by

                    @robson

                    Fahr die Kiste IMMER sauber herunter.
                    Dann schredderst du dir auch nicht das Dateisystem wie hier:

                    [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): orphan cleanup on readonly fs
                    [Sun Mar 26 15:35:57 2023] EXT4-fs (sda2): 2 orphan inodes deleted
                    
                    R 1 Reply Last reply Reply Quote 1
                    • R
                      robson @Thomas Braun last edited by

                      @thomas-braun
                      Mache ich auch normalerweise.
                      Jedoch scheint das System bei extremen Speichermangel abzustürzen und nicht mehr ansprechbar zu sein. Per SSH konnte ich das System nicht erreichen. Bisher hat immer nur Steckerziehen geholfen.

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

                        @robson Dann würde ich es jetzt einmal komplett neu installieren (wer weiss, was das wiederholte Steckerziehen bereits angercihtet hat), iobroker neu drauf aus dem Backup und erst einmal ohne influx beobachten, wie es sich verhält. Wenn Du das eh noch nicht nutzst, dann lass es mal weg. Wenn der RAM dann reicht, hast Du den Übeltäter, wenn nicht, dann kannst Du das zumindest ausschließen.

                        Gruss, Jürgen

                        R 1 Reply Last reply Reply Quote 1
                        • R
                          robson @Wildbill last edited by

                          @wildbill sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

                          @robson Dann würde ich es jetzt einmal komplett neu installieren (wer weiss, was das wiederholte Steckerziehen bereits angercihtet hat), iobroker neu drauf aus dem Backup und erst einmal ohne influx beobachten, wie es sich verhält. Wenn Du das eh noch nicht nutzst, dann lass es mal weg. Wenn der RAM dann reicht, hast Du den Übeltäter, wenn nicht, dann kannst Du das zumindest ausschließen.

                          Gruss, Jürgen

                          Danke dir. Ich habe jetzt erst mal Influx und Grafana stillgelegt. Mal schauen, ob das System jetzt wieder stabil rennt.

                          Ich hatte Grafana und Influx 1 ja auch auf meinem 32-Bit System stabil laufen. Ich konnte/kann mir irgendwie einfach nicht vorstellen, dass die 64-Bit Varianten solch einen Speicherhunger haben und - obwohl nicht aktiv genutzt - RAM von 300-500 MB zusätzlich allokieren.

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

                            @robson

                            Tendenziell sind 64bit-Anwendungen etwas speicherhungriger, weil der adressierbare Adressraum auch viel größer ist.

                            1 Reply Last reply Reply Quote 0
                            • R
                              robson last edited by robson

                              Mir ist mein System letzte Nacht trotz deaktivierter InfluxDB-Instanz und einer minimalen Anzahl an laufenden Adaptern wieder abgestürzt.

                              Ich würde nun vorerst wieder auf 32 Bit wechseln wollen - damit lief alles stabil. Sogar mit InfluxDB v1 im Hintergrund.

                              Weiß jemand, ob es ein Problem darstellt, wenn der Kernel auf 64-Bit, das OS aber nun auf 32-Bit läuft? Ein Downgrade des Kernels scheint nicht leicht zu sein habe ich gelesen.

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

                                @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

                                wenn der Kernel auf 64-Bit, das OS aber nun auf 32-Bit läuft?

                                Wie willst du da hinfummeln?
                                Installier es neu. Allerdings wird es kein ursächliches Problem mit der 64bit-Version sein.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  robson @Thomas Braun last edited by

                                  @thomas-braun
                                  Ich installiere es auch gerade neu. Aber der Kernel bleibt doch auf 64-Bit auch wenn ich ein neues OS auf die SD-Karte aufspiele oder nicht?
                                  Sobald es läuft, frage ich die Kernelversion mal ab.

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

                                    @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

                                    Aber der Kernel bleibt doch auf 64-Bit auch wenn ich ein neues OS auf die SD-Karte aufspiele oder nicht?

                                    Warum sollte der Kernel stehen bleiben? Wenn das komplett neuinstalliert wird, dann kommt auch der Kernel aus dem Installationsmedium mit.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      robson @Thomas Braun last edited by

                                      @thomas-braun
                                      Du hast Recht. Ich dachte, die Kernelinformation seien in den RAM geschrieben worden. Wieder was dazu gelernt.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        robson last edited by robson

                                        Hallo zusammen,

                                        leider ist mein Raspi wieder ohne ersichtlichen Grund abgestürzt. Ich hatte meine SSD vergangenen Montag komplett neu formatiert und das 32-Bit OS installiert. Danach ioBroker. Nach Einspielen des Backups (1-2 Std Wartezeit) waren noch knapp 900 MB frei und alles lief reibungslos.
                                        Nachmittags sind wir bis eben in den Urlaub gefahren. Bereits am Abend konnte ich nicht mehr auf ioBroker (weder Web UI noch SSH) zugreifen. InfluxDB und Grafana waren nicht installiert - lediglich ioBroker mit meinem Backup.

                                        Ich kann es mir dieses Mal nicht mit einem Speicherengpass erklären.
                                        Hat jemand eine Idee, was ich noch prüfen kann?
                                        Es ist bereits der zweite Pi 4B mit 2GB, den ich angeschlossen habe.

                                        Alternativ würde ich ioBroker auf einer Synology NAS per Docker installieren. Das ist aber Neuland für mich. Mit dem Raspi war ich bisher immer gut zufrieden.

                                        Für Hinweise bin ich dankbar.

                                        Thomas Braun Ro75 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @robson last edited by Thomas Braun

                                          @robson sagte in RAM-Probleme und Abstürze nach Wechsel auf 64-Bit:

                                          Es ist bereits der zweite Pi 4B mit 2GB, den ich angeschlossen habe.

                                          2GB ist meiner Meinung nach die unterste Grenze, da muss man aber schon was genauer schauen. Ich würde mindestens 4GB vorsehen.

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

                                            @robson liegt dein Raspi einfach so rum oder ist er "eingebaut"?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            785
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            46
                                            2072
                                            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