Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Manchmal hohe CPU Last

    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

    Manchmal hohe CPU Last

    This topic has been deleted. Only users with topic management privileges can see it.
    • Ben1983
      Ben1983 @tourer4778 last edited by

      @tourer4778 Dann werden eben jede Sekunden X States geschrieben.

      T 1 Reply Last reply Reply Quote 0
      • T
        tourer4778 @Ben1983 last edited by

        @ben1983
        Danke,
        ja, dachte ich mir. HAbe Ihn jetzt auf 60 gestellt und jetzt hat er den Wert sofort genommen. Ich habe diesen Wert bewust nie geändert.

        1 Reply Last reply Reply Quote 0
        • T
          tourer4778 last edited by Homoran

          @Homoran
          TOP

              849 iobroker  20   0 9890.6m 671088  46592 S  62.1   8.1   12d+13h iobroker.js-con
             2022 iobroker  20   0 9693696 341568  47616 S  21.3   4.1     4d+5h io.javascript.0
          4135576 iobroker  20   0 9338160 257184  47104 S   9.6   3.1     15,27 io.javascript.1
          3918065 iobroker  20   0 9485664 141552  44032 S   9.0   1.7     13,51 io.esphome.0
             1632 iobroker  20   0 9507968 160544  41472 S   5.0   1.9     27,12 io.history.0
          2845537 iobroker  20   0 9439456  90896  42496 S   2.3   1.1  87:32.70 io.smartthings.
          3864907 iobroker  20   0 9175280  80688  41472 S   1.7   1.0  88:27.00 io.ping.0
          1949900 iobroker  20   0 9545424 216816  48128 S   1.3   2.6  63:36.71 io.admin.0
           823850 iobroker  20   0 9179424  90560  42496 S   1.0   1.1  50:42.80 io.s7.0
             2087 iobroker  20   0 9486400 124528  42496 S   0.7   1.5  85:44.22 io.telegram.1
             2854 iobroker  20   0 9621856 280192  43008 S   0.7   3.4  46:44.85 io.web.0
          3720671 iobroker  20   0 9175488  92064  47104 S   0.7   1.1   1:31.79 io.operating-ho
             2079 iobroker  20   0 9486496 122480  42496 S   0.3   1.5  91:13.79 io.telegram.0
             2878 iobroker  20   0 9177840  96240  41472 S   0.3   1.2  14:52.52 io.wled.0
             2900 iobroker  20   0 9220800 126720  41472 S   0.3   1.5 104:08.30 io.eventlist.1
           943553 iobroker  20   0 9194864 111040  46592 S   0.3   1.3  72:15.28 io.shelly.0
                1 root      20   0  169264  11680   8192 S   0.0   0.1   0:08.34 systemd
                2 root      20   0       0      0      0 S   0.0   0.0   0:00.46 kthreadd
                3 root      20   0       0      0      0 S   0.0   0.0   0:00.00 pool_workqueue_release
                4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-rcu_g
                5 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-rcu_p
                6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-slub_
                7 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-netns
                9 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-events_highpri
               11 root      20   0       0      0      0 I   0.0   0.0   0:00.00 kworker/u8:0-netns
               12 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-mm_pe
               13 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tasks_kthread
               14 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tasks_rude_kthread
               15 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tasks_trace_kthread
               16 root      20   0       0      0      0 S   0.0   0.0   1:11.04 ksoftirqd/0
               17 root      20   0       0      0      0 I   0.0   0.0   6:54.22 rcu_preempt
               18 root      rt   0       0      0      0 S   0.0   0.0   0:00.83 migration/0
               19 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0
               20 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1
               21 root      rt   0       0      0      0 S   0.0   0.0   0:00.82 migration/1
               22 root      20   0       0      0      0 S   0.0   0.0   1:07.97 ksoftirqd/1
               24 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/1:0H-events_highpri
               25 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2
               26 root      rt   0       0      0      0 S   0.0   0.0   0:00.82 migration/2
               27 root      20   0       0      0      0 S   0.0   0.0   1:04.00 ksoftirqd/2
               29 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/2:0H-events_highpri
               30 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3
               31 root      rt   0       0      0      0 S   0.0   0.0   0:00.81 migration/3
               32 root      20   0       0      0      0 S   0.0   0.0   1:01.86 ksoftirqd/3
               34 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/3:0H-events_highpri
               39 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kdevtmpfs
               40 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-inet_
               42 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kauditd
               44 root      20   0       0      0      0 S   0.0   0.0   0:01.31 khungtaskd
               45 root      20   0       0      0      0 S   0.0   0.0   0:00.00 oom_reaper
               46 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-write
               47 root      20   0       0      0      0 S   0.0   0.0   2:53.44 kcompactd0
               49 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-kinte
               50 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-kbloc
               51 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/R-blkcg
               53 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 watchdogd
          
          

          iob diag

          ========== Start marking the full check here ===========
          
          ```bash
          Script v.2024-10-19
          
          *** BASE SYSTEM ***
           Static hostname: raspberrypi
                 Icon name: computer
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.6.62+rpt-rpi-2712
              Architecture: arm64
          OS is similar to:
          
          Model           : Raspberry Pi 5 Model B Rev 1.0
          Docker          : false
          Virtualization  : none
          Kernel          : aarch64
          Userland        : 64 bit
          
          Systemuptime and Load:
           18:37:32 up 19 days, 21 min,  4 users,  load average: 3.20, 2.39, 2.32
          CPU threads: 4
          
          
          *** LIFE CYCLE STATUS ***
          Operating System is the current Debian stable version codenamed 'bookworm'!
          
          *** RASPBERRY THROTTLING ***
          Current issues:
          No throttling issues detected.
          
          Previously detected issues:
          No throttling issues detected.
          
          *** TIME AND TIMEZONES ***
                         Local time: Mon 2025-01-20 18:37:32 CET
                     Universal time: Mon 2025-01-20 17:37:32 UTC
                           RTC time: Mon 2025-01-20 17:37:32
                          Time zone: Europe/Berlin (CET, +0100)
          System clock synchronized: yes
                        NTP service: active
                    RTC in local TZ: no
          
          *** Users and Groups ***
          User that called 'iob diag':
          pi
          HOME=/home/pi
          GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
          
          User that is running 'js-controller':
          iobroker
          HOME=/home/iobroker
          GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c spi
          
          *** DISPLAY-SERVER SETUP ***
          Display-Server: true
          Desktop:
          Terminal:       tty
          
          System is booting into 'graphical.target'. Usually a server is running in 'multi-user.target'. Please set BootTarget to 'multi-user.target' or run 'iobroker fix'
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:            8.4G        4.9G        795M         20M        2.9G        3.6G
          Swap:           209M        208M        966K
          Total:          8.7G        5.1G        796M
          
          Active iob-Instances:   42
          
                   8052 M total memory
                   4663 M used memory
                   4591 M active memory
                   2123 M inactive memory
                    758 M free memory
                    228 M buffer memory
                   2518 M swap cache
                    199 M total swap
                    199 M used swap
                      0 M free swap
          
          *** top - Table Of Processes  ***
          top - 18:37:33 up 19 days, 21 min,  4 users,  load average: 3.20, 2.39, 2.32
          Tasks: 247 total,   1 running, 246 sleeping,   0 stopped,   0 zombie
          %Cpu(s): 50.0 us,  0.0 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
          MiB Mem :   8052.2 total,    756.8 free,   4665.9 used,   2746.2 buff/cache
          MiB Swap:    200.0 total,      0.9 free,    199.1 used.   3386.4 avail Mem
          
          *** FAILED SERVICES ***
          
            UNIT LOAD ACTIVE SUB DESCRIPTION
          0 loaded units listed.
          
          
          *** DMESG CRITICAL ERRORS ***
          No critical errors detected
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          udev           devtmpfs  3.9G     0  3.9G   0% /dev
          tmpfs          tmpfs     806M  5.9M  800M   1% /run
          /dev/sda2      ext4      458G   19G  422G   5% /
          tmpfs          tmpfs     4.0G  288K  4.0G   1% /dev/shm
          tmpfs          tmpfs     5.0M   48K  5.0M   1% /run/lock
          /dev/sda1      vfat      510M   76M  435M  15% /boot/firmware
          tmpfs          tmpfs     806M  192K  806M   1% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Wed Jan  1 18:15:43 2025] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave  smsc95xx.macaddr=2C:CF:67:00:9F:03 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=601f8edd-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
          [Wed Jan  1 18:15:44 2025] EXT4-fs (sda2): mounted filesystem 4aa56689-dcb4-4759-90e6-179beae559ac ro with ordered data mode. Quota mode: none.
          [Wed Jan  1 18:15:44 2025] EXT4-fs (sda2): re-mounted 4aa56689-dcb4-4759-90e6-179beae559ac r/w. Quota mode: none.
          
          Show mounted filesystems:
          TARGET               SOURCE    FSTYPE      OPTIONS
          /                    /dev/sda2 ext4        rw,noatime
          |-/run/user/1000/doc portal    fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
          `-/boot/firmware     /dev/sda1 vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          1.3G    /var/
          605M    /var/log
          604M    /var/log/journal/5d25dfc8f41f47499725a42ea758f44c
          604M    /var/log/journal
          225M    /var/cache
          
          Archived and active journals take up 603.6M in the file system.
          
          /opt/iobroker/backups:
          776M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ArduinoJson': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ESPAsyncTCP-esphome': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ESPAsyncTCP-esphome@1.2.3': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ESPAsyncWebServer-esphome': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esp32-mini-test/.piolibdeps/esp32-mini-test/ArduinoJson': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esp32-mini-test/.piolibdeps/esp32-mini-test/AsyncTCP-esphome': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esp32-mini-test/.piolibdeps/esp32-mini-test/ESPAsyncWebServer-esphome': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ArduinoJson': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ESPAsyncTCP-esphome': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ESPAsyncTCP-esphome@1.2.3': Permission denied
          du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ESPAsyncWebServer-esphome': Permission denied
          4.7G    /opt/iobroker/iobroker-data/
          1.9G    /opt/iobroker/iobroker-data/history
          1.5G    /opt/iobroker/iobroker-data/files
          1.3G    /opt/iobroker/iobroker-data/esphome.0/.esphome
          1.3G    /opt/iobroker/iobroker-data/esphome.0
          
          The five largest files in iobroker-data are:
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ArduinoJson': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ESPAsyncTCP-esphome': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ESPAsyncTCP-esphome@1.2.3': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/test-esp-179/.piolibdeps/test-esp-179/ESPAsyncWebServer-esphome': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esp32-mini-test/.piolibdeps/esp32-mini-test/ArduinoJson': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esp32-mini-test/.piolibdeps/esp32-mini-test/AsyncTCP-esphome': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esp32-mini-test/.piolibdeps/esp32-mini-test/ESPAsyncWebServer-esphome': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ArduinoJson': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ESPAsyncTCP-esphome': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ESPAsyncTCP-esphome@1.2.3': Permission denied
          find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/sonoff-01/.piolibdeps/sonoff-01/ESPAsyncWebServer-esphome': Permission denied
          47M     /opt/iobroker/iobroker-data/objects.jsonl
          38M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map
          35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
          27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
          24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
          
          USB-Devices by-id:
          USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
          
          /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231214170338-if00
          
          Your zigbee.0 COM-Port is matching 'by-id'. Very good!
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v20.18.1
          /usr/bin/node           v20.18.1
          /usr/bin/npm            10.8.2
          /usr/bin/npx            10.8.2
          /usr/bin/corepack       0.29.4
          
          nodejs:
            Installed: 20.18.1-1nodesource1
            Candidate: 20.18.1-1nodesource1
            Version table:
           *** 20.18.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                  100 /var/lib/dpkg/status
               20.18.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.17.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.15.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.13.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.11.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.8.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.6.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.5.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.3.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               18.19.0+dfsg-6~deb12u2 500
                  500 http://deb.debian.org/debian bookworm/main arm64 Packages
               18.19.0+dfsg-6~deb12u1 500
                  500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
          
          Temp directories causing deletion problem: 0
          No problems detected
          
          Errors in npm tree: 0
          No problems detected
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Hosts:
          raspberrypi         raspberrypi (version: 7.0.6, hostname: raspberrypi   , alive, uptime: 1642904)
          
          Core adapters versions
          js-controller:  7.0.6
          admin:          7.4.10
          javascript:     8.8.3
          
          nodejs modules from github:     1
          | +-- syno@3.0.0 (git+https://git@github.com/MeisterTR/syno.git#0104a973d33fe332aa6b1ab5be7fe8c57d3c68b0)
          
          Adapter State
          + system.adapter.accuweather.0            : accuweather           : raspberrypi                              -  enabled
          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
            system.adapter.alias-manager.0          : alias-manager         : raspberrypi                              - disabled
          + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
          + system.adapter.cloud.0                  : cloud                 : raspberrypi                              -  enabled
            system.adapter.devices.0                : devices               : raspberrypi                              -  enabled
          + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
            system.adapter.dwd.0                    : dwd                   : raspberrypi                              - disabled
            system.adapter.email.0                  : email                 : raspberrypi                              - disabled
          + system.adapter.esphome.0                : esphome               : raspberrypi                              -  enabled
          + system.adapter.eventlist.0              : eventlist             : raspberrypi                              -  enabled
          + system.adapter.eventlist.1              : eventlist             : raspberrypi                              -  enabled
            system.adapter.flot.0                   : flot                  : raspberrypi                              - disabled
            system.adapter.fullybrowser.0           : fullybrowser          : raspberrypi                              - disabled
          + system.adapter.heizoel.0                : heizoel               : raspberrypi                              -  enabled
          + system.adapter.history.0                : history               : raspberrypi                              -  enabled
            system.adapter.ical.1                   : ical                  : raspberrypi                              -  enabled
            system.adapter.ical.2                   : ical                  : raspberrypi                              -  enabled
            system.adapter.ical.3                   : ical                  : raspberrypi                              -  enabled
            system.adapter.icons-material-svg.0     : icons-material-svg    : raspberrypi                              -  enabled
          + system.adapter.iot.0                    : iot                   : raspberrypi                              -  enabled
          + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
          + system.adapter.javascript.1             : javascript            : raspberrypi                              -  enabled
            system.adapter.javascript.2             : javascript            : raspberrypi                              - disabled
          + system.adapter.logparser.0              : logparser             : raspberrypi                              -  enabled
          + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1886, bind: 0.0.0.0
          + system.adapter.opendtu.0                : opendtu               : raspberrypi                              -  enabled
          + system.adapter.operating-hours.0        : operating-hours       : raspberrypi                              -  enabled
          + system.adapter.parser.0                 : parser                : raspberrypi                              -  enabled
          + system.adapter.ping.0                   : ping                  : raspberrypi                              -  enabled
          + system.adapter.rpi2.0                   : rpi2                  : raspberrypi                              -  enabled
          + system.adapter.s7.0                     : s7                    : raspberrypi                              -  enabled
          + system.adapter.scenes.0                 : scenes                : raspberrypi                              -  enabled
          + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
          + system.adapter.smartthings.0            : smartthings           : raspberrypi                              -  enabled
          + system.adapter.snmp.0                   : snmp                  : raspberrypi                              -  enabled
          + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: 1883, bind: 0.0.0.0
          + system.adapter.synology.0               : synology              : raspberrypi                              -  enabled, port: 5000
          + system.adapter.tankerkoenig.0           : tankerkoenig          : raspberrypi                              -  enabled
          + system.adapter.tankerkoenig.1           : tankerkoenig          : raspberrypi                              -  enabled
          + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.telegram.1               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.time-switch.0            : time-switch           : raspberrypi                              -  enabled
          + system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              -  enabled
            system.adapter.vis-2-widgets-energy.0   : vis-2-widgets-energy  : raspberrypi                              -  enabled
            system.adapter.vis-2-widgets-gauges.0   : vis-2-widgets-gauges  : raspberrypi                              -  enabled
            system.adapter.vis-2-widgets-inventwo.0 : vis-2-widgets-inventwo: raspberrypi                              -  enabled
            system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: raspberrypi                              -  enabled
            system.adapter.vis-2-widgets-sweethome3d.0: vis-2-widgets-sweethome3d: raspberrypi                              -  enabled
          + system.adapter.vis-2.0                  : vis-2                 : raspberrypi                              -  enabled
            system.adapter.vis-colorpicker.0        : vis-colorpicker       : raspberrypi                              - disabled
            system.adapter.vis-history.0            : vis-history           : raspberrypi                              - disabled
            system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : raspberrypi                              - disabled
          + system.adapter.vis-inventwo.0           : vis-inventwo          : raspberrypi                              -  enabled
            system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : raspberrypi                              - disabled
            system.adapter.vis-justgage.0           : vis-justgage          : raspberrypi                              - disabled
            system.adapter.vis-map.0                : vis-map               : raspberrypi                              -  enabled
            system.adapter.vis-material-webfont.0   : vis-material-webfont  : raspberrypi                              - disabled
            system.adapter.vis-materialdesign.0     : vis-materialdesign    : raspberrypi                              - disabled
            system.adapter.vis-plumb.0              : vis-plumb             : raspberrypi                              -  enabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : raspberrypi                              - disabled
            system.adapter.vis.0                    : vis                   : raspberrypi                              -  enabled
          + system.adapter.vw-connect.0             : vw-connect            : raspberrypi                              -  enabled
          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          + system.adapter.wifilight.0              : wifilight             : raspberrypi                              -  enabled
          + system.adapter.wled.0                   : wled                  : raspberrypi                              -  enabled
          + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231214170338-if00
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1886, bind: 0.0.0.0
          + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
          + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: 1883, bind: 0.0.0.0
          + system.adapter.synology.0               : synology              : raspberrypi                              -  enabled, port: 5000
          + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.telegram.1               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          + system.adapter.zigbee.0                 : zigbee                : raspberrypi                              -  enabled, port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231214170338-if00
          
          ioBroker-Repositories
          ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
          │ (index) │ name     │ url                                                     │ auto upgrade │
          ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
          │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
          │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
          └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
          
          Active repo(s): stable
          Upgrade policy: none
          
          Installed ioBroker-Instances
          Used repository: stable
          Adapter    "accuweather"  : 1.5.0    , installed 1.5.0
          Adapter    "admin"        : 7.4.10   , installed 7.4.10
          Adapter    "alexa2"       : 3.26.5   , installed 3.26.5
          Adapter    "alias-manager": 2.0.0    , installed 2.0.0
          Adapter    "backitup"     : 3.0.31   , installed 3.0.31
          Adapter    "cloud"        : 5.0.1    , installed 5.0.1
          Adapter    "devices"      : 1.1.5    , installed 1.1.5
          Adapter    "discovery"    : 5.0.0    , installed 5.0.0
          Adapter    "dwd"          : 2.8.5    , installed 2.8.5
          Adapter    "email"        : 1.3.1    , installed 1.3.1
          Adapter    "eventlist"    : 2.0.1    , installed 2.0.1
          Adapter    "flot"         : 1.12.0   , installed 1.12.0
          Adapter    "fullybrowser" : 3.0.12   , installed 3.0.12
          Adapter    "heizoel"      : 1.0.3    , installed 1.0.3
          Adapter    "history"      : 3.0.1    , installed 3.0.1
          Adapter    "ical"         : 1.16.1   , installed 1.16.1
          Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
          Adapter    "iot"          : 3.3.0    , installed 3.3.0
          Adapter    "javascript"   : 8.8.3    , installed 8.8.3
          Controller "js-controller": 7.0.6    , installed 7.0.6
          Adapter    "logparser"    : 2.2.2    , installed 2.2.2
          Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
          Adapter    "opendtu"      : 3.1.0    , installed 3.1.0
          Adapter    "operating-hours": 1.2.0  , installed 1.2.0
          Adapter    "parser"       : 2.2.4    , installed 2.2.4
          Adapter    "ping"         : 1.6.2    , installed 1.6.2
          Adapter    "rpi2"         : 2.2.1    , installed 2.2.1
          Adapter    "s7"           : 1.4.3    , installed 1.4.3
          Adapter    "scenes"       : 3.2.3    , installed 3.2.3
          Adapter    "shelly"       : 8.5.1    , installed 8.5.1
          Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
          Adapter    "snmp"         : 3.2.0    , installed 3.2.0
          Adapter    "socketio"     : 6.7.1    , installed 6.7.1
          Adapter    "sonoff"       : 3.1.2    , installed 3.1.2
          Adapter    "synology"     : 3.1.0    , installed 3.1.0
          Adapter    "tankerkoenig" : 3.4.0    , installed 3.4.0
          Adapter    "telegram"     : 3.9.0    , installed 3.9.0
          Adapter    "trashschedule": 3.3.0    , installed 3.3.0
          Adapter    "vis"          : 1.5.6    , installed 1.5.6
          Adapter    "vis-2"        : 2.9.64   , installed 2.9.64
          Adapter    "vis-2-widgets-energy": 1.0.2, installed 1.0.2
          Adapter    "vis-2-widgets-gauges": 1.1.0, installed 1.1.0
          Adapter    "vis-2-widgets-inventwo": 0.1.11, installed 0.1.11
          Adapter    "vis-2-widgets-material": 1.4.10, installed 1.4.10
          Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
          Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
          Adapter    "vis-hqwidgets": 1.5.1    , installed 1.5.1
          Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
          Adapter    "vis-jqui-mfd" : 1.1.1    , installed 1.1.1
          Adapter    "vis-justgage" : 2.1.7    , installed 2.1.7
          Adapter    "vis-map"      : 1.1.2    , installed 1.1.2
          Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
          Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
          Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
          Adapter    "web"          : 6.2.5    , installed 6.2.5
          Adapter    "wifilight"    : 1.2.2    , installed 1.2.2
          Adapter    "wled"         : 0.7.2    , installed 0.7.2
          Adapter    "ws"           : 2.6.2    , installed 2.6.2
          Adapter    "zigbee"       : 1.10.14  , installed 1.10.14
          
          Objects and States
          Please stand by - This may take a while
          Objects:        20490
          States:         18002
          
          *** OS-Repositories and Updates ***
          Hit:1 http://deb.debian.org/debian bookworm InRelease
          Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
          Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
          Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
          Reading package lists...
          Pending Updates: 91
          
          *** 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       5090       849/iobroker.js-con
          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       6932       849/iobroker.js-con
          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          57892171   3550787/cupsd
          tcp        0      0 0.0.0.0:6052            0.0.0.0:*               LISTEN      1001       35038943   3918124/python3
          tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       12157      2445/io.sonoff.0
          tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       11096520   943553/io.shelly.0
          tcp        0      0 0.0.0.0:1887            0.0.0.0:*               LISTEN      1001       10857      2233/io.mqtt.0
          tcp        0      0 0.0.0.0:1886            0.0.0.0:*               LISTEN      1001       10856      2233/io.mqtt.0
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          6740       878/sshd: /usr/sbin
          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       17496629   1949900/io.admin.0
          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       14158      2854/io.web.0
          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          57892170   3550787/cupsd
          tcp6       0      0 :::22                   :::*                    LISTEN      0          6742       878/sshd: /usr/sbin
          udp        0      0 0.0.0.0:52563           0.0.0.0:*                           104        6629       679/avahi-daemon: r
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       35041626   3918065/io.esphome.
          udp        0      0 192.168.178.142:5353    0.0.0.0:*                           1001       35038949   3918124/python3
          udp        0      0 127.0.0.1:5353          0.0.0.0:*                           1001       35038948   3918124/python3
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       35038944   3918124/python3
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       14185      2878/io.wled.0
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        6627       679/avahi-daemon: r
          udp        0      0 0.0.0.0:46401           0.0.0.0:*                           1001       26568633   3055796/io.snmp.0
          udp6       0      0 :::39636                :::*                                104        6630       679/avahi-daemon: r
          udp6       0      0 fe80::c993:be24:677:546 :::*                                0          26194149   767/NetworkManager
          udp6       0      0 :::5353                 :::*                                104        6628       679/avahi-daemon: r
          
          *** Log File - Last 25 Lines ***
          
          2025-01-20 18:27:25.046  - info: history.0 (1632) disabled logging of 0_userdata.0.Haus.Stromzähler.History.HIS_Leistung_L1
          2025-01-20 18:27:32.318  - info: history.0 (1632) disabled logging of 0_userdata.0.Haus.Stromzähler.History.HIS_Leistung_L2
          2025-01-20 18:27:39.838  - info: history.0 (1632) disabled logging of 0_userdata.0.Haus.Stromzähler.History.HIS_Leistung_L3
          2025-01-20 18:27:51.592  - info: history.0 (1632) disabled logging of 0_userdata.0.Haus.Stromzähler.History.Leistung
          2025-01-20 18:29:45.485  - info: cloud.0 (3619898) User accessed from cloud: entfernt2025-01-20 18:30:00.006  - info: javascript.0 (2022) script.js.System.Astro_Zeiten: Astro: Gültige Zeiten: [aktueller Tag: 2] | [nächster Tag: 12] | [Aktualisiert: 0] | Aktuelle Tageszeit: Abenddämmerung | Kommende Tageszeit: später Abend
          2025-01-20 18:30:00.027  - info: host.raspberrypi instance system.adapter.ical.2 in version "1.16.1" started with pid 3939510
          2025-01-20 18:30:01.818  - info: ical.2 (3939510) starting. Version 1.16.1 in /opt/iobroker/node_modules/iobroker.ical, node: v20.18.1, js-controller: 7.0.6
          2025-01-20 18:30:02.470  - info: ical.2 (3939510) processing URL: Müll Kalender 7 https://calendar.google.com/calendar/ical/entfernt/basic.ics
          2025-01-20 18:30:04.037  - info: host.raspberrypi instance system.adapter.ical.1 in version "1.16.1" started with pid 3939528
          2025-01-20 18:30:05.637  - info: ical.1 (3939528) starting. Version 1.16.1 in /opt/iobroker/node_modules/iobroker.ical, node: v20.18.1, js-controller: 7.0.6
          2025-01-20 18:30:06.236  - info: ical.1 (3939528) processing URL: Müll Kalender https://calendar.google.entfernt/basic.ics
          2025-01-20 18:30:07.605  - info: ical.2 (3939510) Terminated (NO_ERROR): Without reason
          2025-01-20 18:30:08.088  - info: host.raspberrypi instance system.adapter.ical.3 in version "1.16.1" started with pid 3939690
          2025-01-20 18:30:08.129  - warn: ical.2 (3939510) get state error: Connection is closed.
          2025-01-20 18:30:08.301  - info: host.raspberrypi instance system.adapter.ical.2 having pid 3939510 terminated with code 0 (NO_ERROR)
          2025-01-20 18:30:11.676  - info: ical.1 (3939528) Terminated (NO_ERROR): Without reason
          2025-01-20 18:30:12.269  - info: host.raspberrypi instance system.adapter.ical.1 having pid 3939528 terminated with code 0 (NO_ERROR)
          2025-01-20 18:30:13.336  - info: ical.3 (3939690) starting. Version 1.16.1 in /opt/iobroker/node_modules/iobroker.ical, node: v20.18.1, js-controller: 7.0.6
          2025-01-20 18:30:13.942  - warn: ical.3 (3939690) Error reading from URL "https://calendar.google.entfernt/basic.ics": 404
          2025-01-20 18:30:13.943  - warn: ical.3 (3939690) Error reading "https://calendar.google.entfernt
          bd00428fd/basic.ics"
          2025-01-20 18:30:14.019  - info: ical.3 (3939690) processing URL: Geburtstage https://calendar.google.entfernt
          a/basic.ics
          2025-01-20 18:30:19.385  - info: ical.3 (3939690) Terminated (NO_ERROR): Without reason
          2025-01-20 18:30:19.914  - info: host.raspberrypi instance system.adapter.ical.3 having pid 3939690 terminated with code 0 (NO_ERROR)
          2025-01-20 18:31:34.918  - info: cloud.0 (3619898) User disconnected from cloud: entfernt
          
          

          MOD-EDIT: private Daten entfernt

          ============ Mark until here for C&P =============
           Static hostname: raspberrypi
                 Icon name: computer
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.6.62+rpt-rpi-2712
              Architecture: arm64
          
          Installation:           native
          Kernel:                 aarch64
          Userland:               64 bit
          Timezone:               Europe/Berlin (CET, +0100)
          User-ID:                1000
          Display-Server:         true
          Boot Target:            graphical.target
          
          Pending OS-Updates:     91
          Pending iob updates:    0
          
          Nodejs-Installation:
          /usr/bin/nodejs         v20.18.1
          /usr/bin/node           v20.18.1
          /usr/bin/npm            10.8.2
          /usr/bin/npx            10.8.2
          /usr/bin/corepack       0.29.4
          
          Recommended versions are nodejs 20.18.1 and npm 10.8.2
          nodeJS installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            8.4G        4.9G        797M         20M        2.9G        3.6G
          Swap:           209M        208M        966K
          Total:          8.7G        5.1G        798M
          
          Active iob-Instances:   42
          Upgrade policy: none
          
          ioBroker Core:          js-controller           7.0.6
                                  admin                   7.4.10
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects:                20490
          States:                 18002
          
          Size of iob-Database:
          
          47M     /opt/iobroker/iobroker-data/objects.jsonl
          26M     /opt/iobroker/iobroker-data/states.jsonl
          
          
          Operating System is the current Debian stable version codenamed 'bookworm'!
          
          =================== END OF SUMMARY ====================
          
          

          OliverIO Homoran 3 Replies Last reply Reply Quote 0
          • OliverIO
            OliverIO @tourer4778 last edited by OliverIO

            @tourer4778 sagte in Manchmal hohe CPU Last:

            849 iobroker 20 0 9890.6m 671088 46592 S 62.1 8.1 12d+13h iobroker.js-con

            jetzt musst du nur noch sagen
            was 62.1 und 8.1 ist
            welches davon ist cpu und welche mem?
            top lässt sich konfigurieren, so das das nicht immer bei jedem gleich ist
            ich gehe mal davon aus, das erste ist cpu

            das ist zuviel.

            auch wenn du es evtl nicht hören willst oder davon ausgehst, das das damit nix zu tun hat.
            aber ich gehe davon aus, das deine datenpunkte zu oft getriggert werden und dadurch hohe last entsteht.

            falls es doch noch nicht so klar ist um welches skript es sich handelt, kannst du der reihe nach deine skripte deaktivieren/aktivieren
            im expertenmodus in der instanzübersicht zeigt es dir an wie oft datenpunkte getriggert und geschrieben werden
            d35cb355-3092-488b-a248-3a8e952c9418-image.png
            wenn es dann klar ist, dann baue in die skripte/blockly mal debuganweisungen ein, so das du dann im log siehst wie oft an welcher stelle da was passiert. so müsste dann das besser eingrenzbar sein.

            T 1 Reply Last reply Reply Quote 1
            • Homoran
              Homoran Global Moderator Administrators @tourer4778 last edited by

              @tourer4778 sagte in Manchmal hohe CPU Last:

              TOP

              da fehlen die gsnz wichtigen Header, z.B.

              @tourer4778 sagte in Manchmal hohe CPU Last:

              load average: 3.20, 2.39, 2.32

              was viel zu hoch ist

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

                @tourer4778 sagte in Manchmal hohe CPU Last:

                /dev/sda1 vfat 510M 76M 435M 15% /boot/firmware

                hast du ein USB-Laufwerk am Pi?
                Möglicherweise sogar am USB3?

                Was schaufelst du an Daten?
                @tourer4778 sagte in Manchmal hohe CPU Last:

                Swap: 209M 208M 966K

                Bei 8GB RAM noch den Swap auszunutzen ist schon eine Leistung.

                Das Betriebssystem ist vernachlässigt
                @tourer4778 sagte in Manchmal hohe CPU Last:

                Pending OS-Updates: 91

                Schleppst du da noch einen Desktop mit allem unnötigen Krempel mit rum?
                @tourer4778 sagte in Manchmal hohe CPU Last:

                Boot Target: graphical.target

                bitte überprüfe nochmal die logausgaben im diag.
                Ich hoffe dass ich alles private entfernt habe.

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

                  @oliverio sagte in Manchmal hohe CPU Last:

                  jetzt musst du nur noch sagen
                  was 62.1 und 8.1 ist

                  62.1 ist die CPU Last, richtig.
                  Heute nacht hat er sich auf 55% eingependelt.

                  Was das zu oft Triggern angeht, gebe ich dir recht.
                  Ich nutze meine Visu um viele Werte abzulesen, diese sollen natürlich nicht im Minutentakt kommen.
                  So ist alles gewachsen und leider auch die CPU-Last.
                  Ich bin leider auch davon ausgegangen, das so ein PI5 mehr verarbeiten kann.
                  Was noch Last verursachen wird, ist eine Regelung, wenn ich mit meiner PV Anlage Einspeise. Dann wird jede Sekunde neu geregelt.
                  Habe ich dann dafür die falsche Hardware?
                  Eine SPS in der Industrie verträgt auch mehr Abfragen und die Zykluszeit geht nicht so schnell in den Keller.

                  OliverIO 1 Reply Last reply Reply Quote 0
                  • T
                    tourer4778 @Homoran last edited by

                    @homoran sagte in Manchmal hohe CPU Last:

                    hast du ein USB-Laufwerk am Pi?
                    Möglicherweise sogar am USB3?

                    Das Betriebssystem läuft auf einer SSD Festplatte

                    Was schaufelst du an Daten?
                    @tourer4778 sagte in Manchmal hohe CPU Last:

                    Swap: 209M 208M 966K

                    Wie ich schon weiter oben geschrieben habe, ich nutze meine Visu um viele aktuelle Daten abzufragen und zu Archivieren.
                    Natürlich auch, um etwas zu steuern / Schalten.

                    Bei 8GB RAM noch den Swap auszunutzen ist schon eine Leistung.

                    Schleppst du da noch einen Desktop mit allem unnötigen Krempel mit rum?
                    @tourer4778 sagte in Manchmal hohe CPU Last:

                    Boot Target: graphical.target

                    Nein, zumindest habe ich damals ohne Installiert

                    bitte überprüfe nochmal die logausgaben im diag.
                    Ich hoffe dass ich alles private entfernt habe.

                    Mache ich heute abend.

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

                      @tourer4778

                      Also die Auslastung JavaScript/Iobroker weist darauf hin, das die Skripte den Iobroker schon immer wieder beschäftigen.
                      Wenn du das überprüft hast und das alles seine Richtigkeit hat,
                      Dann ist es so. Du hast relativ viele Adapter laufen,
                      Die load average ist zwischen 2.3 und 3.3, was heißt das dein Rechner schon zu 2/3 bis 3/4 ausgelastet ist.
                      Da wäre jetzt für mich die obere Grenze erreicht.
                      Wenn du jetzt nicht weiter vorhast das System weiter auszubauen dann passt das noch so.
                      Du kannst mal noch die grafische Oberfläche entfernen
                      Und was ich oben schon erwähnt habe, mal nach der granularität der aufgezeichneten Werte schauen. Manche Werte braucht man nicht mehrfach pro Sekunde, sondern es reicht auch sekundenweise.
                      Das senkt evtl. Mal noch die Rate der geschriebenen Daten.
                      Wenn du noch Hauptspeicher frei hast (nach dem deinstallieren der grafischen Oberfläche definitiv) könntest du von jsonl mal probeweise auf Redis umstellen.

                      Ich weiß nicht ob hier jemand da mal einen Vergleich gemacht hat. Jsonl ist in JavaScript geschrieben, Redis ist in c und wahrscheinlich etwas performanter. Aber da kommen jetzt nicht die Riesen CPU Prozentpunkte heraus.

                      Ich habe noch gesehen, das da ein synology Adapter läuft? Evtl könntest du auch alles in ein docker Container auf die synology umziehen, oder per Master/Slave 2 Iobroker Instanzen laufen lassen (1xsynology/1xraspi)

                      Die visu ist eigentlich nicht das Problem, da die ja auf dem Client läuft (oder ist das evtl das gleiche Gerät?)

                      1 Reply Last reply Reply Quote 0
                      • T
                        tourer4778 last edited by tourer4778

                        @oliverio
                        Ich werde nach für nach alles überprüfen, das ich weniger Prozesse laufen habe insgesamt.
                        Meine NAS kann ich nicht wirklich nutzen (zu alt) und ich würde schon gern den PI5 weiter nutzen.
                        Die Visu rufe ich schon auf meinem PI ab (http://IP:8082/vis-2/?Visu#0)

                        Die load average ist zwischen 2.3 und 3.3, was heißt das dein Rechner schon zu 2/3 bis 3/4 ausgelastet ist.

                        18:37:32 up 19 days, 21 min, 4 users, load average: 3.20, 2.39, 2.32
                        Wie muss ich mir das mit der load average vorstellen Welcher Wert wäre denn hier gut?

                        OliverIO T 2 Replies Last reply Reply Quote 0
                        • OliverIO
                          OliverIO @tourer4778 last edited by

                          @tourer4778

                          Das kann man so nicht sagen.
                          Ich merke mir den Wert immer so
                          1 bedeutet, das in einem 1 kernsystem dieser zu 100 Prozent ausgelastet ist.
                          Ist es ein 4 kernsystem, dann bedeutet 1 = 25%
                          Du hast 4 Kerne, also Auslastung ist 2/3 bis 3/4.
                          Die 3 zahlen sind Messungen in unterschiedlichen Zeitbereichen
                          https://de.wikipedia.org/wiki/Load
                          Deine Zahlen bedeuten, das sich der load in 15 Minuten nicht so großartig ändert und das dann ein Dauerzustand ist.

                          Wie gesagt ist es nicht schlimm wenn der Prozessor was zu tun hat, sofern dein System noch ausreichend reagiert und alles abarbeiten kann. Wie oben beschrieben sehe ich diesen load so als die Obergrenze was noch gut ist.
                          Mehr sollte es allerdings im Durchschnitt nicht werden

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

                            @tourer4778

                            Ich bin ebenfalls der Meinung das da was in deinen Skripten schief läuft.
                            6000 eingehende Änderungen ist schon ne Hausnummer und eine Auslastung beständig von mehr als 25% würde ich auch als ungewöhnlich einstufen. Ich für meinen Teil schreibe die Skripte so, das sie meist nicht wirklich zur Last beitragen.

                            Nur als Vergleich:

                            Ich hab einen Regelauslastung von normalerweise 15% auf einem Intel n100 mit 15 Containern und 2500 Ereignissen im Javascript-Adapter. Da Redis und iobroker in unterschiedlichen Contrainern laufen beschreibe ich das mal so, weil die beiden häufig die höchste CPU Last beisteuern.

                            Ich würde auch empfehlen auf redis umzusteigen.

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

                              @tourer4778 sagte in Manchmal hohe CPU Last:

                              @homoran sagte in Manchmal hohe CPU Last:

                              hast du ein USB-Laufwerk am Pi?
                              Möglicherweise sogar am USB3?

                              Das Betriebssystem läuft auf einer SSD Festplatte

                              und?


                              hier mal als Vergleich mein pi5 8GB
                              Screenshot_20250121-100232_JuiceSSH.jpg

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tourer4778 @Homoran last edited by

                                @homoran
                                Ich bin der Meinung, das die SSD am USB2 hängt, weil es wohl mit USB3 probleme gibt / gab.

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

                                  @tourer4778 sagte in Manchmal hohe CPU Last:

                                  @homoran
                                  Ich bin der Meinung, das die SSD am USB2 hängt, weil es wohl mit USB3 probleme gibt / gab.

                                  ok, das war der Hintergedanke.

                                  Diese Probleme könnten die Load average noch weiter in die Höhe treiben als es die CPU Auslastung erwarten lässt.
                                  und bei Werten >4 das System vorübergehend lähmen.

                                  was bei dir die Load und die CPU Last des Controllers so hoch treibt musst du dann weiter eingrenzen

                                  T 2 Replies Last reply Reply Quote 0
                                  • T
                                    tourer4778 @Homoran last edited by

                                    Ich danke euch wieder einmal.
                                    Ich habe schon weitere änderungen, die ich noch ändern möchte und dann wieder berichten.
                                    Das wird sich alerdings etwas ziehen.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tourer4778 @Homoran last edited by

                                      @homoran
                                      Ich habe noch einmal nachgesehen, wo ich meine SSD Festplatte eingesteckt habe. USB 3😡 .
                                      Das ist wohl im Herbst passiert, nach dem ich ihn mal ausbauen musste und dann ist mir wohl der Fehler Unterlaufen.
                                      Das würde auch hinkommen mit der CPU Last. Bitte nichts negatives schreiben, ich ärgere mich selbt genug über mich.

                                      Die CPU Last liegt jetzt bei zwischen 25 und 40%
                                      Systemuptime and Load:
                                      17:51:20 up 15 min, 4 users, load average: 0.24, 0.64, 0.72
                                      CPU threads: 4

                                      Mem: 8.4G 3.8G 3.0G 26M 1.9G 4.7G
                                      Swap: 209M 0B 209M
                                      Total: 8.7G 3.8G 3.2G

                                      1 Reply Last reply Reply Quote 1
                                      • T
                                        tourer4778 last edited by

                                        @oliverio sagte in Manchmal hohe CPU Last:

                                        Du kannst mal noch die grafische Oberfläche entfernen

                                        Kannst du mir bitte sagen, wie das machen kann?

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

                                          @tourer4778
                                          wenn du iob fix verwendest, wird wohl in einer neueren Version das geprüft und man hat die Möglichkeit umzuschalten. Das ist zwar kein deinstallieren, aber die grafische Oberfläche wird dann nicht mehr gestartet

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

                                            @oliverio
                                            Iob fix sagt mir nichts. Ich bin der Meinung, das ich die light Version installiert hatte.

                                            Meine CPU Last geht immer weiter runter . Ich Optimiere meine Scripte.

                                            Homoran 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

                                            925
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            73
                                            3290
                                            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