Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Ram läuft voll

    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

    Ram läuft voll

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Chaot last edited by

      @chaot sagte in Ram läuft voll:

      Sind etwas über 500 MB wenn ich das richtig sehe.

      das würde zu meinen 320 MB bei 8GB/2VMs passen

      Was mich im Moment am meisten freut ist dass die LOAD jetzt unter 1 liegt, die bisher zwischen 2,5 und 3 lag

      1 Reply Last reply Reply Quote 0
      • D3ltoroxp
        D3ltoroxp last edited by

        Kann es aber sein das ioB diesen Viewwechsel nicht mag ? Seit das aus ist scheint es ruhig zu bleiben. Hab ich aber gefühlt schon ein paar mal gesagt hier bei anderen Verdachtsfällen

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @D3ltoroxp last edited by

          @d3ltoroxp Du bastelst zeitgleich an so vielen Baustellen, dass man als Außenstehender irgendwann die Übersicht verliert, ob und was bereits erledigt ist oder nicht.

          Ich bin nach wie vor der Meinung, dass bei dir irgendein (oder mehrere) Skripte deine Probleme verursachen.
          Möglicherweise ezeugst du aber neue Baustellen, wo vorher keine waren, in dem du immer wieder an anderen Stellen rumschraubst

          1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @Chaot last edited by crunchip

            @chaot sagte in Ram läuft voll:

            aber es wäre schon gut zu wissen wieviel tatsächlich mindestens benötigt wird.

            Das steht doch direkt auf der Proxmox Seite
            ~~Hatten wir nicht das Thema in nem Anderen Thread.~~das war ja hier, nur ein Stück weiter oben
            Edit
            https://www.proxmox.com/de/proxmox-ve/systemanforderungen

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Homoran last edited by

              @homoran sagte in Ram läuft voll:

              SWAP im PVE war weg

              Du kannst ja auch den swap entgegen der default Einstellung anpassen

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @crunchip last edited by

                @crunchip sagte in Ram läuft voll:

                @homoran sagte in Ram läuft voll:

                SWAP im PVE war weg

                Du kannst ja auch den swap entgegen der default Einstellung anpassen

                Danke - war missverständlich ausgedrückt. Die Nutzung des Swap war weg.
                Deswegen wahrscheinlich jetzt auch der deutliche Drop in der Load

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Homoran last edited by crunchip

                  @homoran ne hab schon verstanden, meinte nur, du kannst ja den swappiness Wert anpassen, wann der swap greifen soll.
                  Default sind 60.

                  1 Reply Last reply Reply Quote 1
                  • crunchip
                    crunchip Forum Testing Most Active @D3ltoroxp last edited by

                    @d3ltoroxp sagte in Ram läuft voll:

                    Dort einfach abändern und die VM oder den LXC neu starten

                    Im Lxc kann der Ram im laufendem Betrieb hoch und runter geregelt werden, ganz ohne Neustart.

                    1 Reply Last reply Reply Quote 1
                    • crunchip
                      crunchip Forum Testing Most Active last edited by

                      @d3ltoroxp

                      • wie ist denn nun eigendlich der Aktuelle Stand, laut Screenshot, hast du ja erst mal 3 Problem Adapter, die nicht laufen, unabhängig vom javascript.
                        Ist das denn schon behoben?

                      • das 2te was mir auffällt, die Ausgabe passt Hier nicht, da fehlt die Zeile

                      /usr/bin/nodejs
                      
                      • dein Problem ist ja nicht nur der Ram Anstieg, sonder deine CPU steigt ja auch ums 7fache
                      • da müsste doch noch so einiges an "Baustellen" im Log zu finden sein(vll auch versteckt, weil logstufe auf err steht) wieviel kb/mb hat bei der denn das Log eines ganzen Tages
                      D3ltoroxp 1 Reply Last reply Reply Quote 0
                      • D3ltoroxp
                        D3ltoroxp @crunchip last edited by D3ltoroxp

                        @crunchip Also der Calendar Adapter wird nicht mehr genutzt der ist deaktiviert und wird dann noch deinstalliert. Der dasWetter Adapter läuft, dort konnte ich aber schon zum 2. x sehen das er Fehler schmeißt, aber wie schon von jemand anderem vermutet ein Folgefehler.

                        Wenn du als 3. den Vaccum Adapter meinst, der ist momentan aus.

                        Die Log ist aktuell 1 MB groß.

                        Die HW kann nicht das Problem sein, das da der Ram oder die CPU einen weg hat ? Das neue System war schob gebraucht.

                        Logstufe müsste ich dann von allen Adaptern auf Debug stellen ?

                        EDIT::

                        Auf jeden Fall gibt es hier immer wieder Probleme mit der DB, wie auch bei das Wetter...

                        weatherunderground.0
                        	2022-01-06 10:34:45.071	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.069	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.068	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.066	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.064	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.061	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.059	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.057	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.056	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.055	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.053	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.052	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.051	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.049	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.048	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.046	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.045	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.044	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.041	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.040	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.038	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.037	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.036	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.034	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.032	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.031	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.029	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.018	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.017	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.016	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.014	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.012	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.011	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.009	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.008	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.006	error	Could not parse hourly Forecast-Data: Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.004	error	exception in daily forecast data Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.003	error	exception in daily forecast data Error: DB closed
                        weatherunderground.0
                        	2022-01-06 10:34:45.001	error	exception in daily forecast data Error: DB closed
                        

                        Kann sein das die einen Weg hat ? Oder das es einfach der Folgefehler ist, weil eben der Ram voll läuft die CPU überlastet ist und er dadurch nicht schafft auf die DB zu schreiben, wobei die ja auf der SSD liegt und nicht im Ram oder ?

                        Ich glaube ich werde mal was probieren. Ich möchte mal versuchen das ganz auf einen LXC zu packen also neu von Grund auf, dann müsste ich doch mit Backitup alles wieder rüber holen können oder ? Aber da hole ich vllt auch defekte Daten mit ?

                        Ich hab jetzt auch auf den Ram Verbauch geschaut bin grad wieder am Limit..

                        smarthome@iobroker:~$ ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -20
                        35.0 20.4 3340788 29964 io.javascript.0
                         8.6 52.0 1343628  376 iobroker.js-controller
                         3.3  0.1 1056104  426 io.admin.0
                         2.6  0.7 888908  1400 io.web.0
                         2.5  1.2 771124   613 io.sonoff.0
                         2.1  0.1 985212   486 node-red
                         1.9  0.4 728208   598 io.shelly.0
                         1.8  0.1 912548  1307 io.sourceanalytix.0
                         1.7  0.4 917992 31010 io.zigbee.0
                         1.6  0.8 688512  1355 io.upnp.0
                         1.6  0.6 707300   628 io.tr-064.0
                         1.6  0.2 972564   520 io.alexa2.0
                         1.6  0.2 845064  1322 io.statistics.0
                         1.5  0.0 962912   704 io.backitup.0
                         1.5  0.0 962780   535 io.fhem.0
                         1.5  0.0 702528   689 io.hm-rega.0
                         1.4  0.4 667276  1277 io.proxmox.0
                         1.4  0.0 937488   821 io.info.0
                         1.4  0.0 768640   918 io.iot.0
                         1.4  0.0 702204   674 io.hm-rpc.0
                        smarthome@iobroker:~$
                        

                        Der Javascript ist grad bei knapp 2GB sonst bei so 200-300 MB. Dann muss doch da immer ein faules Script getriggert werden. Das ist aber erst faul geworden seitdem man alles upgedated hat, wie Admin 5, js controller, node usw.
                        Außer bei Update von nodejs ging was schief. Weil an den Scripten wurde nichts geändert und davor hatte ich das Problem ja nicht, da waren für das komplette System mit anderen VM's und LXC's gerade mal 8GB vorhanden.

                        Javascript Adapter beendet und nach ca. 1 min ging der Ram wieder auf 3 auch die CPU beruhigt sich wieder. Deutet indem Fall wohl alles darauf hin, das hier irgendwann ein Script getriggert wird, was dies dann verursacht.

                        Ich werde mal die wichtigsten deaktivieren und schauen wies weiter geht.

                        crunchip OliverIO 2 Replies Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @D3ltoroxp last edited by crunchip

                          @d3ltoroxp sagte in Ram läuft voll:

                          Wenn du als 3. den Vaccum Adapter meinst,

                          nein der zigbee

                          @d3ltoroxp sagte in Ram läuft voll:

                          Logstufe müsste ich dann von allen Adaptern auf Debug stellen

                          nein, dann kackt er wahrscheinlich komplett ab
                          auf Info, bzw maximal auf warn, wenn auf err steht, bekommst du die Warnmeldungen nicht mit

                          @d3ltoroxp sagte in Ram läuft voll:

                          weatherunderground.0

                          hast du eine eigene Wetterstation?

                          @d3ltoroxp sagte in Ram läuft voll:

                          Ich glaube ich werde mal was probieren. Ich möchte mal versuchen das ganz auf einen LXC zu packen also neu von Grund auf, dann müsste ich doch mit Backitup alles wieder rüber holen können oder ? Aber da hole ich vllt auch defekte Daten mit ?

                          solltes du irgendwas durchreichen müssen(usb) müsstest du das erst einrichten bei einem LXC
                          ansonsten, nützt dir das nichts, wenn du irgendein "Problemscript" am laufen hast
                          was du ja selbst mit deiner Aussage festgestellt hast

                          @d3ltoroxp sagte in Ram läuft voll:

                          Der Javascript ist grad bei knapp 2GB sonst bei so 200-300 MB.

                          @d3ltoroxp sagte in Ram läuft voll:

                          Weil an den Scripten wurde nichts geändert

                          eben, diese müssen aber ggf angepasst werden

                          @d3ltoroxp sagte in Ram läuft voll:

                          ch werde mal die wichtigsten deaktivieren und schauen wies weiter geht.

                          wohl er die kompliziertesten, die möglicherweise in einer Dauerschleife enden oder irgendwelche timeouts nicht gestoppt werden....

                          zeig mal bitte nochmal die Ausgabe von

                          which nodejs node npm && nodejs -v && node -v && npm -v
                          
                          D3ltoroxp 1 Reply Last reply Reply Quote 0
                          • D3ltoroxp
                            D3ltoroxp @crunchip last edited by

                            @crunchip said in Ram läuft voll:

                            zeig mal bitte nochmal die Ausgabe von

                            smarthome@iobroker:~$ which nodejs node npm && nodejs -v && node -v && npm -v
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            v14.18.2
                            v14.18.2
                            6.14.15
                            smarthome@iobroker:~$
                            

                            Der Zigbee Adapter läuft, das HMIP Funkmodul auch.

                            hast du eine eigene Wetterstation?

                            Hab ich nicht, nur einen Temp Sensor.

                            solltes du irgendwas durchreichen müssen(usb) müsstest du das erst einrichten bei einem LXC

                            Ich weiß hatte ich schon mal mit einer USB HDD gemacht, hab auch ne Anleitung für nen Stick, das sollte klappen.

                            Ich hab schon angefangen die Scripte durch zu schauen, wo viel passiert, wo Timeouts und Variablen vorhanden sind.

                            1 Reply Last reply Reply Quote 0
                            • OliverIO
                              OliverIO @D3ltoroxp last edited by

                              @d3ltoroxp sagte in Ram läuft voll:

                              @crunchip Also der Calendar Adapter wird nicht mehr genutzt der ist deaktiviert und wird dann noch deinstalliert. Der dasWetter Adapter läuft, dort konnte ich aber schon zum 2. x sehen das er Fehler schmeißt, aber wie schon von jemand anderem vermutet ein Folgefehler.

                              Wenn du als 3. den Vaccum Adapter meinst, der ist momentan aus.

                              Die Log ist aktuell 1 MB groß.

                              Die HW kann nicht das Problem sein, das da der Ram oder die CPU einen weg hat ? Das neue System war schob gebraucht.

                              Logstufe müsste ich dann von allen Adaptern auf Debug stellen ?

                              EDIT::

                              Auf jeden Fall gibt es hier immer wieder Probleme mit der DB, wie auch bei das Wetter...

                              weatherunderground.0
                              	2022-01-06 10:34:45.071	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.069	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.068	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.066	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.064	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.061	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.059	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.057	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.056	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.055	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.053	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.052	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.051	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.049	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.048	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.046	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.045	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.044	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.041	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.040	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.038	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.037	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.036	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.034	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.032	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.031	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.029	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.018	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.017	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.016	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.014	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.012	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.011	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.009	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.008	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.006	error	Could not parse hourly Forecast-Data: Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.004	error	exception in daily forecast data Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.003	error	exception in daily forecast data Error: DB closed
                              weatherunderground.0
                              	2022-01-06 10:34:45.001	error	exception in daily forecast data Error: DB closed
                              

                              Kann sein das die einen Weg hat ? Oder das es einfach der Folgefehler ist, weil eben der Ram voll läuft die CPU überlastet ist und er dadurch nicht schafft auf die DB zu schreiben, wobei die ja auf der SSD liegt und nicht im Ram oder ?

                              Ich glaube ich werde mal was probieren. Ich möchte mal versuchen das ganz auf einen LXC zu packen also neu von Grund auf, dann müsste ich doch mit Backitup alles wieder rüber holen können oder ? Aber da hole ich vllt auch defekte Daten mit ?

                              Ich hab jetzt auch auf den Ram Verbauch geschaut bin grad wieder am Limit..

                              smarthome@iobroker:~$ ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -20
                              35.0 20.4 3340788 29964 io.javascript.0
                               8.6 52.0 1343628  376 iobroker.js-controller
                               3.3  0.1 1056104  426 io.admin.0
                               2.6  0.7 888908  1400 io.web.0
                               2.5  1.2 771124   613 io.sonoff.0
                               2.1  0.1 985212   486 node-red
                               1.9  0.4 728208   598 io.shelly.0
                               1.8  0.1 912548  1307 io.sourceanalytix.0
                               1.7  0.4 917992 31010 io.zigbee.0
                               1.6  0.8 688512  1355 io.upnp.0
                               1.6  0.6 707300   628 io.tr-064.0
                               1.6  0.2 972564   520 io.alexa2.0
                               1.6  0.2 845064  1322 io.statistics.0
                               1.5  0.0 962912   704 io.backitup.0
                               1.5  0.0 962780   535 io.fhem.0
                               1.5  0.0 702528   689 io.hm-rega.0
                               1.4  0.4 667276  1277 io.proxmox.0
                               1.4  0.0 937488   821 io.info.0
                               1.4  0.0 768640   918 io.iot.0
                               1.4  0.0 702204   674 io.hm-rpc.0
                              smarthome@iobroker:~$
                              

                              Der Javascript ist grad bei knapp 2GB sonst bei so 200-300 MB. Dann muss doch da immer ein faules Script getriggert werden. Das ist aber erst faul geworden seitdem man alles upgedated hat, wie Admin 5, js controller, node usw.
                              Außer bei Update von nodejs ging was schief. Weil an den Scripten wurde nichts geändert und davor hatte ich das Problem ja nicht, da waren für das komplette System mit anderen VM's und LXC's gerade mal 8GB vorhanden.

                              Javascript Adapter beendet und nach ca. 1 min ging der Ram wieder auf 3 auch die CPU beruhigt sich wieder. Deutet indem Fall wohl alles darauf hin, das hier irgendwann ein Script getriggert wird, was dies dann verursacht.

                              Ich werde mal die wichtigsten deaktivieren und schauen wies weiter geht.

                              Für mich ist das eindeutig.
                              Es ist ein Skript im javascript-Adapter.
                              Die hohe CPU kommt wharscheinlich nur deswegen zustande, weil der Rechner schon mit swappen anfängt und das kostet erhöte CPU.
                              Als nächsten Schritt würde ich vorschlagen:

                              1. du schaust hier im Forum nochmal nach Speicherlecks, ich hatte da mal schon diverse Dinge geschrieben und einen Link mit Tips, hab leider gerade keine Zeit mehr um dir das rauszusuchen. Falls du es nicht findest, schreib nochmal
                              2. Du wartest bis der Speicher wieder ähnlich voll gelaufen ist wie in der Ausgabe da oben.
                              3. Dann stoppst du jedes Skript einzeln und lässt dir immer die Ausgabe der Speicherverteilung machen.
                                Bei jedem einzelnen stoppen wird der Speicherverbrauch vom javascript-Adapter ein wenig abnehmen. Das ist normal
                                Wenn nach dem stoppen allerdings eine größere Menge an Speicher frei gegeben wird, dann hast du zumindest den einen (von evtl mehreren?) gefunden.
                                Dieses Skript untersuchst du dann nach den Tips aus den anderen Threads und dem Link
                              Homoran 1 Reply Last reply Reply Quote 1
                              • Homoran
                                Homoran Global Moderator Administrators @OliverIO last edited by Homoran

                                @oliverio sagte in Ram läuft voll:

                                Für mich ist das eindeutig.
                                Es ist ein Skript im javascript-Adapter.

                                Für mich schon lange.

                                Die auch von dir empfohlenen Schritte hat @D3ltoroxp bis jetzt noch nie konsequent durchgeführt. Je nach Trigger und Bedingungen im Skript kommt es ja nicht sofort zu einer Besserung/Verschlechterung
                                Statt dessen wird an allen unwichtigen Nebenkriegsschauplätzen geschraubt, was bei falscher Umsetzung zu weiteren Problemen führen kann.

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

                                  Eh Timeouts am Ende oder am Anfang ? Anfang damit er nicht 2 fach oder mehrfach das selbe ausführt ? Oder am Ende, falls ein Timeout hängt ?

                                  Schon wieder zwei mal heute , immer die selben zwei.

                                  weatherunderground.0
                                  	2022-01-06 17:32:29.503	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.501	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.500	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.499	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.498	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.497	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.496	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.495	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.494	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.493	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.492	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.489	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.487	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.486	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.485	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.484	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.481	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.479	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.478	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 17:32:29.476	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  

                                  Zu der Zeit sah es aber beim Ram gut aus.

                                  9658e53f-7885-42cc-aa02-ae7216639714-grafik.png

                                  EDIT 20:00 Uhr

                                  und wieder die zwei.

                                  weatherunderground.0
                                  	2022-01-06 20:04:22.219	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.218	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.216	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.214	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.212	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.208	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.207	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.206	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.204	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.203	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.201	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.200	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.199	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.197	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.196	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.194	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.193	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.192	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.190	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.189	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.186	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.185	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.184	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.182	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.181	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.179	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.178	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.176	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.175	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.173	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.171	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.169	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.165	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.164	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.162	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.160	error	Could not parse hourly Forecast-Data: Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:22.062	error	exception in daily forecast data Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:21.969	error	exception in daily forecast data Error: DB closed
                                  weatherunderground.0
                                  	2022-01-06 20:04:21.758	error	exception in daily forecast data Error: DB closed
                                  host.iobroker
                                  	2022-01-06 20:02:21.624	error	instance system.adapter.daswetter.0 terminated with code 15 (UNKNOWN_ERROR)
                                  daswetter.0
                                  	2022-01-06 20:02:21.582	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.windchill_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.windchill_value": Connection is closed.]
                                  daswetter.0
                                  	2022-01-06 20:02:21.581	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.snowline_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.snowline_value": Connection is closed.]
                                  daswetter.0
                                  	2022-01-06 20:02:21.581	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.clouds_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.clouds_value": Connection is closed.]
                                  daswetter.0
                                  	2022-01-06 20:02:21.581	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.clouds_value": Connection is closed.
                                  daswetter.0
                                  	2022-01-06 20:02:21.581	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.snowline_value": Connection is closed.
                                  daswetter.0
                                  	2022-01-06 20:02:21.581	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_5.Hour_8.windchill_value": Connection is closed.
                                  

                                  Ram war zu der Zeit auch wieder ruhig.

                                  Loggröße liegt jetzt bei 52MB

                                  1 Reply Last reply Reply Quote 0
                                  • D3ltoroxp
                                    D3ltoroxp last edited by

                                    Ich habe mal das System neu gestartet, danach sehe ich gleich sowas in der Log...

                                    host.iobroker
                                    	2022-01-08 12:18:44.683	warn	adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: }
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
                                    host.iobroker
                                    	2022-01-08 12:18:44.682	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: was compiled against a different Node.js version using
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: ^
                                    host.iobroker
                                    	2022-01-08 12:18:44.681	error	Caught by controller[0]: throw e;
                                    host.iobroker
                                    	2022-01-08 12:18:44.680	error	Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
                                    host.iobroker
                                    	2022-01-08 12:18:42.573	warn	adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                                    host.iobroker
                                    	2022-01-08 12:18:42.572	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.iobroker
                                    	2022-01-08 12:18:42.572	error	Caught by controller[0]: }
                                    host.iobroker
                                    	2022-01-08 12:18:42.572	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                                    host.iobroker
                                    	2022-01-08 12:18:42.571	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                                    host.iobroker
                                    	2022-01-08 12:18:42.571	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                                    host.iobroker
                                    	2022-01-08 12:18:42.570	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                                    host.iobroker
                                    	2022-01-08 12:18:42.570	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
                                    host.iobroker
                                    	2022-01-08 12:18:42.570	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
                                    host.iobroker
                                    	2022-01-08 12:18:42.570	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
                                    host.iobroker
                                    	2022-01-08 12:18:42.569	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                                    host.iobroker
                                    	2022-01-08 12:18:42.569	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                                    host.iobroker
                                    	2022-01-08 12:18:42.569	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                                    host.iobroker
                                    	2022-01-08 12:18:42.569	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: was compiled against a different Node.js version using
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: ^
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: throw e;
                                    host.iobroker
                                    	2022-01-08 12:18:42.568	error	Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
                                    

                                    Kann das sein das die Updates auf nodejs und Co nicht richtig funktioiniert haben damals ?

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

                                      @d3ltoroxp sagte in Ram läuft voll:

                                      adapter "zigbee" seems to be installed for a different version of Node.js.

                                      Ist das noch eine Baustelle?

                                      @d3ltoroxp sagte in Ram läuft voll:

                                      code: 'ERR_DLOPEN_FAILED'

                                      Da gab es schon eine Anfrage im Forum. Ich weiß gar nicht was dabei rausgekommen ist.

                                      @d3ltoroxp sagte in Ram läuft voll:

                                      as die Updates auf nodejs und Co nicht richtig funktioiniert haben damals ?

                                      Dieses Feature gibt es laut nodejs.org erst ab node 15
                                      ggf. ist da etwas durch up und downgrade verwurschtelt

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

                                        @homoran said in Ram läuft voll:

                                        Dieses Feature gibt es laut nodejs.org erst ab node 15
                                        ggf. ist da etwas durch up und downgrade verwurschtelt

                                        Ich hatte noch nie ein downgrade gemacht nur das upgrade von 12 auf 14

                                        adapter "zigbee" seems to be installed for a different version of Node.js.
                                        

                                        Ist das noch eine Baustelle?

                                        Eigentlich nicht, zumindest wüsste ich es nicht, der läuft einwandfrei und ohne Probleme.

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

                                          @d3ltoroxp

                                          adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
                                          

                                          Da muss der Adapter neugebaut werden. Das wird automatisch versucht, funktioniert aber nicht immer. Voraussetzung dafür ist halt eine saubere Installation von nodeJS.

                                          1 Reply Last reply Reply Quote 0
                                          • D3ltoroxp
                                            D3ltoroxp last edited by D3ltoroxp

                                            @thomas-braun Die installation wurde weiter oben geprüft und wurde für gut befunden, mehr kann ich dazu leider nicht sagen.
                                            Wie kann ich den denn rebuilden ? Einfach

                                            npm rebuild zigbee
                                            

                                            Schade es denn wenn ich einfach alle Adapter neu bauen lassen würde ? Ich meine ja auch das der weatherunderground und der dasWetter nicht rund laufen.

                                            Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            611
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            14
                                            196
                                            15999
                                            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