Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspberry Absturz alle 3 Tage

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Raspberry Absturz alle 3 Tage

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @shellyrulestheworld last edited by

      @shellyrulestheworld

      tail -f /var/log/syslog
      
      S 1 Reply Last reply Reply Quote 0
      • Gaspode
        Gaspode @Thomas Braun last edited by

        @thomas-braun said in Raspberry Absturz alle 3 Tage:

        https://www.linuxatemyram.com/

        Ja Danke, in "meinem" Link wird das Prinzip von OOM-Killer erklärt, deshalb hatte ich den gewählt.

        Auf jeden Fall ist es ein deutlicher Hinweis auf (zu) wenig Memory, wenn OOM-Killer zuschlägt, soweit ich das verstehe.

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Gaspode last edited by

          @gaspode sagte in Raspberry Absturz alle 3 Tage:

          Auf jeden Fall ist es ein deutlicher Hinweis auf (zu) wenig Memory, wenn OOM-Killer zuschlägt, soweit ich das verstehe.

          Ja, der OOM-Killer haut zunächst für das Kernsystem unwesentliche Prozesse ins Nirvana.

          S 1 Reply Last reply Reply Quote 1
          • S
            shellyrulestheworld @Thomas Braun last edited by

            @thomas-braun
            hab ";" durch "#" ersetzt. Aber leider scheint Motion immer noch nach der Kamera zu suchen. Hat jemand noch einen Tipp bzgl. Motion ? 😉

            
            Jan 24 09:54:20 raspberrypi motion: [1:ml1] [ALR] [VID] v4l2_device_open: Failed                         to open video device /dev/video0: No such file or directory
            Jan 24 09:54:20 raspberrypi motion: [1:ml1] [ERR] [VID] vid_start: V4L2 device f                        ailed to open
            Jan 24 09:54:30 raspberrypi motion: [1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
            Jan 24 09:54:30 raspberrypi motion: [1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
            Jan 24 09:54:30 raspberrypi motion: [1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
            Jan 24 09:54:30 raspberrypi motion: [1:ml1] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
            Jan 24 09:54:30 raspberrypi motion: [1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
            
            
            Thomas Braun Gaspode ? 3 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @shellyrulestheworld last edited by

              @shellyrulestheworld

              Ich kenne motion nicht.

              @Gaspode

              Steht auch drin:

              Warning signs of a genuine low memory situation that you may want to look into:

              • available memory (or "free + buffers/cache") is close to zero
              • swap used increases or fluctuates
              • dmesg | grep oom-killer shows the OutOfMemory-killer at work
              1 Reply Last reply Reply Quote 0
              • Gaspode
                Gaspode @shellyrulestheworld last edited by Gaspode

                @shellyrulestheworld said in Raspberry Absturz alle 3 Tage:

                hab ";" durch "#" ersetzt. Aber leider scheint Motion immer noch nach der Kamera zu suchen. Hat jemand noch einen Tipp bzgl. Motion ?

                Hast du Motion danach auch neu gestartet? Ich kenne Motion nicht, aber mich würde überraschen, wenn da eine Konfigurationsänderung im laufenden Betrieb eine Auswirkung hat.

                @shellyrulestheworld said in Raspberry Absturz alle 3 Tage:

                wie kann man denn ans Ende der syslog springen? Beim scrollen wird man ja wahnsinnig

                Während der Anzeige mit less kannst du auch durch Eingabe von einem großen G ans Ende der Datei springen.

                S 1 Reply Last reply Reply Quote 1
                • S
                  shellyrulestheworld @Gaspode last edited by

                  @gaspode
                  Danke für den Tipp. Service neu starten hat leider nichts gebracht. Ich verstehe das motion noch nicht ganz...

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @shellyrulestheworld last edited by

                    @shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:

                    hab ";" durch "#" ersetzt. Aber leider scheint Motion immer noch nach der Kamera zu suchen. Hat jemand noch einen Tipp bzgl. Motion ?

                    Hi,
                    kenne motion auch nicht, aber als ich mit der Fehlermeldung mal gegoogelt habe, bekam ich einige Treffer 😉

                    Dieser Befehl zeigt Dir welche Devices vom v4l2 erkannt werden.

                    v4l2-ctl --list-devices
                    

                    Ist der Treiber geladen, das kannst Du mit dem Befehl unten testen, wenn leer dann ist der Treiber nicht geladen und muss mit dem zweiten Befehl geladen werden.

                    lsmod | grep -i  "bcm2835-v4l2"
                    
                    sudo modprobe bcm2835-v4l2
                    

                    Natürlich den Treiber einsetzen der für Deine Hardware passt.

                    Mit

                    man lsmod
                    man modprobe
                    

                    bekommst Du die Hilfeseiten, damit Du weist, was du da Tust.

                    Wie Du das dann reboot fest machst musst Du selbst suchen, habe kein ResPI und auch kein Motion

                    VG
                    Bernd

                    1 Reply Last reply Reply Quote 1
                    • S
                      shellyrulestheworld @Thomas Braun last edited by

                      @thomas-braun
                      ich habe die automatischen Updates im iobroker ausgeschaltet und seither läuft das System stabil. Ab und zu mache ich "deinen 3-Satz" um das System aktuell zu halten - klappt bestens.
                      Wenn ich jetzt aber gelegentlich im Admin auf "Adapter auf Updates prüfen" klicke kommt ein Reboot. Manchmal tut es auch, aber ich habe das Gefühl, dass seit einiger Zeit keine Updates mehr für die Apdater gekommen sind.

                      Thomas Braun Gaspode 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @shellyrulestheworld last edited by

                        @shellyrulestheworld sagte in Raspberry Absturz alle 3 Tage:

                        Wenn ich jetzt aber gelegentlich im Admin auf "Adapter auf Updates prüfen" klicke kommt ein Reboot.

                        Nicht normal. Hier rebootet nix, wenn ich das nicht will.

                        Manchmal tut es auch, aber ich habe das Gefühl, dass seit einiger Zeit keine Updates mehr für die Apdater gekommen sind.

                        Dann schau nach.

                        sudo apt update
                        iobroker update
                        

                        ist dein Freund.

                        S 1 Reply Last reply Reply Quote 1
                        • S
                          shellyrulestheworld @Thomas Braun last edited by

                          @thomas-braun

                          
                          Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
                          Hit:2 http://deb.debian.org/debian bullseye InRelease
                          Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                          Get:5 https://repos.influxdata.com/debian stable InRelease [6,883 B]
                          Get:6 https://apt.grafana.com stable InRelease [5,984 B]
                          Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease
                          Hit:8 https://phoscon.de/apt/deconz bullseye InRelease
                          Get:9 http://security.debian.org/debian-security bullseye-security/main armhf Packages [232 kB]
                          Get:10 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [232 kB]
                          Get:11 http://security.debian.org/debian-security bullseye-security/main Translation-en [154 kB]
                          Hit:12 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                          Get:13 https://repos.influxdata.com/debian stable/main arm64 Packages [3,713 B]
                          Get:14 https://repos.influxdata.com/debian stable/main armhf Packages [2,105 B]
                          Fetched 729 kB in 3s (275 kB/s)
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          All packages are up to date.
                          pi@raspberrypi:~ $ iobroker update
                          Used repository: stable
                          Adapter    "admin"        : 6.3.5    , installed 6.3.5
                          Adapter    "alarm"        : 3.3.9    , installed 3.3.9
                          Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                          Adapter    "backitup"     : 2.5.12   , installed 2.5.12
                          Adapter    "cloud"        : 4.3.0    , installed 4.3.0
                          Adapter    "daswetter"    : 3.1.7    , installed 3.1.7
                          Adapter    "devices"      : 1.1.2    , installed 1.1.2
                          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                          Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                          Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                          Adapter    "fritzdect"    : 2.2.6    , installed 2.2.6
                          Adapter    "fronius"      : 1.1.3    , installed 1.1.3
                          Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                          Adapter    "heizoel"      : 1.0.3    , installed 1.0.3
                          Adapter    "history"      : 2.2.4    , installed 2.2.4
                          Adapter    "homeconnect"  : 1.1.1    , installed 1.1.1
                          Adapter    "hs100"        : 2.1.2    , installed 2.1.2
                          Adapter    "ical"         : 1.13.2   , installed 1.13.2
                          Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                          Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                          Adapter    "info"         : 1.9.19   , installed 1.9.19
                          Adapter    "iot"          : 1.14.2   , installed 1.14.2
                          Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
                          Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                          Controller "js-controller": 4.0.24   , installed 4.0.24
                          Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                          Adapter    "philips-air"  : 1.0.1    , installed 1.0.1
                          Adapter    "ping"         : 1.5.3    , installed 1.5.3
                          Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                          Adapter    "pvforecast"   : 2.3.0    , installed 2.3.0
                          Adapter    "shelly"       : 6.3.1    , installed 6.3.1
                          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                          Adapter    "smartthings"  : 0.0.4    , installed 0.0.4
                          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                          Adapter    "synology"     : 2.1.13   , installed 2.1.13
                          Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
                          Adapter    "telegram"     : 1.15.2   , installed 1.15.2
                          Adapter    "terminal"     : 1.0.0    , installed 1.0.0
                          Adapter    "text2command" : 2.3.0    , installed 2.3.0
                          Adapter    "tr-064"       : 4.2.17   , installed 4.2.17
                          Adapter    "trashschedule": 2.2.0    , installed 2.2.0
                          Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                          Adapter    "vis"          : 1.4.15   , installed 1.4.15
                          Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                          Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                          Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                          Adapter    "web"          : 4.3.0    , installed 4.3.0
                          Adapter    "ws"           : 1.3.0    , installed 1.3.0
                          Adapter    "zigbee"       : 1.8.10   , installed 1.8.10
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @shellyrulestheworld last edited by

                            @shellyrulestheworld

                            Ja, alles i.O.
                            Im Stable geht es ja naturgemäß auch etwas gemütlicher zur Sache, was Updates angeht.

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              shellyrulestheworld @Thomas Braun last edited by

                              @thomas-braun
                              danke, ich werde dann ab und zu die Updates über den Befehl triggern und nicht über den Admin. Werde berichten, ob das zu Abstürzen führt 🙂

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @shellyrulestheworld last edited by

                                @shellyrulestheworld

                                Kannst ja per

                                iob diag
                                

                                mal reinschauen ob es da Auffälligkeiten bei dem System gibt.

                                1 Reply Last reply Reply Quote 1
                                • Gaspode
                                  Gaspode @shellyrulestheworld last edited by

                                  @shellyrulestheworld said in Raspberry Absturz alle 3 Tage:

                                  Wenn ich jetzt aber gelegentlich im Admin auf "Adapter auf Updates prüfen" klicke kommt ein Reboot.

                                  Ins Log hast du daraufhin nicht geschaut? Da sollte man evtl. Hinweise auf die Absturzursache erkennen können.

                                  1 Reply Last reply Reply Quote 1
                                  • apollon77
                                    apollon77 last edited by

                                    /var/log/syslog ?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      shellyrulestheworld @apollon77 last edited by

                                      @apollon77

                                      Mar 15 15:33:00 raspberrypi motion: [1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
                                      Mar 15 15:33:00 raspberrypi motion: [1:ml1] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
                                      Mar 15 15:33:00 raspberrypi motion: [1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
                                      Mar 15 15:33:03 raspberrypi bash[878]: Send diag info: {"uuid":"f8c37d91-9714-ae1d-5ca5-563211cda069","language":"de","country":"Germany","hosts":[{"vers
                                      ion":"4.0.24","platform":"Javascript/Node.js","type":"linux"}],"node":"v16.19.1","arch":"arm64","docker":false,"adapters":{"admin":{"version":"6.3.5","pl
                                      atform":"Javascript/Node.js"},"discovery":{"version":"3.1.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.5.12","platform":"Javascript/Node.
                                      js"},"alexa2":{"version":"3.23.2","platform":"Javascript/Node.js"},"cloud":{"version":"4.3.0","platform":"Javascript/Node.js"},"devices":{"version":"1.1.
                                      2","platform":"Javascript/Node.js"},"dwd":{"version":"2.8.3","platform":"Javascript/Node.js"},"feiertage":{"version":"1.1.0","platform":"Javascript/Node.
                                      js"},"fronius":{"version":"1.1.3","platform":"Javascript/Node.js"},"heizoel":{"version":"1.0.3","platform":"Javascript/Node.js"},"history":{"version":"2.
                                      2.4","platform":"Javascript/Node.js"},"homeconnect":{"version":"1.1.1","platform":"Javascript/Node.js"},"hs100":{"version":"2.1.2","platform":"Javascript
                                      /Node.js"},"ical":{"version":"1.13.2","platform":"Javascript/Node.js"},"icons-mfd-svg":{"version":"1.1.0","platform":"Javascript/Node.js"},"info":{"versi
                                      on":"1.9.19","platform":"Javascript/Node.js"},"iot":{"version":"1.14.2","platform":"Javascript/Node.js"},"jarvis":{"version":"3.1.2","platform":"Javascri
                                      pt/Node.js"},"javascript":{"version":"6.1.4","platform":"Javascript/Node.js"},"net-tools":{"version":"0.2.0","platform":"Javascript/Node.js"},"philips-ai
                                      r":{"version":"1.0.1","platform":"Javascript/Node.js"},"ping":{"version":"1.5.3","platform":"Javascript/Node.js"},"pvforecast":{"version":"2.3.0","platfo
                                      rm":"Javascript/Node.js"},"shelly":{"version":"6.3.1","platform":"Javascript/Node.js"},"smartthings":{"version":"0.0.4","platform":"Javascript/Node.js"},
                                      "synology":{"version":"2.1.13","platform":"Javascript/Node.js"},"telegram":{"version":"1.15.2","platform":"Javascript/Node.js"},"terminal":{"version":"1.
                                      0.0","platform":"Javascript/Node.js"},"text2command":{"version":"2.3.0","platform":"Javascript/Node.js"},"tr-064":{"version":"4.2.17","platform":"Javascr
                                      ipt/Node.js"},"trashschedule":{"version":"2.2.0","platform":"Javascript/Node.js"},"vis":{"version":"1.4.15","platform":"Javascript/Node.js"},"vis-hqwidge
                                      ts":{"version":"1.3.0","platform":"Javascript/Node.js"},"vis-inventwo":{"version":"3.3.1","platform":"Javascript/Node.js"},"vis-material-advanced":{"vers
                                      ion":"1.7.2","platform":"Javascript/Node.js"},"vis-materialdesign":{"version":"0.5.9","platform":"Javascript/Node.js"},"web":{"version":"4.3.0","platform
                                      ":"Javascript/Node.js"},"zigbee":{"version":"1.8.10","platform":"Javascript/Node.js"},"influxdb":{"version":"3.2.0","platform":"Javascript/Node.js"},"sim
                                      ple-api":{"version":"2.7.2","platform":"Javascript/Node.js"},"tankerkoenig":{"version":"3.3.7","platform":"Javascript/Node.js"},"vis-2-beta":{"version":"
                                      2.0.16","platform":"Javascript/Node.js"},"vis-2-widgets-material":{"version":"0.2.1","platform":"Javascript/Node.js"},"vis-2-widgets-energy":{"version":"
                                      0.1.3","platform":"Javascript/Node.js"},"vis-2-widgets-gauges":{"version":"0.1.4","platform":"Javascript/Node.js"},"upnp":{"version":"1.0.21","platform":
                                      "Javascript/Node.js"},"daswetter":{"version":"3.1.7","platform":"Javascript/Node.js"},"pollenflug":{"version":"1.0.6","platform":"Javascript/Node.js"},"a
                                      larm":{"version":"3.3.9","platform":"Javascript/Node.js"},"fullybrowser":{"version":"2.1.2","platform":"Javascript/Node.js"},"fritzdect":{"version":"2.2.6","platform":"Javascript/Node.js"},"sourceanalytix":{"version":"0.4.14","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":46,"compactMode":false,"noCompactInstances":0,"model":"Cortex-A72","cpus":4,"mem":3926355968,"ostype":"Linux","city":"Mössingen","vis":21}
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334752] nc3:Camera1 invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334780] CPU: 3 PID: 871 Comm: nc3:Camera1 Tainted: G         C        5.15.84-v8+ #1613
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334786] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334791] Call trace:
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334792]  dump_backtrace+0x0/0x1b8
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334808]  show_stack+0x20/0x30
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334814]  dump_stack_lvl+0x8c/0xb8
                                      Mar 15 15:33:10 raspberrypi kernel: [286331.334820]  dump_stack+0x18/0x34
                                      
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        shellyrulestheworld @shellyrulestheworld last edited by

                                        es ist halt echt merkwürdig, dass das System wirklich ohne Probleme läuft über Tage und Wochen (seit ich das automatische checken nach Updates deaktiviert habe) und wenn ich dann gelegentlich von Hand auf Updates prüfe der Absturz kommt.

                                        Gaspode 1 Reply Last reply Reply Quote 0
                                        • Gaspode
                                          Gaspode @shellyrulestheworld last edited by

                                          @shellyrulestheworld said in Raspberry Absturz alle 3 Tage:

                                          wenn ich dann gelegentlich von Hand auf Updates prüfe

                                          Und das hast du gestern um 15:15 gemacht? Anscheinend hast du immer noch ein Problem mit zu wenig RAM, da der OOM Killer wieder zugeschlagen hat. Evtl. Ist die Prüfung auf Updates der Tropfen, der das Fass zum Überlaufen bringt.
                                          Da aber wieder etwas im Zusammenhang mit der Kamera den OOM-Killer getriggert hat, ist evtl. da was mit der Konfiguration schief?
                                          Verdächtig finde ich, dass unmittelbar vor dem Ereignis Fehlermeldungen kommen, die mit dem Video Device zu tun haben.
                                          Was ist denn /dev/video0 und warum greift jemand drauf zu, wenn es nicht existiert?

                                          S 1 Reply Last reply Reply Quote 1
                                          • S
                                            shellyrulestheworld @Gaspode last edited by shellyrulestheworld

                                            @gaspode
                                            ich habe Motioneye am Laufen und normalerweise ist die Kamera per USB angebunden. Ich habe aber nur Network Kameras dran... und ich habe es in der Config vom Motioneye leider nicht hinbekommen den USB support zu deaktivieren. Deshalb läuft der log ziemlich voll.

                                            Klar, meine 4 GB RAM sind nicht mega viel, aber es ist schon komisch, dass das Suchen nach Updates immer DER Tropfen ist. Ist das so RAM intensiv? 😉

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            926
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            118
                                            6195
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo