Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wildbill @RaspiUser last edited by Wildbill

      @raspiuser Deinen letzten Satz halte ich fr ein unbewiesenes Gerücht. Mit 2GB bist Du halt schon hart an der Grenze. Mehr als 20 Adapter werden da, je nach Adapter, nicht dauerhaft stabil laufen. Hast Du möglicherweise noch einen Desktop mit in Betrieb? Der schluckt dann auch nochmal unnötig Ressourcen, sowas braucht man auf einem Server nicht.
      Ganz ehrlich: Wenn Du dauerhaft Freude an iobroker haben willst, oder gar stabil Dein Haus/Smarthome damit steuern willst, dann würde ich aufrüsten. Raspi ist für den Anfang OK um mal reinzuschnuppern, aber auf Dauer würde ich auf potentere Hardware umsteigen.

      Gruss, Jürgen

      EDIT: Abstürze können darauf hindeuten, dass Dir regelmäßig der Speicher ausgeht und Prozesse abgeschossen werden.l

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

        @raspiuser sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

        wie ich eigentlich die RAM Nutzung beeinflussen / eingrenzen kann

        Nur sehr indirekt. Du kannst den Kompakt-Modus versuchen, der läuft aber naturgemäß weniger robust als die Standardvariante.
        Du kannst dir ja dein System mal anschauen, z. B. per

        iob diag
        

        Aber 2GB ist offengesagt auch die untere Grenze für einen halbwegs sinnvollen Betrieb des ioBrokers.

        Hier z. B. mal mein System:

        MEMORY:
                       total        used        free      shared  buff/cache   available
        Mem:            8.2G        2.5G        2.0G        1.3M        3.8G        5.7G
        Swap:           104M          0B        104M
        Total:          8.3G        2.5G        2.1G
        
        Active iob-Instances:   35
        

        Das braucht also 2,5GB mit 35 laufenden Instanzen. Bei Aktionen wie dem täglichen Backup geht der Speicherbedarf natürlich nach oben.

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

          @raspiuser

          ansonsten könnte der adapter ersteller mal in seinen code reinschauen und evtl variablen explizit aufräumen.
          aber erfahrungsgemäß macht das nicht soviel aus.

          dann fehlt dir halt der speicher bei der nächsten aktualisierung von iobroker oder beim nächsten zusätzlichen adapter oder beim nächsten skript im javascript adapter
          irgendwann ist halt mit RAM schluss und das System muss aufgerüstet werden.

          wie vorgeschlagen fasst der kompaktmodus mehrere adapter zusammen und da wird ein wenig overhead gespart. aber wie gesagt, das gibt dir dann gerade mal zeit JETZT dein nächst größeres System auszuwählen

          1 Reply Last reply Reply Quote 0
          • RaspiUser
            RaspiUser last edited by

            @Wildbill @Thomas-Braun @OliverIO

            Danke für die Hinweise ...
            Damit wäre meine Hoffnung, dass man sozusagen mit Software etwas verbessern kann erl. ...

            Ich hatte eh mit dem Gedanken gespielt, den ioBroker in einer QNAP VM laufen zu lassen.
            Oder doch ein Slave ? Schaun'mer mal ...

            Nachfrage: Warum bläht sich der "Tankerkönig" so auf ?! (Oder geht die Frage eher an den Entwickler ...)

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

              @raspiuser sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

              dass man sozusagen mit Software etwas verbessern kann erl. ...

              Die dann selber auch wieder Speicher braucht? 🙂

              Was spuckt denn nun

              iob diag
              

              aus?

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

                @thomas-braun

                ... mit "Software" meinte ich irgendwelche Einstellungen irgendwo im Hintergrund ...

                Skript v.2023-10-10
                
                *** BASE SYSTEM ***
                 Static hostname: ioBroker-Raspi
                       Icon name: computer
                Operating System: Debian GNU/Linux 12 (bookworm)
                          Kernel: Linux 6.1.21-v8+
                    Architecture: arm64
                
                Model           : Raspberry Pi 4 Model B Rev 1.1
                Docker          : false
                Virtualization  : none
                Kernel          : aarch64
                Userland        : arm64
                
                Systemuptime and Load:
                 21:36:08 up 10:10,  2 users,  load average: 0.23, 0.13, 0.09
                CPU threads: 4
                
                
                *** RASPBERRY THROTTLING ***
                Current issues:
                No throttling issues detected.
                
                Previously detected issues:
                No throttling issues detected.
                
                *** Time and Time Zones ***
                               Local time: Tue 2023-10-31 21:36:08 CET
                           Universal time: Tue 2023-10-31 20:36:08 UTC
                                 RTC time: n/a
                                Time zone: Europe/Berlin (CET, +0100)
                System clock synchronized: yes
                              NTP service: active
                          RTC in local TZ: no
                
                *** 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.9G        1.7G        102M        212K        167M        204M
                Swap:           104M        104M        253K
                Total:          2.0G        1.8G        103M
                
                         1849 M total memory
                         1653 M used memory
                          560 M active memory
                         1075 M inactive memory
                           98 M free memory
                            5 M buffer memory
                          154 M swap cache
                           99 M total swap
                           99 M used swap
                            0 M free swap
                
                Raspberry only:
                oom events: 0
                lifetime oom required: 0 Mbytes
                total time in oom handler: 0 ms
                max time spent in oom handler: 0 ms
                
                *** FAILED SERVICES ***
                
                  UNIT LOAD ACTIVE SUB DESCRIPTION
                0 loaded units listed.
                
                *** FILESYSTEM ***
                Filesystem     Type      Size  Used Avail Use% Mounted on
                /dev/root      ext4       15G  4.3G  9.4G  32% /
                devtmpfs       devtmpfs  667M     0  667M   0% /dev
                tmpfs          tmpfs     925M     0  925M   0% /dev/shm
                tmpfs          tmpfs     370M  1.2M  369M   1% /run
                tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                /dev/mmcblk0p1 vfat      255M   31M  225M  13% /boot
                tmpfs          tmpfs     185M     0  185M   0% /run/user/1000
                
                Messages concerning ext4 filesystem in dmesg:
                [Tue Oct 31 11:25:56 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:12:B4:C8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=bc66e88d-02 rootfstype=ext4 fsck.repair=yes rootwait
                [Tue Oct 31 11:25:57 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                [Tue Oct 31 11:25:57 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                [Tue Oct 31 11:26:00 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                
                Show mounted filesystems \(real ones only\):
                TARGET  SOURCE         FSTYPE OPTIONS
                /       /dev/mmcblk0p2 ext4   rw,noatime
                `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                
                Files in neuralgic directories:
                
                /var:
                1.2G    /var/
                621M    /var/log
                558M    /var/log/journal/ececfd62e7f741458cc0d2ea60d43f93
                558M    /var/log/journal
                328M    /var/cache
                
                Archived and active journals take up 557.2M in the file system.
                
                /opt/iobroker/backups:
                4.0K    /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                223M    /opt/iobroker/iobroker-data/
                153M    /opt/iobroker/iobroker-data/files
                52M     /opt/iobroker/iobroker-data/files/javascript.admin
                42M     /opt/iobroker/iobroker-data/backup-objects
                34M     /opt/iobroker/iobroker-data/files/javascript.admin/static
                
                The five largest files in iobroker-data are:
                22M     /opt/iobroker/iobroker-data/objects.jsonl
                21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map
                8.3M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js
                7.1M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.f22de4ab.chunk.js.map
                6.3M    /opt/iobroker/iobroker-data/states.jsonl
                
                USB-Devices by-id:
                USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                
                /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_6edb8350b219ec11a0e039cc47486eb0-if00-port0
                
                *** 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 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                        100 /var/lib/dpkg/status
                     18.18.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.18.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.17.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.17.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.16.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.16.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.15.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.14.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.14.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.14.0-1nodesource1 1001
                        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 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.12.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.11.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.10.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.9.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.9.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.8.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.7.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.6.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.5.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.4.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.3.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.2.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.1.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                     18.0.0-1nodesource1 1001
                        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.12
                admin:          6.12.0
                javascript:     7.1.4
                
                Adapters from github:   0
                
                Adapter State
                + system.adapter.admin.0                  : admin                 : ioBroker-Raspi                           -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.alpha-ess.0              : alpha-ess             : ioBroker-Raspi                           -  enabled
                + system.adapter.backitup.0               : backitup              : ioBroker-Raspi                           -  enabled
                + system.adapter.canbus.0                 : canbus                : ioBroker-Raspi                           -  enabled
                  system.adapter.discovery.0              : discovery             : ioBroker-Raspi                           - disabled
                  system.adapter.feiertage.0              : feiertage             : ioBroker-Raspi                           -  enabled
                + system.adapter.frontier_silicon.0       : frontier_silicon      : ioBroker-Raspi                           -  enabled
                + system.adapter.hm-rega.0                : hm-rega               : ioBroker-Raspi                           -  enabled
                + system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-Raspi                           -  enabled, port: 0
                + system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-Raspi                           -  enabled, port: 0
                + system.adapter.iqontrol.0               : iqontrol              : ioBroker-Raspi                           -  enabled
                + system.adapter.javascript.0             : javascript            : ioBroker-Raspi                           -  enabled
                + system.adapter.lgtv.0                   : lgtv                  : ioBroker-Raspi                           -  enabled
                + system.adapter.mqtt.0                   : mqtt                  : ioBroker-Raspi                           -  enabled, port: 1883, bind: 192.168.178.36
                  system.adapter.onkyo.0                  : onkyo                 : ioBroker-Raspi                           - disabled
                + system.adapter.psa.0                    : psa                   : ioBroker-Raspi                           -  enabled
                + system.adapter.sainlogic.0              : sainlogic             : ioBroker-Raspi                           -  enabled, port: 1030, bind: 192.168.178.36
                + system.adapter.shuttercontrol.0         : shuttercontrol        : ioBroker-Raspi                           -  enabled
                  system.adapter.simple-api.0             : simple-api            : ioBroker-Raspi                           - disabled, port: 8087, bind: 0.0.0.0, run as: admin
                + system.adapter.sonoff.0                 : sonoff                : ioBroker-Raspi                           -  enabled, port: 1885, bind: 0.0.0.0
                + system.adapter.tankerkoenig.0           : tankerkoenig          : ioBroker-Raspi                           -  enabled
                + system.adapter.telegram.0               : telegram              : ioBroker-Raspi                           -  enabled, port: 8443, bind: 0.0.0.0
                + system.adapter.tr-064.0                 : tr-064                : ioBroker-Raspi                           -  enabled
                + system.adapter.vw-connect.0             : vw-connect            : ioBroker-Raspi                           -  enabled
                + system.adapter.web.0                    : web                   : ioBroker-Raspi                           -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                + system.adapter.zigbee.0                 : zigbee                : ioBroker-Raspi                           -  enabled, port: /dev/ttyUSB0
                
                + instance is alive
                
                Enabled adapters with bindings
                + system.adapter.admin.0                  : admin                 : ioBroker-Raspi                           -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-Raspi                           -  enabled, port: 0
                + system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-Raspi                           -  enabled, port: 0
                + system.adapter.mqtt.0                   : mqtt                  : ioBroker-Raspi                           -  enabled, port: 1883, bind: 192.168.178.36
                + system.adapter.sainlogic.0              : sainlogic             : ioBroker-Raspi                           -  enabled, port: 1030, bind: 192.168.178.36
                + system.adapter.sonoff.0                 : sonoff                : ioBroker-Raspi                           -  enabled, port: 1885, bind: 0.0.0.0
                + system.adapter.telegram.0               : telegram              : ioBroker-Raspi                           -  enabled, port: 8443, bind: 0.0.0.0
                + system.adapter.web.0                    : web                   : ioBroker-Raspi                           -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                + system.adapter.zigbee.0                 : zigbee                : ioBroker-Raspi                           -  enabled, port: /dev/ttyUSB0
                
                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.12.0   , installed 6.12.0
                Adapter    "alpha-ess"    : 1.0.2    , installed 1.0.2
                Adapter    "backitup"     : 2.8.1    , installed 2.8.1
                Adapter    "canbus"       : 1.3.1    , installed 1.3.1
                Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                Adapter    "feiertage"    : 1.1.4    , installed 1.1.4
                Adapter    "frontier_silicon": 0.1.1 , installed 0.1.1
                Adapter    "hm-rega"      : 3.0.47   , installed 3.0.47
                Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
                Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
                Adapter    "javascript"   : 7.1.4    , installed 7.1.4
                Controller "js-controller": 5.0.12   , installed 5.0.12
                Adapter    "lgtv"         : 2.1.1    , installed 2.1.1
                Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
                Adapter    "onkyo"        : 2.1.2    , installed 2.1.2
                Adapter    "psa"          : 0.0.11   , installed 0.0.11
                Adapter    "sainlogic"    : 0.10.5   , installed 0.10.5
                Adapter    "shuttercontrol": 1.6.2   , installed 1.6.2
                Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                Adapter    "socketio"     : 6.5.5    , installed 6.5.5
                Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
                Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
                Adapter    "telegram"     : 1.16.0   , installed 1.16.0
                Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
                Adapter    "vw-connect"   : 0.0.67   , installed 0.0.67
                Adapter    "web"          : 6.1.2    , installed 6.1.2
                Adapter    "ws"           : 2.5.5    , installed 2.5.5
                Adapter    "zigbee"       : 1.8.23   , installed 1.8.23
                
                Objects and States
                Please stand by - This may take a while
                Objects:        5110
                States:         3760
                
                *** 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://security.debian.org/debian-security bookworm-security InRelease
                Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:5 https://deb.nodesource.com/node_18.x nodistro 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 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       12051      523/iobroker.js-con
                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       16455      523/iobroker.js-con
                tcp        0      0 0.0.0.0:1885            0.0.0.0:*               LISTEN      1001       15108      1113/io.sonoff.0
                tcp        0      0 192.168.178.36:1883     0.0.0.0:*               LISTEN      1001       16564      1004/io.mqtt.0
                tcp        0      0 192.168.178.36:42010    0.0.0.0:*               LISTEN      1001       16610      1065/io.hm-rpc.1
                tcp        0      0 192.168.178.36:42001    0.0.0.0:*               LISTEN      1001       14893      1029/io.hm-rpc.0
                tcp        0      0 192.168.178.36:1030     0.0.0.0:*               LISTEN      1001       18548      1295/io.sainlogic.0
                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14269      702/sshd: /usr/sbin
                tcp6       0      0 :::8082                 :::*                    LISTEN      1001       17736      1329/io.web.0
                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       12101      949/io.admin.0
                tcp6       0      0 :::22                   :::*                    LISTEN      0          14271      702/sshd: /usr/sbin
                udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          11973      861/dhcpcd
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        11743      366/avahi-daemon: r
                udp        0      0 0.0.0.0:43290           0.0.0.0:*                           108        11745      366/avahi-daemon: r
                udp        0      0 0.0.0.0:20000           0.0.0.0:*                           65534      11891      607/cannelloni
                udp6       0      0 :::51392                :::*                                108        11746      366/avahi-daemon: r
                udp6       0      0 :::5353                 :::*                                108        11744      366/avahi-daemon: r
                udp6       0      0 :::546                  :::*                                0          11991      861/dhcpcd
                
                *** Log File - Last 25 Lines ***
                
                2023-10-31 17:59:41.189  - info: mqtt.0 (1004) Client [mqtt-explorer-0a4ab263] connected with secret 1698771581185_8785
                2023-10-31 17:59:41.198  - info: mqtt.0 (1004) Client [mqtt-explorer-0a4ab263] subscribes on "#" with regex /.*/
                2023-10-31 17:59:41.199  - info: mqtt.0 (1004) Client [mqtt-explorer-0a4ab263] subscribes on "#"  with regex /^mqtt\.0\..*/
                2023-10-31 17:59:41.201  - info: mqtt.0 (1004) Client [mqtt-explorer-0a4ab263] subscribes on "$SYS/#" with regex /^\$SYS\..*/
                2023-10-31 17:59:41.202  - info: mqtt.0 (1004) Client [mqtt-explorer-0a4ab263] subscribes on "$SYS/#"  with regex /^mqtt\.0\.\$SYS\..*/
                2023-10-31 17:59:46.987  - info: mqtt.0 (1004) Client [mqtt-explorer-0a4ab263] connection closed: disconnected
                2023-10-31 18:49:28.971  - info: admin.0 (949) failed connection to socket.io from ::ffff:192.168.178.67: Passport was not initialized
                2023-10-31 18:49:32.985  - info: admin.0 (949) failed connection to socket.io from ::ffff:192.168.178.67: Passport was not initialized
                2023-10-31 18:49:33.103  - info: admin.0 (949) failed connection to socket.io from ::ffff:192.168.178.67: Passport was not initialized
                2023-10-31 18:49:36.777  - info: admin.0 (949) ==> Connected system.user.admin from ::ffff:192.168.178.67
                2023-10-31 18:50:10.558  - info: hm-rpc.1 (1065) Temporary error occurred for "setValue" with "["000898A994E11E:2","STATE",true]": XML-RPC fault: Generic error (UNREACH)
                2023-10-31 19:09:56.476  - info: admin.0 (949) <== Disconnect system.user.admin from ::ffff:192.168.178.67 admin
                2023-10-31 19:44:00.015  - info: admin.0 (949) failed connection to socket.io from ::ffff:192.168.178.67: Passport was not initialized
                2023-10-31 19:44:00.112  - info: admin.0 (949) failed connection to socket.io from ::ffff:192.168.178.67: Passport was not initialized
                2023-10-31 19:44:03.787  - info: admin.0 (949) ==> Connected system.user.admin from ::ffff:192.168.178.67
                2023-10-31 19:48:12.097  - info: admin.0 (949) <== Disconnect system.user.admin from ::ffff:192.168.178.67 admin
                2023-10-31 19:48:16.445  - info: hm-rpc.0 (1029) Temporary error occurred for "setValue" with "["PEQ2220383:2","STATE",false]": XML-RPC fault: Failure
                2023-10-31 20:17:50.723  - info: web.0 (1329) ==> Connected system.user.admin from ::ffff:192.168.178.77
                2023-10-31 20:29:44.449  - info: web.0 (1329) <== Disconnect system.user.admin from ::ffff:192.168.178.77 iqontrol.0
                2023-10-31 20:39:28.129  - info: web.0 (1329) ==> Connected system.user.admin from ::ffff:192.168.178.77
                2023-10-31 20:39:28.165  - info: web.0 (1329) ==> Connected system.user.admin from ::ffff:192.168.178.77
                2023-10-31 20:41:58.127  - info: web.0 (1329) <== Disconnect system.user.admin from ::ffff:192.168.178.77
                2023-10-31 20:41:58.163  - info: web.0 (1329) <== Disconnect system.user.admin from ::ffff:192.168.178.77
                2023-10-31 21:19:00.549  - info: web.0 (1329) ==> Connected system.user.admin from ::ffff:192.168.178.77
                2023-10-31 21:19:07.878  - info: web.0 (1329) <== Disconnect system.user.admin from ::ffff:192.168.178.77 iqontrol.0
                
                
                Thomas Braun ? 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @RaspiUser last edited by

                  @raspiuser sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                  Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease

                  Das ist ein falsches Repo. Muss auf 'bookworm' umgestellt werden.

                  Die Kiste ist mit 2GB einfach unterdimensioniert.

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

                    @thomas-braun said in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                    Das ist ein falsches Repo. Muss auf 'bookworm' umgestellt werden.

                    ... so "kompliziert" wie in deiner Anleitung oder geht es einfacher ?
                    Ich hatte den ioBroker ja bereits auf "Raspberry Pi OS Lite (64-bit) Bookworm" Stand 10.10.23 installiert ...

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

                      @raspiuser
                      Einfach:

                      sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*
                      

                      Kompiliziert: Such die Datei und editier den Kram von Hand.

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

                        @raspiuser sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                        Ich hatte den ioBroker ja bereits auf "Raspberry Pi OS Lite (64-bit) Bookworm" Stand 10.10.23 installiert ...

                        Aber nicht alle Repos.

                        1 Reply Last reply Reply Quote 0
                        • S
                          saeft_2003 Most Active @RaspiUser last edited by

                          @raspiuser

                          2 GB sind auf jeden Fall zu wenig. Lässt du tankerkönig automatisch neustarten oder per Hand?

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

                            @thomas-braun said in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                            Einfach:

                            ... super ... das ist wirklich einfach gewesen, "kompliziert" ist es ja nur, wenn man es nicht kann ... 👍

                            @thomas-braun said in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                            Aber nicht alle Repos.

                            ... ich war (bin) der naiven Meinung, dass alles Notwendige im Hintergund passiert.
                            Wie geschrieben: ... "kompliziert" ist es ja nur, wenn man es nicht kann ... 🙄

                            @saeft_2003 said in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                            automatisch neustarten oder per Hand?

                            ... von Hand wenn ich es zufällig sehe ... 😢
                            Aber ich denke mal, das RAM Thema ist Prio ...

                            S 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @RaspiUser last edited by

                              @raspiuser sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                              Swap: 104M 104M 253K

                              Moin,

                              auch wenn das hier mitlesende / schreibende anders sehen, bei einer Kiste wie Deiner, mit nur 2 GB RAM, sollte der Swap immer mindestens so groß sein wie der Speicher selbst, denn mit nur 104 MB, da pass ja nicht einmal ein kleiner Teil eines Programms rein, und dann schmiert die Kiste immer mit einem OOM ab.
                              Ja, Swap hilft nur die Symptome zu verschleiern, es geht halt nichts über echten RAM, aber die 2 GB Swap können, in einer Ausnahmesituation, dazu beitragen, dass nicht gleich das Handtuch geschmissen wird.
                              Das System wird dadurch zwar langsamer, aber es arbeitet aber auch weiter.

                              VG
                              Bernd

                              RaspiUser 1 Reply Last reply Reply Quote 0
                              • S
                                saeft_2003 Most Active @RaspiUser last edited by

                                @raspiuser

                                Als Übergangslösung könnte doch ein Skript den Tankerkönig neustarten wenn der z.b. mehr als 100mb RAM benötigt.

                                Aber natürlich brauchst du eine größere Kiste…

                                1 Reply Last reply Reply Quote 0
                                • RaspiUser
                                  RaspiUser @Guest last edited by

                                  @dp20eic said in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                                  denn mit nur 104 MB

                                  ... die 100MB sind ja "default" ... ich hatte mal 512MB am Start aber nicht wirklich eine Verbesserung gespürt, ich probiere es vielleicht nochmal (und ggf. mehr) und beobachte länger.

                                  Ansonsten: VM oder Slave ... ein Pi 4GB (wenn man einen zu einem akzeptablen Preis bekommt) wäre ja auch nur ein Übergang.

                                  ? S 2 Replies Last reply Reply Quote 0
                                  • ?
                                    A Former User @RaspiUser last edited by

                                    @raspiuser sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                                    ... die 100MB sind ja "default" ... ich hatte mal 512MB am Start aber nicht wirklich eine Verbesserung gespürt, ich probiere es vielleicht nochmal (und ggf. mehr) und beobachte länger.

                                    Moin,

                                    wie gesagt, das ist nur Bekämpfung der Symptome, keine Heilung. Das ist wie eine Aspirin nehmen und für kurze Zeit keine Kopfschmerzen haben, aber den eingeklemmten Nerv (2 GB RAM) löst man damit nicht.

                                    VG
                                    Bernd

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      saeft_2003 Most Active @RaspiUser last edited by

                                      @raspiuser

                                      Dann kauf dir doch am besten einen NUC oder was vergleichbares mit 8-16GB RAM und mach proxmox drauf. Da kannst du dann auch noch in weiteren VMs grafana eine DB usw. laufen lassen…

                                      P T 2 Replies Last reply Reply Quote 1
                                      • P
                                        peterfido @saeft_2003 last edited by

                                        Moin,

                                        ich bin seit einigen Jahren auch vom Raspi auf NUC gewechselt. Das läuft geschmeidig, bietet Snapshots für Tests, weitere VMs / Container für andere Aufgaben, etc.

                                        Angefangen hatte ich mit einem Celeron NUC. Zwischenzeitlich werkelt da ein Core i der 12. Generation drin. Aber auch nur, weil ich Windows VMs nutze. Für ioBroker und andere Linux Gäste wie Grafana, influxDB, pihole, etc. reicht locker ein Core i5 aus. 8 Threads kann ich empfehlen, mit 4 geht es auch. Die NUCs, welche nur 4 Threads bieten, sind oft auf 8 GB RAM beschränkt. Im Core i3 stecken 16 GB und im Core i5 habe ich 32 GB drin, in dem der 12. Generation 64 GB. Gut die Hälfte ist allerdings noch frei.... Der i5 liegt als Reserve im Schrank, falls der neue kaputt gehen sollte. Der i3 ist eine reine Windows 10 Maschine geworden und der Celeron steckt im Netzwerk und überwacht die anderen...

                                        Nur der Nick RaspiUser wäre dann halt nicht mehr soo zutreffend.

                                        1 Reply Last reply Reply Quote 0
                                        • RaspiUser
                                          RaspiUser last edited by

                                          @peterfido @saeft_2003
                                          ... Danke für die Kaufberatung ... aber da bei mir bereits ein QNAP TS-364 werkelt ist das die Wahl.
                                          Und der Nickname stammt noch aus den Homematic-Anfängen und wird beibehalten ... 😉

                                          BananaJoe 1 Reply Last reply Reply Quote 0
                                          • T
                                            ticaki Developer @saeft_2003 last edited by

                                            @saeft_2003 sagte in Verständnisfrage: RAM Nutzung beeinflussen ...Wie ?:

                                            @raspiuser

                                            Dann kauf dir doch am besten einen NUC oder was vergleichbares mit 8-16GB RAM und mach proxmox drauf. Da kannst du dann auch noch in weiteren VMs grafana eine DB usw. laufen lassen…

                                            Die Empfehlung mit 8GB kann ich nicht unterstützen. 🙂

                                            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

                                            797
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            28
                                            1385
                                            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