NEWS
iobroker Absturz
-
Ich werde den Raspberry dann heute Abend mal runterfahren, die SSD an USB2 anschließen und wieder berichten.
-
Bevor ich den Raspi runterfahren wollte, hab ich nochmal iob_diag laufen lassen...
mittendrin blieb die Ausführung stehen.Ich habe dann abgebrochen und wollte mich neu per SSH verbinden: Fehlanzeige, sieht genauso aus wie nach einem "Absturz"....
-
@pb74 sagte in iobroker Absturz:
Gestern Abend ist mein iobroker wieder abgestürzt
@pb74 sagte in iobroker Absturz:
Bevor ich den Raspi runterfahren wollte, hab ich nochmal iob_diag laufen lassen...
mittendrin blieb die Ausführung stehen.Wenn es nicht doch ein Amoklaufendes Skript ist, dass damals und jetzt um diese Zeit gestartet ist, ist es immer noch nicht ausgeschlossen dass es der USB3 Anschluss ist.
Gibt es irgendetwas was jetzt gerade startete?
z.B. um 19:30 -
...leider nein.
-
Mit Maus / Tastatur / Monitor direkt angeschlossen ließ sich der Raspberry nicht neustarten.
Ich hab ihn also hart runtergefahren... die SSD ist jetzt an einem USB2-Anschluss dran und iob_diag wurde (vollständig) ausgeführt. Hier das Ergebnis...bitte schaut nochmal drüber.
Script v.2024-12-09 Raspbian+zigbee diag+masking *** BASE SYSTEM *** Static hostname: iobroker001 Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.62+rpt-rpi-v8 Architecture: arm64 OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 20:04:51 up 3 min, 1 user, load average: 5.45, 2.11, 0.80 CPU threads: 4 *** LIFE CYCLE STATUS *** Unknown release codenamed 'bookworm'. Please check yourself if the Operating System is actively maintained. *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Fri 2025-01-24 20:04:51 CET Universal time: Fri 2025-01-24 19:04:51 UTC RTC time: n/a 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': peter HOME=/home/peter GROUPS=peter adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 2.4G 189M 167K 1.5G 1.6G Swap: 209M 1.3M 208M Total: 4.2G 2.4G 397M Active iob-Instances: 17 3790 M total memory 2285 M used memory 807 M active memory 2683 M inactive memory 177 M free memory 24 M buffer memory 1379 M swap cache 199 M total swap 1 M used swap 198 M free swap *** top - Table Of Processes *** top - 20:04:52 up 3 min, 1 user, load average: 5.45, 2.11, 0.80 Tasks: 202 total, 8 running, 194 sleeping, 0 stopped, 0 zombie %Cpu(s): 85.7 us, 7.1 sy, 0.0 ni, 0.0 id, 7.1 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3790.9 total, 173.8 free, 2288.5 used, 1404.7 buff/cache MiB Swap: 200.0 total, 198.7 free, 1.2 used. 1502.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 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 1.2M 378M 1% /run /dev/sda2 ext4 235G 14G 209G 7% / tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 65M 446M 13% /boot/firmware tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Jan 24 20:01:43 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=D8:3A:DD:7F:7D:45 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=2edada06-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Jan 24 20:01:51 2025] EXT4-fs (sda2): mounted filesystem 93c89e92-8f2e-4522-ad32-68faed883d2f ro with ordered data mode. Quota mode: none. [Fri Jan 24 20:01:52 2025] EXT4-fs (sda2): re-mounted 93c89e92-8f2e-4522-ad32-68faed883d2f r/w. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/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: 6.0G /var/ 4.0G /var/log/journal/a8a92d47c12b42b58df1e1120bb26229 4.0G /var/log/journal 4.0G /var/log 1.3G /var/lib Archived and active journals take up 3.9G in the file system. /opt/iobroker/backups: 6.0M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.6G /opt/iobroker/iobroker-data/ 1.3G /opt/iobroker/iobroker-data/files 617M /opt/iobroker/iobroker-data/files/javascript.admin 560M /opt/iobroker/iobroker-data/files/javascript.admin/static 558M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 38M /opt/iobroker/iobroker-data/states.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.8e80ccb0.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/customWidgets.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': No Devices found 'by-id' Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v18.20.5 /usr/bin/node v18.20.5 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 nodejs: Installed: 18.20.5-1nodesource1 Candidate: 18.20.5-1nodesource1 Version table: *** 18.20.5-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.20.4-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.3-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.20.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.19.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.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 18.19.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/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: iobroker001 iobroker001 (version: 7.0.6, hostname: iobroker001 , alive, uptime: 225) Core adapters versions js-controller: 7.0.6 admin: 7.4.10 javascript: 8.8.3 nodejs modules from github: 1 +-- iobroker.time-switch@2.2.2 (git+ssh://git@github.com/walli545/ioBroker.time-switch.git#45b5addb484d270dcac6d1bfdb1a9f86b444d80e) Adapter State + system.adapter.admin.0 : admin : iobroker001 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker001 - enabled system.adapter.discovery.0 : discovery : iobroker001 - enabled + system.adapter.hm-rega.0 : hm-rega : iobroker001 - enabled + system.adapter.hm-rpc.0 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : iobroker001 - enabled, port: 0 system.adapter.icons-icons8.0 : icons-icons8 : iobroker001 - disabled system.adapter.icons-material-png.0 : icons-material-png : iobroker001 - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iobroker001 - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker001 - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker001 - disabled + system.adapter.influxdb.0 : influxdb : iobroker001 - enabled, port: 8086 + system.adapter.javascript.0 : javascript : iobroker001 - enabled system.adapter.modbus.0 : modbus : iobroker001 - enabled + system.adapter.mytime.0 : mytime : iobroker001 - enabled + system.adapter.opendtu.0 : opendtu : iobroker001 - enabled system.adapter.pvforecast.0 : pvforecast : iobroker001 - enabled system.adapter.pvforecast.1 : pvforecast : iobroker001 - enabled system.adapter.rpi2.0 : rpi2 : iobroker001 - enabled system.adapter.s7.0 : s7 : iobroker001 - enabled system.adapter.s7.1 : s7 : iobroker001 - enabled system.adapter.s7.2 : s7 : iobroker001 - enabled system.adapter.socketio.0 : socketio : iobroker001 - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.sonoff.0 : sonoff : iobroker001 - enabled, port: 1883, bind: 192.168.1.141 + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker001 - enabled + system.adapter.telegram.0 : telegram : iobroker001 - enabled, port: 8443, bind: 0.0.0.0 system.adapter.terminal.0 : terminal : iobroker001 - enabled, port: 8090, bind: 0.0.0.0, run as: admin + system.adapter.time-switch.0 : time-switch : iobroker001 - enabled system.adapter.tr-064.0 : tr-064 : iobroker001 - enabled + system.adapter.vis-2.0 : vis-2 : iobroker001 - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker001 - disabled system.adapter.vis-icontwo.0 : vis-icontwo : iobroker001 - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobroker001 - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iobroker001 - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : iobroker001 - disabled system.adapter.vis-plumb.0 : vis-plumb : iobroker001 - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker001 - disabled system.adapter.vis.0 : vis : iobroker001 - enabled + system.adapter.web.0 : web : iobroker001 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker001 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : iobroker001 - enabled, port: 0 + system.adapter.influxdb.0 : influxdb : iobroker001 - enabled, port: 8086 system.adapter.socketio.0 : socketio : iobroker001 - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.sonoff.0 : sonoff : iobroker001 - enabled, port: 1883, bind: 192.168.1.141 + system.adapter.telegram.0 : telegram : iobroker001 - enabled, port: 8443, bind: 0.0.0.0 system.adapter.terminal.0 : terminal : iobroker001 - enabled, port: 8090, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker001 - enabled, port: 8082, bind: 0.0.0.0, run as: admin 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 "admin" : 7.4.10 , installed 7.4.10 Adapter "backitup" : 3.0.31 , installed 3.0.25 [Updatable] Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "hm-rega" : 5.1.0 , installed 5.1.0 Adapter "hm-rpc" : 2.0.2 , installed 2.0.2 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.2.1 , installed 1.2.1 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.6 , installed 7.0.6 Adapter "modbus" : 6.3.2 , installed 6.3.2 Adapter "mytime" : 1.4.0 , installed 0.7.12 [Updatable] Adapter "opendtu" : 3.1.0 , installed 2.0.0 [Updatable] Adapter "pvforecast" : 4.1.0 , installed 4.1.0 Adapter "rpi2" : 2.3.1 , installed 2.2.1 [Updatable] Adapter "s7" : 1.4.3 , installed 1.4.3 Adapter "signal-cmb" : 0.3.0 , installed 0.3.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "sonoff" : 3.1.2 , installed 3.1.2 Adapter "telegram" : 3.9.0 , installed 3.9.0 Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "tr-064" : 4.3.0 , installed 4.3.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.64 , installed 2.9.64 Adapter "vis-hqwidgets": 1.5.1 , installed 1.5.1 Adapter "vis-icontwo" : 1.11.0 , installed 1.5.0 [Updatable] Adapter "vis-inventwo" : 3.3.4 , installed 3.3.4 Adapter "vis-jqui-mfd" : 1.1.1 , installed 1.1.1 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 "ws" : 2.6.2 , installed 2.6.2 Objects and States Please stand by - This may take a while Objects: 5625 States: 4802 *** OS-Repositories and Updates *** Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease Hit:2 https://repos.influxdata.com/debian stable InRelease Hit:3 http://deb.debian.org/debian bookworm InRelease Hit:4 https://packages.grafana.com/oss/deb stable InRelease Hit:5 http://deb.debian.org/debian-security bookworm-security InRelease Hit:6 http://deb.debian.org/debian bookworm-updates InRelease Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... Done 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 5759 890/iobroker.js-con tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 4768 890/iobroker.js-con tcp 0 0 192.168.1.141:8701 0.0.0.0:* LISTEN 1001 7489 1280/io.hm-rpc.2 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 5640 694/sshd: /usr/sbin tcp 0 0 192.168.1.141:1883 0.0.0.0:* LISTEN 1001 9199 1654/io.sonoff.0 tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 6787 789/influxd tcp 0 0 192.168.1.141:2001 0.0.0.0:* LISTEN 1001 9311 1240/io.hm-rpc.0 tcp 0 0 192.168.1.141:2010 0.0.0.0:* LISTEN 1001 10300 1257/io.hm-rpc.1 tcp6 0 0 :::3000 :::* LISTEN 106 6922 889/grafana tcp6 0 0 :::22 :::* LISTEN 0 5642 694/sshd: /usr/sbin tcp6 0 0 :::8084 :::* LISTEN 1001 8057 1832/io.socketio.0 tcp6 0 0 :::8086 :::* LISTEN 999 5746 789/influxd tcp6 0 0 :::8081 :::* LISTEN 1001 7218 1042/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 12696 1925/io.web.0 tcp6 0 0 :::8090 :::* LISTEN 1001 11909 1851/io.terminal.0 udp 0 0 0.0.0.0:59105 0.0.0.0:* 104 4551 562/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 4549 562/avahi-daemon: r udp6 0 0 fe80::9948:b004:76b:546 :::* 0 1865 632/NetworkManager udp6 0 0 :::57898 :::* 104 4552 562/avahi-daemon: r udp6 0 0 :::5353 :::* 104 4550 562/avahi-daemon: r *** Log File - Last 25 Lines *** 2025-01-24 20:07:00.183 - warn: javascript.0 (1101) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-24 20:07:00.183 - warn: javascript.0 (1101) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-24 20:07:00.183 - warn: javascript.0 (1101) at listOnTimeout (node:internal/timers:571:11) 2025-01-24 20:07:00.183 - warn: javascript.0 (1101) at processTimers (node:internal/timers:512:7) 2025-01-24 20:07:00.208 - warn: javascript.0 (1101) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-24 20:07:00.209 - warn: javascript.0 (1101) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-24 20:07:00.210 - warn: javascript.0 (1101) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-24 20:07:00.210 - warn: javascript.0 (1101) at listOnTimeout (node:internal/timers:571:11) 2025-01-24 20:07:00.210 - warn: javascript.0 (1101) at processTimers (node:internal/timers:512:7) 2025-01-24 20:07:00.213 - info: javascript.0 (1101) State value to set for "0_userdata.0.eig_Datenpunkte.openDTU_Erreichbarkeit" has to be type "string" but received type "number" 2025-01-24 20:07:00.214 - info: javascript.0 (1101) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_AC_Produktion" has to be type "string" but received type "number" 2025-01-24 20:07:00.214 - info: javascript.0 (1101) State value to set for "0_userdata.0.eig_Datenpunkte.WR_Sued_Netz_verbunden" has to be type "string" but received type "number" 2025-01-24 20:07:00.221 - warn: javascript.0 (1101) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-24 20:07:00.222 - warn: javascript.0 (1101) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-24 20:07:00.222 - warn: javascript.0 (1101) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-24 20:07:00.222 - warn: javascript.0 (1101) at listOnTimeout (node:internal/timers:571:11) 2025-01-24 20:07:00.222 - warn: javascript.0 (1101) at processTimers (node:internal/timers:512:7) 2025-01-24 20:07:00.223 - info: javascript.0 (1101) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil3_bool_in_string" has to be type "string" but received type "number" 2025-01-24 20:07:00.237 - warn: javascript.0 (1101) You are assigning a number to the state "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" which expects a string. Please fix your code to use a string or change the state type to number. This warning might become an error in future versions. 2025-01-24 20:07:00.238 - warn: javascript.0 (1101) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2090:20) 2025-01-24 20:07:00.238 - warn: javascript.0 (1101) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2148:29) 2025-01-24 20:07:00.239 - warn: javascript.0 (1101) at listOnTimeout (node:internal/timers:571:11) 2025-01-24 20:07:00.239 - warn: javascript.0 (1101) at processTimers (node:internal/timers:512:7) 2025-01-24 20:07:00.243 - info: javascript.0 (1101) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil2_bool_in_string" has to be type "string" but received type "number" 2025-01-24 20:07:00.286 - info: javascript.0 (1101) State value to set for "0_userdata.0.eig_Datenpunkte.Bewaess_Ventil1_bool_in_string" has to be type "string" but received type "number"
-
@pb74 sagte in iobroker Absturz:
load average: 5.45,
da knallts bald wieder
aber warum?
gib mal die Ausgabe von
top
-
top - 20:21:54 up 20 min, 1 user, load average: 2.39, 1.47, 1.43 Tasks: 193 total, 3 running, 190 sleeping, 0 stopped, 0 zombie %Cpu(s): 6.2 us, 1.2 sy, 0.0 ni, 92.1 id, 0.1 wa, 0.0 hi, 0.4 si, 0.0 st MiB Mem : 3790.9 total, 501.2 free, 2280.6 used, 1085.0 buff/cache MiB Swap: 200.0 total, 82.3 free, 117.7 used. 1510.3 avail Mem
-
top - 20:23:41 up 21 min, 1 user, load average: 1.23, 1.41, 1.42 Tasks: 193 total, 1 running, 192 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.8 us, 0.8 sy, 0.0 ni, 94.0 id, 0.0 wa, 0.0 hi, 0.4 si, 0.0 st MiB Mem : 3790.9 total, 460.5 free, 2318.1 used, 1088.1 buff/cache MiB Swap: 200.0 total, 83.6 free, 116.4 used. 1472.8 avail Mem
-
@pb74 die Tabelle darunter ist genauso wichtig
Der Raspi beruhigt sich gerade, aber eine load average 1min von >2 bei 6% CPU deutet auf Probleme mit dem I/O -
@homoran said in iobroker Absturz:
deutet auf Probleme mit dem I/O
Tut mir leid, dafür fehlt mir das Wissen. Kannst Du mir das bitte erklären?
Danke schon mal...
-
top - 20:29:31 up 27 min, 1 user, load average: 0.42, 0.74, 1.12 Tasks: 193 total, 1 running, 192 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.4 us, 1.2 sy, 0.0 ni, 95.2 id, 0.1 wa, 0.0 hi, 0.1 si, 0.0 st MiB Mem : 3790.9 total, 416.3 free, 2352.6 used, 1097.8 buff/cache MiB Swap: 200.0 total, 84.7 free, 115.3 used. 1438.3 avail Mem
-
top - 20:32:23 up 30 min, 1 user, load average: 0.71, 0.76, 1.06 Tasks: 194 total, 3 running, 191 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.2 us, 0.7 sy, 0.0 ni, 94.9 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st MiB Mem : 3790.9 total, 408.6 free, 2347.7 used, 1110.4 buff/cache MiB Swap: 200.0 total, 84.8 free, 115.2 used. 1443.2 avail Mem
-
@pb74 bitte die darunter befindliche Table of Processes zeigen.
Das ist nur der Header. -
Aha, das war mir so nicht klar.
top - 20:37:11 up 35 min, 1 user, load average: 0.12, 0.48, 0.86 Tasks: 194 total, 3 running, 191 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.2 us, 1.2 sy, 0.0 ni, 94.5 id, 0.1 wa, 0.0 hi, 0.1 si, 0.0 st MiB Mem : 3790.9 total, 378.2 free, 2371.7 used, 1116.9 buff/cache MiB Swap: 200.0 total, 85.1 free, 114.8 used. 1419.2 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 890 iobroker 20 0 9474412 392520 38912 R 7.6 10.1 5:54.60 iobroker.js-con 1056 iobroker 20 0 9378436 119260 38912 S 2.7 3.1 1:29.99 io.influxdb.0 1101 iobroker 20 0 9641008 362132 40704 S 2.7 9.3 2:03.87 io.javascript.0 1654 iobroker 20 0 9096716 105024 38656 S 2.0 2.7 1:17.80 io.sonoff.0 1681 iobroker 20 0 9085944 95300 38784 S 1.7 2.5 0:23.08 io.tr-064.0 789 influxdb 20 0 2665996 146712 9684 S 1.0 3.8 0:29.06 influxd 1613 iobroker 20 0 9071608 79240 39168 S 1.0 2.0 0:14.64 io.s7.2 1783 iobroker 20 0 9074016 81808 38912 S 1.0 2.1 0:10.75 io.modbus.0 1257 iobroker 20 0 9079240 90204 38912 S 0.7 2.3 0:16.65 io.hm-rpc.1 17 root 20 0 0 0 0 I 0.3 0.0 0:01.54 rcu_preempt 565 message+ 20 0 8792 3072 2432 S 0.3 0.1 0:00.44 dbus-daemon 632 root 20 0 262564 7808 6528 S 0.3 0.2 0:00.73 NetworkManager 644 root 20 0 17160 4352 3968 S 0.3 0.1 0:00.34 wpa_supplicant 889 grafana 20 0 1598204 75140 41856 S 0.3 1.9 0:08.36 grafana 1280 iobroker 20 0 9082348 90944 38784 S 0.3 2.3 0:17.25 io.hm-rpc.2 1379 iobroker 20 0 9076332 89020 38912 S 0.3 2.3 0:15.40 io.opendtu.0 1513 iobroker 20 0 9071972 79808 39168 S 0.3 2.1 0:14.67 io.s7.0 1536 iobroker 20 0 9071744 80584 39168 S 0.3 2.1 0:14.64 io.s7.1 1805 iobroker 20 0 9059084 87284 43904 R 0.3 2.2 0:09.73 io.pvforecast.0 1857 iobroker 20 0 9052620 76880 38912 S 0.3 2.0 0:06.70 io.time-switch. 1872 iobroker 20 0 9050672 73640 38912 S 0.3 1.9 0:06.36 io.vis-inventwo 3826 root 20 0 0 0 0 I 0.3 0.0 0:00.11 kworker/0:1-mm_percpu_wq 4210 peter 20 0 11756 4992 2816 R 0.3 0.1 0:00.06 top 1 root 20 0 168468 8152 6208 S 0.0 0.2 0:01.91 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 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.16 kworker/u8:0-ext4-rsv-conversion 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 0:00.25 ksoftirqd/0 18 root rt 0 0 0 0 S 0.0 0.0 0:00.00 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.00 migration/1 22 root 20 0 0 0 0 S 0.0 0.0 0:00.13 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.00 migration/2 27 root 20 0 0 0 0 S 0.0 0.0 0:00.12 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.00 migration/3 32 root 20 0 0 0 0 S 0.0 0.0 0:00.11 ksoftirqd/3 34 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/3:0H-events_highpri 35 root 20 0 0 0 0 I 0.0 0.0 0:00.68 kworker/u9:0-writeback 36 root 20 0 0 0 0 I 0.0 0.0 0:00.05 kworker/u10:0-events_unbound 38 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/u12:0-events_unbound 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_
-
@pb74 sagte in iobroker Absturz:
Kannst Du mir das bitte erklären?
@homoran sagte in iobroker Absturz:
die load average betrachtet diverse Parameter zur Systemlast, und der Wert sollte grob gesagt die Anzahl Kerne nicht überschreiten.
Passiert das, staut sich die Abarbeitung was im schlimmsten Fall zur Lähmung des Systems führt.
Es wäre vielleicht sinnvoll auf den entsprechenden Wert unter system.host.xyz zu triggern, beim Erreichen einer Schwelle eine WARN ins log schreiben, damit man später im Log sehen kann was da etwa passiert ist.dazu gehören natürlich die CPU Last, aber auch due Geschwindigkeit von In/Out (Lese/Schreib) Vorgängen.
Da bei dir die CPU nur mäßig ausgelastet ist, die load aber relativ hoch, muss die Ursache nicht in der CPU-Last liegen
-
@pb74 Danke!
Jetzt hat sich "leider" die load normalisiert und passt zur CPU-Last@pb74 sagte in iobroker Absturz:
load average: 0.12, 0.48, 0.86
@pb74 sagte in iobroker Absturz:
Cpu(s): 4.2 us, 1.2 sy, 0.0 ni, 94.5 id
daher ist auch der Prozess mit der höchsten Last auch absolut unauffällig
@pb74 sagte in iobroker Absturz:
890 iobroker 20 0 9474412 392520 38912 R 7.6 10.1 5:54.60 iobroker.js-con
EDIT
der controller belastet zwar nur einen Kern mit 7.6%, braucht aber 10% des Speichers.
Das kann ich jetzt nicht bewerten.
Der zweitgrößte Speicherfresser ist javascript.0 -
Wenn Du keine anderen Vorgaben hast, würde ich das System jetzt erst mal so laufen lassen und demnächst in den Scripten auf Fehlersuche gehen...
-
@pb74 ja!
und vergleiche immer mal wieder die Werte vontop
-
Alternative ggf.
htop
das ist
top
mit etwas mehr "Schnickschnack" was es aus meiner Sicht lesbarer macht:
Als "Windows Benutzer" ist insbesondere die prozentuale Anzeige oben für die CPU vertrauter,htop
ist bunt und bei beiden gibt es mith
eine Hilfe -
Guter Tipp, ich lass es grade mal durchlaufen.