NEWS
Multi Host - sehr langsam
-
Da mein Stromzähler im Keller ist habe ich ein Multihostsystem aufgebaut, Master ist ein neuer PI5 mit 8 GB also genug Power. Slave ist mein PI4 mit 4 GP, also auch nicht ohne. An der Leistung sollte es nicht liegen. Ja, die Verbindung geht über einige Switches.
Der Slave läuft noch auf Node.js 16 wobei der Master schon auf 18 läuft.
Beide hatten zu Beginn den js-controller 5.0.17, doch konnte ich da den Slave nicht verbinden.Mit 4.0.24 ging das ohne Probleme.
Mein Hauptproblem ist dass vor allem die Seite Adapter ewig benötigt beim laden, kann schon mal 2 - 3 Minuten sein, meist begleitet mit der unteren Meldung.
Gehe ich aber in die Objekte sehe ich aber die daten von dem IR Lesekopf. Auffallend ist dass die aber abgehackt kommen. Mal bleibt 1 Wert für 1 Minute stehen und dann kommen 3 Werte kurz hintereinander.
Die Leitung scheint nicht gut / nicht stabile zu sein. Hat einer eine Idee was ich machen kann? Mir gehen die Ideen aus.
-
Bei mir läuft eine in etwa gleiche Master/Slave Konstellation, allerdings ohne Auffälligkeiten, und es ist alles auf dem neuesten Stand.
Meine Empfehlung:
Bring das alles auf den aktuellen Stand und dann zeig mal in bitte </> Codetags das Ergebnis voniob diag
. -
@meister-mopper Ich habe den Fehler gefunden. Hatte ja 3 hosts wo einer nicht lief. Hatte den umbenannt in den Zusatz " slave" und er hat sich hier wohl im netz zu tode gesucht, denke der hat die Infos nicht gefunden. Jetzt sieht es so aus, also der Master und der Slave und beide auf grün. Unten die gewünschte datei.
Also das Ganze ist jetzt deutlich schneller als vorher doch noch weit
weg als wenn ich den PI alleine ohne Master / Slave Funktion betreibe.======== Start marking the full check here =========
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iobrokerserver Icon name: computer Operating System: Raspbian GNU/Linux 10 (buster) Kernel: Linux 5.10.103-v7l+ Architecture: arm Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : armv7l Userland : armhf Systemuptime and Load: 01:27:40 up 3 days, 2:49, 2 users, load average: 0.12, 0.14, 0.09 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Thu 2024-02-15 01:27:40 CET Universal time: Thu 2024-02-15 00:27:40 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 285M 3.0G 16M 566M 3.5G Swap: 99M 0B 99M Total: 3.9G 285M 3.1G 3837 M total memory 285 M used memory 237 M active memory 528 M inactive memory 2985 M free memory 100 M buffer memory 465 M swap cache 99 M total swap 0 M used swap 99 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * lightdm.service loaded failed failed Light Display Manager LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 110G 12G 95G 11% / devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 1.9G 17M 1.9G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/sda1 vfat 253M 49M 204M 20% /boot tmpfs tmpfs 384M 0 384M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Sun Feb 11 22:37:43 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:8C:E3:55 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=a372f35c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [Sun Feb 11 22:37:45 2024] EXT4-fs (sda2): INFO: recovery required on readonly filesystem [Sun Feb 11 22:37:45 2024] EXT4-fs (sda2): write access will be enabled during recovery [Sun Feb 11 22:37:45 2024] EXT4-fs (sda2): orphan cleanup on readonly fs [Sun Feb 11 22:37:45 2024] EXT4-fs (sda2): 2 orphan inodes deleted [Sun Feb 11 22:37:45 2024] EXT4-fs (sda2): recovery complete [Sun Feb 11 22:37:45 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Sun Feb 11 22:37:45 2024] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Sun Feb 11 22:37:46 2024] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 2.1G /var/ 1.8G /var/cache/apt/archives 1.8G /var/cache/apt 1.8G /var/cache 118M /var/lib Archived and active journals take up 16.0M in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 22M /opt/iobroker/iobroker-data/ 15M /opt/iobroker/iobroker-data/files 13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js 13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static 13M /opt/iobroker/iobroker-data/files/admin.admin/custom The five largest files in iobroker-data are: 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 4.3M /opt/iobroker/iobroker-data/objects.jsonl 2.8M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js 2.0M /opt/iobroker/iobroker-data/states.jsonl 1.6M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_22791a668193eb11b0e7ddc77d11dc1e-if00-port0 /dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb_0259DD56-if00-port0 *** NodeJS-Installation *** /usr/bin/nodejs v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 /usr/bin/corepack 0.17.0 nodejs: Installed: 16.20.2-deb-1nodesource1 Candidate: 16.20.2-deb-1nodesource1 Version table: *** 16.20.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. At least one iobroker host is running. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.13.16 javascript: "javascript" not found Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8089, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.backitup.1 : backitup : iobrokerserver - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled system.adapter.dwd.0 : dwd : raspberrypi - enabled + system.adapter.energiefluss.0 : energiefluss : raspberrypi - enabled + system.adapter.envertech-pv.0 : envertech-pv : raspberrypi - enabled system.adapter.flot.0 : flot : raspberrypi - enabled + system.adapter.fullcalendar.0 : fullcalendar : raspberrypi - enabled system.adapter.habpanel.0 : habpanel : raspberrypi - enabled system.adapter.history.0 : history : raspberrypi - disabled + system.adapter.hm-rega.0 : hm-rega : raspberrypi - enabled + system.adapter.hm-rega.1 : hm-rega : raspberrypi - enabled + system.adapter.hm-rega.2 : hm-rega : raspberrypi - enabled + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 0 system.adapter.ical.0 : ical : raspberrypi - enabled system.adapter.ical.1 : ical : raspberrypi - enabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: raspberrypi - enabled system.adapter.icons-fatcow-hosting.0 : icons-fatcow-hosting : raspberrypi - enabled system.adapter.icons-material-svg.0 : icons-material-svg : raspberrypi - enabled system.adapter.icons-mfd-png.0 : icons-mfd-png : raspberrypi - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.iqontrol.0 : iqontrol : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.javascript.1 : javascript : raspberrypi - enabled + system.adapter.javascript.2 : javascript : raspberrypi - enabled + system.adapter.javascript.3 : javascript : raspberrypi - enabled system.adapter.modbus.0 : modbus : raspberrypi - disabled + system.adapter.mqtt.1 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 192.168.178.113 system.adapter.rpi2.0 : rpi2 : raspberrypi - disabled + system.adapter.samsung.0 : samsung : raspberrypi - enabled + system.adapter.scenes.0 : scenes : raspberrypi - enabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 192.168.178.113 + system.adapter.smartmeter.0 : smartmeter : iobrokerserver - enabled + system.adapter.sonoff.1 : sonoff : raspberrypi - enabled, port: 1884, bind: 192.168.178.113 system.adapter.sonoff.2 : sonoff : raspberrypi - disabled, port: 1884, bind: 192.168.178.113 + system.adapter.sonos.0 : sonos : raspberrypi - enabled + system.adapter.statistics.0 : statistics : raspberrypi - enabled system.adapter.telegram.0 : telegram : raspberrypi - disabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : iobrokerserver - disabled system.adapter.trashschedule.0 : trashschedule : iobrokerserver - disabled system.adapter.valuetrackerovertime.0 : valuetrackerovertime : iobrokerserver - disabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : raspberrypi - enabled + system.adapter.vis-2.0 : vis-2 : raspberrypi - enabled system.adapter.vis-bars.0 : vis-bars : raspberrypi - enabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : raspberrypi - enabled system.adapter.vis-colorpicker.0 : vis-colorpicker : raspberrypi - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : raspberrypi - enabled system.adapter.vis-history.0 : vis-history : raspberrypi - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : raspberrypi - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : raspberrypi - enabled system.adapter.vis-justgage.0 : vis-justgage : raspberrypi - enabled system.adapter.vis-metro.0 : vis-metro : raspberrypi - enabled system.adapter.vis-rgraph.0 : vis-rgraph : raspberrypi - enabled system.adapter.vis.0 : vis : raspberrypi - disabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 192.168.178.113, run as: admin + system.adapter.webcal.0 : webcal : raspberrypi - enabled + system.adapter.wireless-mbus.0 : wireless-mbus : iobrokerserver - enabled + system.adapter.worx.0 : worx : raspberrypi - enabled + 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.admin.1 : admin : raspberrypi - enabled, port: 8089, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.mqtt.1 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 192.168.178.113 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 192.168.178.113 + system.adapter.sonoff.1 : sonoff : raspberrypi - enabled, port: 1884, bind: 192.168.178.113 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 192.168.178.113, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.13.16 , installed 6.13.16 Adapter "backitup" : 2.9.8 , installed 2.9.8 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Controller "js-controller": 5.0.17 , installed 4.0.24 [Updatable] Adapter "smartmeter" : 3.4.0 , installed 3.3.4 [Updatable] Adapter "text2command" : 3.0.3 , installed 3.0.3 Adapter "trashschedule": 2.3.0 , installed 2.3.0 Adapter "valuetrackerovertime": 1.0.1, installed 1.0.1 Adapter "wireless-mbus": 0.9.1 , installed 0.9.1 Objects and States Please stand by - This may take a while Objects: 14984 States: 13041 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x buster InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 17355 775/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 227650 23555/cupsd tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 20522 770/vncserver-x11-c tcp6 0 0 :::22 :::* LISTEN 0 17357 775/sshd tcp6 0 0 ::1:631 :::* LISTEN 0 227649 23555/cupsd tcp6 0 0 :::5900 :::* LISTEN 0 20521 770/vncserver-x11-c udp 0 0 0.0.0.0:51105 0.0.0.0:* 108 16643 426/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 17657 761/dhcpcd udp 0 0 0.0.0.0:631 0.0.0.0:* 0 227111 23556/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 16641 426/avahi-daemon: r udp6 0 0 :::59375 :::* 108 16644 426/avahi-daemon: r udp6 0 0 :::546 :::* 0 16900 761/dhcpcd udp6 0 0 :::5353 :::* 108 16642 426/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-02-15 01:28:14.299 - debug: wireless-mbus.0 (7564) DIB dataField 13 2024-02-15 01:28:14.299 - debug: wireless-mbus.0 (7564) VIF_VOLUME: Value raw 2$0H2677G(%6#"&w"D( $R~{ value calc NaN 2024-02-15 01:28:14.299 - error: wireless-mbus.0 (7564) Unknown VIFExt 0x13 2024-02-15 01:28:14.299 - debug: wireless-mbus.0 (7564) DIB dataField 2 2024-02-15 01:28:14.299 - debug: wireless-mbus.0 (7564) VIF_ERROR_FLAGS: Value raw 256 value calc 100 2024-02-15 01:28:14.299 - debug: wireless-mbus.0 (7564) Updating device: ZRI-15126300 2024-02-15 01:28:19.990 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:28:29.359 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:28:29.893 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:28:39.489 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:28:47.904 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:28:49.423 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:28:59.277 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:01.634 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:09.521 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:17.913 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:29.451 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:31.205 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:38.777 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:49.671 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:49.908 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:29:59.353 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:30:09.976 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:30:10.229 - info: smartmeter.0 (7486) Received 10 values, 3 updated 2024-02-15 01:30:20.091 - info: smartmeter.0 (7486) Received 10 values, 3 updated
============ Mark until here for C&P =============
-
Buster ist tot, nstallier da NEU das Bookworm -Release in der 64Bit-Lite-Variante.
-
@thomas-braun Sorry für die Blöde Frage. Das neu installieren auf dem Slave oder dem Master?
-
Auf dem host 'iobrokerserver'.
Wie es auf dem host 'raspberrypi' aussieht hast du glaube ich gar nicht gezeigt.