NEWS
Freier Arbeitsspeicher nimmt schnell ab ...
-
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
Installed: (none)
? Wie schafft man das?
sudo apt install nodejspi@MotionEye:~ $ sudo apt install nodejs Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 26.6 MB of archives. After this operation, 128 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_16.x bullseye/main arm64 nodejs arm64 16.19.0-deb-1nodesource1 [26.6 MB] Fetched 26.6 MB in 1s (19.0 MB/s) Selecting previously unselected package nodejs. (Reading database ... 49321 files and directories currently installed.) Preparing to unpack .../nodejs_16.19.0-deb-1nodesource1_arm64.deb ... Unpacking nodejs (16.19.0-deb-1nodesource1) ... Setting up nodejs (16.19.0-deb-1nodesource1) ... Processing triggers for man-db (2.9.4-2) ...Neustart?
-
pi@MotionEye:~ $ sudo apt install nodejs Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 26.6 MB of archives. After this operation, 128 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_16.x bullseye/main arm64 nodejs arm64 16.19.0-deb-1nodesource1 [26.6 MB] Fetched 26.6 MB in 1s (19.0 MB/s) Selecting previously unselected package nodejs. (Reading database ... 49321 files and directories currently installed.) Preparing to unpack .../nodejs_16.19.0-deb-1nodesource1_arm64.deb ... Unpacking nodejs (16.19.0-deb-1nodesource1) ... Setting up nodejs (16.19.0-deb-1nodesource1) ... Processing triggers for man-db (2.9.4-2) ...Neustart?
uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejssagt nun?
-
uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejssagt nun?
@thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
pi@MotionEye:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs aarch64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/bin/npx v16.19.0 v16.19.0 8.19.3 8.19.3 4.0.23 pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker tty /home/pi Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done nodejs: Installed: 16.19.0-deb-1nodesource1 Candidate: 16.19.0-deb-1nodesource1 Version table: *** 16.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 14.21.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages 12.22.12~dfsg-1~deb11u1 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages pi@MotionEye:~ $ -
@thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
pi@MotionEye:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs aarch64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/bin/npx v16.19.0 v16.19.0 8.19.3 8.19.3 4.0.23 pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker tty /home/pi Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done nodejs: Installed: 16.19.0-deb-1nodesource1 Candidate: 16.19.0-deb-1nodesource1 Version table: *** 16.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 14.21.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages 12.22.12~dfsg-1~deb11u1 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages pi@MotionEye:~ $ -
@thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
iobroker restart
läuft! Jetzt noch ein update
Jetzt muss auf dem Master nur wieder mqtt laufen
mqtt.0 2023-01-14 21:18:48.379 info Starting MQTT-WebSocket authenticated server on 0.0.0.0:1887 mqtt.0 2023-01-14 21:18:48.377 info Starting MQTT authenticated server on 0.0.0.0:1886 mqtt.0 2023-01-14 21:18:47.933 info starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.0, js-controller: 4.0.24 mqtt.0 2023-01-14 21:18:30.746 info Terminated (NO_ERROR): Without reason mqtt.0 2023-01-14 21:18:30.744 info terminating mqtt.0 2023-01-14 21:18:30.313 info Got terminate signal TERMINATE_YOURSELF mqtt.0 2023-01-14 21:18:30.225 info Adapter is disabled => stop
-
@thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
iobroker restart
läuft! Jetzt noch ein update
Jetzt muss auf dem Master nur wieder mqtt laufen
mqtt.0 2023-01-14 21:18:48.379 info Starting MQTT-WebSocket authenticated server on 0.0.0.0:1887 mqtt.0 2023-01-14 21:18:48.377 info Starting MQTT authenticated server on 0.0.0.0:1886 mqtt.0 2023-01-14 21:18:47.933 info starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.0, js-controller: 4.0.24 mqtt.0 2023-01-14 21:18:30.746 info Terminated (NO_ERROR): Without reason mqtt.0 2023-01-14 21:18:30.744 info terminating mqtt.0 2023-01-14 21:18:30.313 info Got terminate signal TERMINATE_YOURSELF mqtt.0 2023-01-14 21:18:30.225 info Adapter is disabled => stop
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
Jetzt muss auf dem Master nur wieder mqtt laufen
das tut er!
hat wahrscheinlich nur keinen Kontakt zu einem Client.Aber dass du nicht die Standardports verwendest weisst du?
-
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
Jetzt muss auf dem Master nur wieder mqtt laufen
das tut er!
hat wahrscheinlich nur keinen Kontakt zu einem Client.Aber dass du nicht die Standardports verwendest weisst du?
-
-
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
aber welcher
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
1887
ist nicht der Standard port für mqtt
Port - Port of the MQTT broker. By default, 1883https://github.com/ioBroker/ioBroker.mqtt/blob/master/README.md
zeig mal
netstat -ltp -
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
aber welcher
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
1887
ist nicht der Standard port für mqtt
Port - Port of the MQTT broker. By default, 1883https://github.com/ioBroker/ioBroker.mqtt/blob/master/README.md
zeig mal
netstat -ltp@crunchip oder
@homoran sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
hat wahrscheinlich nur keinen Kontakt zu einem Client.
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
@homoran hm, aber welcher
???
-
@crunchip oder
@homoran sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
hat wahrscheinlich nur keinen Kontakt zu einem Client.
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
@homoran hm, aber welcher
???
-
@homoran Ich habe einen gefunden der nicht läuft. Da der draußen ist und aufgrund des Wetters komme ich da gerade nicht hin zum neu starten! :-)
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
Ich habe einen gefunden der nicht läuft
wenn ich jetzt wieder rate was du meinen könntest, tippe ich mal auf einen Client.
Das ist egal!Solange kein einziger Cliebt verbunden ist, bleibt die Instanz rot.
Was ist mit den Fragen zu dem genutzten Port?
-
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
aber welcher
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
1887
ist nicht der Standard port für mqtt
Port - Port of the MQTT broker. By default, 1883https://github.com/ioBroker/ioBroker.mqtt/blob/master/README.md
zeig mal
netstat -ltpMach ich das richtig:
pi@Homee:~ $ Port - Port of the MQTT broker. By default, 1883 -bash: Port: Kommando nicht gefunden. pi@Homee:~ $pi@Homee:~ $ netstat -ltp (Es konnten nicht alle Prozesse identifiziert werden; Informationen über nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.) Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:omniorb 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN - tcp6 0 0 [::]:8086 [::]:* LISTEN - tcp6 0 0 [::]:3000 [::]:* LISTEN - tcp6 0 0 [::]:7770 [::]:* LISTEN - tcp6 0 0 [::]:7777 [::]:* LISTEN - tcp6 0 0 [::]:ssh [::]:* LISTEN - pi@Homee:~ $ -
Mach ich das richtig:
pi@Homee:~ $ Port - Port of the MQTT broker. By default, 1883 -bash: Port: Kommando nicht gefunden. pi@Homee:~ $pi@Homee:~ $ netstat -ltp (Es konnten nicht alle Prozesse identifiziert werden; Informationen über nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.) Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:omniorb 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN - tcp6 0 0 [::]:8086 [::]:* LISTEN - tcp6 0 0 [::]:3000 [::]:* LISTEN - tcp6 0 0 [::]:7770 [::]:* LISTEN - tcp6 0 0 [::]:7777 [::]:* LISTEN - tcp6 0 0 [::]:ssh [::]:* LISTEN - pi@Homee:~ $@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
Das dürfte er doch sein:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN -
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
Das dürfte er doch sein:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN@thomas-braun Das bedeutet?
Also auf einen Wemos komme ich nicht drauf. Das könnte zumindest die Ursache sein.

-
Mach ich das richtig:
pi@Homee:~ $ Port - Port of the MQTT broker. By default, 1883 -bash: Port: Kommando nicht gefunden. pi@Homee:~ $pi@Homee:~ $ netstat -ltp (Es konnten nicht alle Prozesse identifiziert werden; Informationen über nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.) Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:omniorb 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN - tcp6 0 0 [::]:8086 [::]:* LISTEN - tcp6 0 0 [::]:3000 [::]:* LISTEN - tcp6 0 0 [::]:7770 [::]:* LISTEN - tcp6 0 0 [::]:7777 [::]:* LISTEN - tcp6 0 0 [::]:ssh [::]:* LISTEN - pi@Homee:~ $@sms endschuldige mach sudo davor, dann sieht man mehr
sudo netstat -ltp -
pi@Homee:~ $ sudo netstat -ltp Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:omniorb 0.0.0.0:* LISTEN 736/influxd tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 3487/io.sonoff.0 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 3274/iobroker.js-co tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 3274/iobroker.js-co tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 540/sshd: /usr/sbin tcp6 0 0 [::]:8086 [::]:* LISTEN 736/influxd tcp6 0 0 [::]:3000 [::]:* LISTEN 732/grafana-server tcp6 0 0 [::]:7770 [::]:* LISTEN 3293/io.admin.0 tcp6 0 0 [::]:7777 [::]:* LISTEN 3532/io.web.0 tcp6 0 0 [::]:ssh [::]:* LISTEN 540/sshd: /usr/sbin pi@Homee:~ $ -
pi@Homee:~ $ sudo netstat -ltp Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:omniorb 0.0.0.0:* LISTEN 736/influxd tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 3487/io.sonoff.0 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 3274/iobroker.js-co tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 3274/iobroker.js-co tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 540/sshd: /usr/sbin tcp6 0 0 [::]:8086 [::]:* LISTEN 736/influxd tcp6 0 0 [::]:3000 [::]:* LISTEN 732/grafana-server tcp6 0 0 [::]:7770 [::]:* LISTEN 3293/io.admin.0 tcp6 0 0 [::]:7777 [::]:* LISTEN 3532/io.web.0 tcp6 0 0 [::]:ssh [::]:* LISTEN 540/sshd: /usr/sbin pi@Homee:~ $@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN 4516/io.mqtt.0
warum der 2 mal da is? und wie oben schon geschrieben, üblicher Port wäre 1883, da hast du allerdings den sonoff platziert.
wie viele Geräte laufen bei dir denn per mqtt? kannst du nicht bei einem nachsehen welchen Port du da eingestellt hast?
Edit:
allerdings hab ich auch nicht den ganzen Fred hier verfolgtdaher die Frage, was ist
- pi@MotionEye
- pi@Homee
-
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN 4516/io.mqtt.0
warum der 2 mal da is? und wie oben schon geschrieben, üblicher Port wäre 1883, da hast du allerdings den sonoff platziert.
wie viele Geräte laufen bei dir denn per mqtt? kannst du nicht bei einem nachsehen welchen Port du da eingestellt hast?
Edit:
allerdings hab ich auch nicht den ganzen Fred hier verfolgtdaher die Frage, was ist
- pi@MotionEye
- pi@Homee
-
@sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 4516/io.mqtt.0 tcp 0 0 0.0.0.0:1887 0.0.0.0:* LISTEN 4516/io.mqtt.0
warum der 2 mal da is? und wie oben schon geschrieben, üblicher Port wäre 1883, da hast du allerdings den sonoff platziert.
wie viele Geräte laufen bei dir denn per mqtt? kannst du nicht bei einem nachsehen welchen Port du da eingestellt hast?
Edit:
allerdings hab ich auch nicht den ganzen Fred hier verfolgtdaher die Frage, was ist
- pi@MotionEye
- pi@Homee
@crunchip sagte in Freier Arbeitsspeicher nimmt schnell ab ...:
warum der 2 mal da is?
Port - Der Port für die Verbindung über TCP (Standard ist 1883), ein WebSocket-Server (siehe Option oben) wird an Port +1 (Standard: 1884) ausgeführt.
https://www.iobroker.net/#de/adapters/adapterref/iobroker.mqtt/README.md
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden