NEWS
Frage zu States.json
-
Hallo
ich habe eine Iobroker installation mit der ich von einem Windows System auf ein Raspberry umgezogen bin.
Die Installation auf dem Raspberry läuft, ich stelle allerdings fest, das der Verfügbare RAM, sichtbar im Register Host, sehr niedrig ist. Mit Top habe ich nix verdächtiges gesehen, Iob-Diag machte auch keine Hinweise. Nun schaue ich mit die Objects.json und die States.json an. In der States.json sehe ich noch Relikte aus der Windowszeit. Hier ein Beispiel:"system.host.DESKTOP-5OC8V0E(SmartHome).memRss": { "val": 143.61, "ack": true, "ts": 1641041348840, "q": 0, "from": "system.host.DESKTOP-5OC8V0E(SmartHome)", "lc": 1641041348840 },
Mein aktueller Host heisst GTHRN-pi, ich finde aber immer noch den "DESKTOP....."
Was tun einfach löschen, oder ignorieren?
Gruß
Michael======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker-pi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.9G 1.5G 3.4G 1.0M 3.0G 6.2G Swap: 99M 0B 99M Total: 8.0G 1.5G 3.5G Active iob-Instances: 24 Active repo(s): stable ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : GTHRN-pi - enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : GTHRN-pi - enabled, compact disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 14196 States: 11243 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 5.8M /opt/iobroker/iobroker-data/objects.json 7.2M /opt/iobroker/iobroker-data/states.jsonl 1.7M /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
-
@michihorn sagte: In der States.json sehe ich noch Relikte aus der Windowszeit.
Sie wurde schon vor einiger Zeit durch die states.jsonl abgelöst (siehe Zeile 47).