Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Pi4 8 GB - Speicherproblem???

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Pi4 8 GB - Speicherproblem???

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

      @thomas-braun
      ist heute wieder passiert - definitv kein backup oder update oder oder...

      2022-02-01 15:09:04.842 - info: ical.1 (29100) starting. Version 1.11.4 in /opt/iobroker/node_modules/iobroker.ical, node: v14.18.3, js-controller: 3.3.22
      2022-02-01 15:09:05.275 - info: ical.1 (29100) processing URL: NamXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXcefaa08ic.ics
      2022-02-01 15:09:05.568 - info: ical.1 (29100) processing URL: BorXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXmsic.ics
      2022-02-01 15:09:05.681 - info: ical.1 (29100) processing URL: Geburtstage https://calXXXXXXXXXXXXXXXXXXXXXXXXXesic.ics
      2022-02-01 15:09:11.069 - info: ical.1 (29100) Terminated (NO_ERROR): Without reason
      2022-02-01 15:09:11.607 - info: host.raspberrypi instance system.adapter.ical.1 terminated with code 0 (NO_ERROR)
      2022-02-01 15:09:47.315 - error: host.raspberrypi Caught by controller[0]: <--- Last few GCs --->
      2022-02-01 15:09:47.320 - error: host.raspberrypi Caught by controller[0]: [1878:0x445a9b0] 209942358 ms: Scavenge 954.5 (1028.6) -> 954.4 (1028.6) MB, 11.9 / 0.0 ms (average mu = 0.881, current mu = 0.829) allocation failure
      2022-02-01 15:09:47.320 - error: host.raspberrypi Caught by controller[0]: [1878:0x445a9b0] 209942486 ms: Mark-sweep 965.5 (1036.1) -> 952.7 (1032.1) MB, 48.2 / 0.1 ms (average mu = 0.856, current mu = 0.805) allocation failure scavenge might not succeed
      2022-02-01 15:09:47.320 - error: host.raspberrypi Caught by controller[0]: <--- JS stacktrace --->
      2022-02-01 15:09:47.321 - error: host.raspberrypi Caught by controller[0]: FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
      2022-02-01 15:09:47.321 - warn: host.raspberrypi instance system.adapter.web.0 terminated due to SIGABRT
      2022-02-01 15:09:47.321 - info: host.raspberrypi instance system.adapter.web.0 terminated with code NaN ()
      2022-02-01 15:09:47.322 - info: host.raspberrypi Restart adapter system.adapter.web.0 because enabled
      2022-02-01 15:09:55.392 - info: unifi.0 (1515) State value to set for "unifi.0.default.clients.e4:5f:01:15:7d:62.satisfaction" has to be type "number" but received type "string"
      2022-02-01 15:09:55.896 - info: unifi.0 (1515) State value to set for "unifi.0.default.clients.4c:bc:e9:5c:9b:fd.satisfaction" has to be type "number" but received type "string"
      2022-02-01 15:09:56.012 - info: unifi.0 (1515) State value to set for "unifi.0.default.clients.b8:27:eb:3d:9e:da.satisfaction" has to be type "number" but received type "string"
      2022-02-01 15:09:56.120 - info: unifi.0 (1515) State value to set for "unifi.0.default.clients.e4:5f:01:27:f2:57.satisfaction" has to be type "number" but received type "string"
      
      

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

        @mguenther sagte in Pi4 8 GB - Speicherproblem???:

        FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

        Irgendwas stranguliert dein System.

        M 1 Reply Last reply Reply Quote 0
        • M
          mguenther @Thomas Braun last edited by mguenther

          @thomas-braun
          eine Idee, wie ich das rausfinden kann? Ich hatte mal einen phoscon USB Stick an dem RPi4 - den nutze ich nicht mehr. Ansonsten habe ich ja nichts verändert von der Grundinstallation... Kannst du aus den LogFiles herauserkennen, ob es quasi eine Netzwerk-Kommunikation oder auf dem Pi selber ist? Ich bin da zu sehr ein Laie, ich sehe immer nur, dass der web Adapter sich verabschiedet...

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

            @mguenther

            2022-02-01 15:09:47.315 - error: host.raspberrypi Caught by controller[0]: <--- Last few GCs --->
            2022-02-01 15:09:47.320 - error: host.raspberrypi Caught by controller[0]: [1878:0x445a9b0] 209942358 ms: Scavenge 954.5 (1028.6) -> 954.4 (1028.6) MB, 11.9 / 0.0 ms (average mu = 0.881, current mu = 0.829) allocation failure
            2022-02-01 15:09:47.320 - error: host.raspberrypi Caught by controller[0]: [1878:0x445a9b0] 209942486 ms: Mark-sweep 965.5 (1036.1) -> 952.7 (1032.1) MB, 48.2 / 0.1 ms (average mu = 0.856, current mu = 0.805) allocation failure scavenge might not succeed
            2022-02-01 15:09:47.320 - error: host.raspberrypi Caught by controller[0]: <--- JS stacktrace --->
            2022-02-01 15:09:47.321 - error: host.raspberrypi Caught by controller[0]: FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
            2022-02-01 15:09:47.321 - warn: host.raspberrypi instance system.adapter.web.0 terminated due to SIGABRT
            2022-02-01 15:09:47.321 - info: host.raspberrypi instance system.adapter.web.0 terminated with code NaN ()
            

            Da kommt der web-Adapter wohl ins Straucheln. Aber warum seh ich da nicht.

            Homoran M 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Thomas Braun last edited by

              @thomas-braun sagte in Pi4 8 GB - Speicherproblem???:

              Aber warum seh ich da nicht.

              nicht direkt, aber...

              @thomas-braun sagte in Pi4 8 GB - Speicherproblem???:

              JavaScript heap out of memory

              ich fürchte dass da ein Skript Amok läuft und alles andere mit in den Tod reisst

              M paul53 2 Replies Last reply Reply Quote 0
              • M
                mguenther @Thomas Braun last edited by

                @thomas-braun

                kann das auch mit meiner Netzverbindung zu tun haben? Ich habe einen Glasfaser Anschluss von Vodafone. Es ist "nur" ein IPV4 Anschluss und ich hatte im Internet in Verbindung mit einem unifi Netz schon hin und wieder gefunden, dass es da kurzfristige Verbindungsunterbrechungen geben soll (angeblich wegen ds-lite). Ich habe ansonsten keine Ausfälle - alle Verbindungen bleiben bestehen... Der Logfile sagt ja auch zumindest was anderes, wenn ich es richtig verstehe...

                1 Reply Last reply Reply Quote 0
                • M
                  mguenther @Homoran last edited by

                  @homoran sagte in Pi4 8 GB - Speicherproblem???:

                  @thomas-braun sagte in Pi4 8 GB - Speicherproblem???:

                  Aber warum seh ich da nicht.

                  nicht direkt, aber...

                  @thomas-braun sagte in Pi4 8 GB - Speicherproblem???:

                  JavaScript heap out of memory

                  ich fürchte dass da ein Skript Amok läuft und alles andere mit in den Tod reisst

                  ah, ok - kann ich das "herausfinden"?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @Homoran last edited by

                    @homoran sagte: ich fürchte dass da ein Skript Amok läuft

                    Das kann natürlich sein, aber die Meldung hat nichts mit dem Javascript-Adapter zu tun, sondern kommt von Node.js.

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

                      @mguenther

                      Schau mal nach der nodeJS-Installation:

                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      
                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mguenther @Thomas Braun last edited by mguenther

                        @thomas-braun sagte in Pi4 8 GB - Speicherproblem???:

                        which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                        pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                        ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden:
                        Die Datei existiert bereits
                        
                        pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v14.18.3
                        v14.18.3
                        6.14.15
                        pi
                        /home/pi
                        OK:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
                        OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        OK:3 http://archive.raspberrypi.org/debian bullseye InRelease
                        OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                        Paketlisten werden gelesen… Fertig
                        Abhängigkeitsbaum wird aufgebaut… Fertig
                        Statusinformationen werden eingelesen… Fertig
                        Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                        nodejs:
                          Installiert:           14.18.3-deb-1nodesource1
                          Installationskandidat: 14.19.0-deb-1nodesource1
                          Versionstabelle:
                             14.19.0-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                         *** 14.18.3-deb-1nodesource1 100
                                100 /var/lib/dpkg/status
                             12.22.5~dfsg-2~11u1 500
                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @mguenther last edited by

                          @mguenther

                          Grundsätzlich i. O., die Updates halt noch einspielen.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mguenther @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            v14.19.0
                            v14.19.0
                            6.14.16
                            pi
                            /home/pi
                            OK:1 http://phoscon.de/apt/deconz bullseye-beta InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            OK:3 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                            Paketlisten werden gelesen… Fertig
                            Abhängigkeitsbaum wird aufgebaut… Fertig
                            Statusinformationen werden eingelesen… Fertig
                            Alle Pakete sind aktuell.
                            nodejs:
                              Installiert:           14.19.0-deb-1nodesource1
                              Installationskandidat: 14.19.0-deb-1nodesource1
                              Versionstabelle:
                             *** 14.19.0-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 12.22.5~dfsg-2~11u1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            1. Frage - wie bekomme ich phoscon aus der Paketliste? Brauche und möchte ich nicht mehr
                            2. Frage - mir kommt gerade so ein Gedanke... Wenn es um JavaScript geht - basiert der VIS Editor, die VIS und auch der javascript-Editor nicht auch auf javascript? Ich habe momentan die ganze Zeit meinen VIS-Editor, meine VIS, auch die Skript-Umgebung, die Objekteübersicht und auch die Instanzübersicht an einem Rechner als Tab auf (ich bastle gerade an meiner VIS) und gleichzeitig läuft meine VIS auf 1, manchmal 2 Tablets - kann das damit zu tun haben?
                            Thomas Braun JLeg 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @mguenther last edited by Thomas Braun

                              @mguenther sagte in Pi4 8 GB - Speicherproblem???:

                              1.) Vermutlich liegt das in einer Datei namens deconz.list
                              Lösch die

                              sudo rm /etc/apt/sources.list.d/deconz.list
                              sudo apt update
                              

                              2.) Keine Ahnung von vis.

                              M 1 Reply Last reply Reply Quote 1
                              • M
                                mguenther @Thomas Braun last edited by

                                @thomas-braun
                                deconz.list ist weg - danke

                                1 Reply Last reply Reply Quote 0
                                • JLeg
                                  JLeg @mguenther last edited by

                                  @mguenther sagte in Pi4 8 GB - Speicherproblem???:

                                  kann das damit zu tun haben?

                                  ich würde mal "htop" installieren - da kann man eigentlich ganz gut sehen, welcher Adapter, js-controller-Prozess wieviel RAM etc. benutzt...

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  906
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  5
                                  18
                                  489
                                  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