NEWS
Raspberry Absturz alle 3 Tage
-
@apollon77 hi zusammen, bei mir kracht es seit ein paar Tagen morgens immer mal wieder. Rund alle 3 Tage und zwar an der Stelle mit dem Pfeil.
Danach startet mein raspberry pi neu.
CPU: 38,64 %
RAM: 22,3 %
Betriebszeit: 6h
Verfügbar: 4.0.24
Installiert: 4.0.24
Ereignisse: ⇥39 / ↦13
Plattform: linux
Betriebssystem: linux
Architektur: arm64
CPUs: 4
Geschwindigkeit: 1800 MHz
Modell: Cortex-A72
RAM: 3.6 GB
System-Betriebszeit: 22 T. 00:57:15
Node.js: v16.19.0
time: 1674391903982
timeOffset: -60
Adapter-Anzahl: 456
NPM: 9.2.0
Datenträgergröße: 58.3 GB
Freier Festplattenspeicher: 47.7 GB
Betriebszeit: 06:32:42
Aktive Instanzen: 37
Pfad: /opt/iobroker/
aktiv: true
_nodeCurrent: 16.19.0
_nodeNewest: 16.19.0
_nodeNewestNext: 16.19.0
_npmCurrent: 9.2.0
_npmNewest: 8.19.3
_npmNewestNext: 8.19.3 -
Schaut wie eine schiefe Installation von nodejs/npm aus.
-
wie @Thomas-Braun schon schrieb, schräge Installation und mir fällt dazu noch auf dass 37 Instanzen bei 4GB RAM schon an die Grenzen stossen kann wenn da noch zusätzliche Tools (influx, grafana, usw) drauf laufen.
-
@thomas-braun kann ich das beheben? Ich habe das mit npm noch nicht ganz kapiert.
-
@shellyrulestheworld sagte in Fehler Updating repository stable:
Ich habe das mit npm noch nicht ganz kapiert.
Da gibt es auch nix zu kapieren. Man packt npm nie direkt an. Das kommt automatisch in passender Version im nodejs-Paket mit.
Schau in meiner Signatur wie man das richtig einrichtet. Oder leg einen separaten Thread mit deinem Problem an.
-
@djmarc75 sagte in Fehler Updating repository stable:
dass 37 Instanzen bei 4GB RAM schon an die Grenzen stossen kann
nee, wirklich nicht!
-
@shellyrulestheworld bitte zu dem Zeitpunkt ins /var/log/syslog schauen. Das sieht nach einem
Oom aus. Scheinbar wird der js-Controller gekillt. Ob sich dann der raspi neu startet oder nur der Controller ist dann die folgefrage. Und natürlich warum. Ich tippe auf Zuviele Instanzen bei zu wenig RAM.Ist aber eher ein anderes Thema als das des threads
-
@thomas-braun sagte in Fehler Updating repository stable:
Schaut wie eine schiefe Installation von nodejs/npm aus.
Wie kommst du darauf???
-
npm 9.2.0 passt nicht zu nodejs 16.19.0
-
@thomas-braun ja ok …. Das kann aber nicht die Ursache sein
-
Das hab ich auch nicht behauptet.
Ist nur ein Hinweis auf 'krummes Setup' an der Stelle.
Und erfahrungsgemäß ist das Setup dann auch noch an weiteren Punkten verbesserungsfähig. -
@apollon77 dann wäre von @shellyrulestheworld die Ausgabe bon
iob diag
sicherlich hilfreich -
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 29 Nodejs-Installation: /usr/bin/nodejs v16.19.0 /usr/bin/node v16.19.0 /usr/bin/npm 9.2.0 /usr/bin/npx 9.2.0 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8089, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 15853 States: 13463 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 4.4M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
Pending OS-Updates: 29
iob stop iob fix sudo apt update sudo apt full-upgrade sudo apt install --reinstall nodejs sudo reboot
-
Wenn die Kiste wieder läuft bitte die Langfassung von
iob diag
. -
@shellyrulestheworld da kommt noch mehr! Speicher und so.
-
@homoran
ich habe mal NPM auf version 8.19.3 gemacht. Danach sind keine pending updates mehr da======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 29 Nodejs-Installation: /usr/bin/nodejs v16.19.0 /usr/bin/node v16.19.0 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8089, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 15853 States: 13464 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 6.8M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
Doch... 29...
Patch die Kiste auf Stand! -
@shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:
ich habe mal NPM auf version 8.19.3 gemacht.
wie?
@thomas-braun sagte in Raspberry Absturz alle 3 Tage:
Man packt npm nie direkt an.
-
@homoran ja, das stimmt. Hab es aus Versehen mal gemacht und bin jetzt zurück: sudo npm install -g npm@8.19.3