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.
    • OliverIO
      OliverIO @FredF last edited by

      @fredf
      für diesen fehlerfall geht es eher um ein prozessbasiertes RAM monitoring.
      Ansonsten findet man den Übeltäter nicht.

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

        @oliverio said in Ram läuft voll:

        @bahnuhr

        ich würde atop empfehlen um das system nicht durch eine umfangreichere monitoringlösung noch mehr zu belasten. ist auch nicht proxmox spezifisch
        ich habe das selbst vor längerer zeit mal verwendet.

        das tool kann normal installiert werden und über shell aufgerufen werden.

        apt install atop
        

        über dem standardbefehl top hinaus kann es seine daten auch in eine datei schreiben, welche man zu einem späteren Zeitpunkt öffnen kann und dann über alle zeitsamples durchblättern kann

        https://linux.die.net/man/1/atop

        Seh ich denn dann in der Datei, wer was ausgelöst hat ? Oder muss ich grad zufällig an der Maschine sein und sehen das der Ram ausgelastet ist, um dann mit Zeitstempel zu suchen ?

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

          @oliverio said in Ram läuft voll:

          kann es seine daten auch in eine datei schreiben, welche man zu einem späteren Zeitpunkt öffnen kann und dann über alle zeitsamples durchblättern kann

          mehr ist natürlich in der man page (link oben gepostet) im abschnitt Raw Data Storage beschrieben

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

            Ich habe das Tool noch nicht am laufen, aber merke gerade das der Ram steigt und ioB träge wird. In der Log taucht wieder "dasWetter Adapter" auf.

            host.iobroker
            	2022-01-04 12:32:10.495	error	instance system.adapter.daswetter.0 terminated with code 15 (UNKNOWN_ERROR)
            daswetter.0
            	2022-01-04 12:32:10.415	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_3": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.414	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windchill_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windchill_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.412	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windchill_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.412	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.snowline_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.snowline_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.411	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.snowline_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.411	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.clouds_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.clouds_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.410	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.clouds_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.410	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.pressure_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.pressure_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.410	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.pressure_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.409	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.humidity_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.humidity_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.401	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.humidity_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.400	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.rain_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.rain_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.400	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windgusts_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windgusts_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.399	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windgusts_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.400	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.rain_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.399	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windIconURL: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windIconURL": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.398	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.windIconURL": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.398	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_value": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.397	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_value": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.396	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_dir: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_dir": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.394	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_dir": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.393	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_symbol": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.393	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_symbolB: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_symbolB": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.392	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.iconURL: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.iconURL": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.393	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_symbol: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_symbol": Connection is closed.]
            daswetter.0
            	2022-01-04 12:32:10.392	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.iconURL": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.392	error	Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.wind_symbolB": Connection is closed.
            daswetter.0
            	2022-01-04 12:32:10.391	error	exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.symbol_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_2.Hour_8.symbol_value": Connection is closed.]
            
            OliverIO Feuersturm 2 Replies Last reply Reply Quote 0
            • OliverIO
              OliverIO @D3ltoroxp last edited by

              @d3ltoroxp
              Das kann auch nur eine Begleiterscheinung des geringen RAM sein.
              Wenn es mit diesem Adapter ein Problem gäbe dann wärst du nicht der einzige der hier schreibt

              Wenn du mit Top dir mal die Prozesse anschaust, welche Prozesse benötigen den gerade viel RAM?

              Zeig hier mal die Ausgabe des folgenden Befehls

              
              ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -20
              
              
              D3ltoroxp 1 Reply Last reply Reply Quote 0
              • Feuersturm
                Feuersturm @D3ltoroxp last edited by

                @d3ltoroxp die Fehler kommen, wenn der Adapter innerhalb des Timeouts (ist in der Instanz einstellbar, default 60s) nicht alle Daten lesen kann weil z.b. iobroker gerade mit anderen sachen stark beschäftigt ist. Es ist somit eine Auswirkung aber nicht die Ursache.

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

                  @oliverio

                  smarthome@iobroker:~$ ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -20
                   7.9 73.5 1307684  376 iobroker.js-controller
                   5.3 23.7 1034204 19534 io.javascript.0
                   3.4  0.1 1058920  426 io.admin.0
                   2.1  1.2 745060   613 io.sonoff.0
                   2.1  0.2 805060  1400 io.web.0
                   2.1  0.1 982572   486 node-red
                   1.8  0.3 723228   598 io.shelly.0
                   1.7  0.4 918196 11083 io.zigbee.0
                   1.7  0.1 843348  1307 io.sourceanalytix.0
                   1.6  0.6 706096   628 io.tr-064.0
                   1.6  0.2 843960  1322 io.statistics.0
                   1.5  0.8 685644  1355 io.upnp.0
                   1.5  0.1 968900   520 io.alexa2.0
                   1.5  0.0 703056   689 io.hm-rega.0
                   1.4  0.4 675040  1277 io.proxmox.0
                   1.4  0.1 914040 12389 io.mihome-vacuum.0
                   1.4  0.0 965772  1415 io.worx.0
                   1.4  0.0 960868   535 io.fhem.0
                   1.4  0.0 892676   704 io.backitup.0
                   1.4  0.0 770688   918 io.iot.0
                  
                  
                  

                  Also dann doch eher ein Script.

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

                    @d3ltoroxp said in Ram läuft voll:

                    307

                    ne eigentlich nicht.
                    Aber beobachte mal den javascript Wert über die Zeit ob der sich stark verändert.
                    sieht bei mir ähnlich aus und ich habe 8 skripte laufen.
                    und du sagst jetzt ist dein RAM voll?
                    Was für ein Rechner hast du?
                    Sieht für mich nach 4GB aus.
                    Diese 20 Prozesse verbrauchen knapp 50% deines Speichers und dann kommt noch das Betriebssystem dazu.
                    Evtl können andere mal vergleichen?

                    bahnuhr 1 Reply Last reply Reply Quote 0
                    • bahnuhr
                      bahnuhr Forum Testing Most Active @OliverIO last edited by bahnuhr

                      @oliverio

                      Bei mir so:

                      dieter@VM-iobroker:~$ ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -20
                       5.3  4.4 1134800  635 io.javascript.0
                       4.5  2.8 835540   658 io.javascript.1
                       4.1 14.6 1102176  432 iobroker.js-controller
                       2.4  0.7 997564   620 io.admin.0
                       2.1  0.1 982168  1450 io.web.0
                       1.7  0.3 970212  1958 io.sql.0
                       1.6  5.7 693812 25980 io.mqtt.2
                       1.4  3.1 1010488 26391 io.mihome-vacuum.0
                       1.4  0.9 678036  2273 io.proxmox.0
                       1.4  0.6 682264  1293 io.hm-rpc.0
                       1.4  0.2 682500   734 io.hm-rega.0
                       1.4  0.1 944304  2083 io.contact.0
                       1.3  0.3 678268  1122 io.tr-064.0
                       1.3  0.3 673412  2144 io.logparser.0
                       1.3  0.1 947128   689 io.telegram.0
                       1.3  0.1 677240  2258 io.octoprint.0
                       1.2  0.1 937900  1975 io.tankerkoenig.0
                       1.2  0.1 930772  2176 io.rssfeed.0
                       1.1  0.3 653852  1065 io.ping.0
                       1.1  0.1 932044  1393 io.info.0
                      
                      

                      Habe zahlreiche Scripte (100 oder mehr).

                      Bei läuft iob in einer vm unter proxmox.
                      Die vm hat 6 GB zugeordnet und aktuell ca. 3,5 GB in Gebrauch.

                      694261d3-3c96-4d14-809c-47464ff876eb-image.png

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

                        88120365-2c9e-49bc-bae3-4516f89d772d-grafik.png

                        Aktuell sieht es bei mir auch so aus.

                        642c38f5-2430-485e-b0c0-14183e9b3d33-grafik.png

                        Nach einer weile, wird der Ram voll. Aktuell sieht es gut aus. Dann müsste ja irgendwann bei irgendwas ein Script getriggert werden, was dann verursacht, den Ram zu füllen und das ganze System lahm zu legen.
                        Komisch ist halt, das ich das früher nie hatte. An den Scripten wurde nichts geändert, das einzig neue ist das mit dem View Wechsel für die VIS.

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

                          @d3ltoroxp

                          dann nochmal den Befehl ausführen wenn das RAM voll bzw. voller wie jetzt ist.
                          Du siehst von den Werten passt das. Zur Vollständigkeit sieht es bei mir so aus

                           3.3  0.3 1364220  224 io.web.0
                           1.4  0.7 1082284  209 io.javascript.0
                           1.4  0.1 1075000  400 io.tvprogram.0
                           0.9  0.1 988748   110 io.admin.0
                           0.8  0.1 970496    88 iobroker.js-controller
                           0.6  0.8 943796 19329 io.squeezeboxrpc.0
                           0.6  0.1 928068  2887 io.openligadb.0
                           0.5  1.6 908100   369 io.info.0
                           0.5  0.2 965052   182 io.sql.0
                           0.5  0.0 949456 26865 io.simple-api.0
                           0.5  0.0 936860   348 io.history.0
                           0.4  0.2 893416   330 io.ping.0
                           0.4  0.1 913504 15041 io.rssfeed.0
                           0.4  0.0 912536 29928 io.accuweather.0
                           0.4  0.0 895992   339 io.mihome.0
                           0.4  0.0 894348 31804 io.parser.0
                           0.4  0.0 894196   239 io.discovery.0
                           0.3  0.1 892544   351 io.mytime.0
                          %MEM %CPU    VSZ   PID CMD
                           0.0  0.1   7324 14758 bash
                          

                          system läuft in einem dockercontainer auf einem intel nuc, daher ist die Prozentangabe zum Memory wohl auf Basis des Gesamtspeichers (16GB)

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

                            Ich hatte kurz bevor dieses Thema hier im Thread auseinandergenommen wurde gerade meine gesamte Installation auf den neuesten Stand gebracht. Alle Hosts von Grund auf neu aufgesetzt und auch einen anderen NUC mit größerer SSD genommen und den 8GB Speicher auf die beiden VMs zu 6 und 2 GB aufgeteilt.
                            Damals dachte ich auch noch: dann ist ja alles gut.

                            Jetzt habe ich mal den einfachen Weg gewählt, den Proxmox-Adapter installiert und dort nachgesehen
                            Proxmox_RAM-Summe.png

                            Kann man jetzt noch den RAM umverteilen, bzw. die Zuordnung für ioB auf z.B. 5GB reduzieren, oder muss nochmal alles neu installiert werden 😞

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

                              @homoran
                              kaperst du jetzt den thread mit einem anderen topic?
                              Hier gehts doch darum das bei jemand das RAM voll läuft
                              und nicht um "wie mache ich in proxmoxx...."

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

                                @oliverio sagte in Ram läuft voll:

                                Hier gehts doch darum das bei jemand das RAM voll läuft

                                das tut es bei mir doch auch!
                                Der Swap wird immer mehr benutz

                                Und wenn es wie hier beschrieben daran liegt, dass in den VMs mehr RAM vergeben ist als zur Verfügung steht, würde ich gerne wissen, ob und wie man das ändern kann

                                Dann könnte ich das testen und die hoffentlich positiven Ergebnisse den anderen helfen

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

                                  @homoran Eigentlich ganz einfach..

                                  6c640bd7-3ab7-439e-85ab-b4cbaf1e462b-grafik.png

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

                                  Bis jetzt alles ruhig hier. Der Ram ist nicht wirklich gestiegen, heute hatte ich aber wieder in der Log das mit dem daswetter Adapter... wie etwas weiter oben.

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

                                    @d3ltoroxp sagte in Ram läuft voll:

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

                                    Das hatte ich gesehen und wollte mich vergewissern, ob das gefahrlos geht. Bei HDDs geht das nämlich angeblich nicht

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

                                      @homoran Ram ändern geht.
                                      Festplattengröße nur Richtung größer.

                                      OliverIO Homoran 2 Replies Last reply Reply Quote 1
                                      • OliverIO
                                        OliverIO @Chaot last edited by

                                        @chaot
                                        müsste aber auch gehen, halt so wie mit einer echten Festplatte.
                                        Neue kleinere Festplatte anlegen, Daten kopieren,
                                        aber nicht automatisiert durch proxmox selber

                                        Homoran Chaot 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @OliverIO last edited by

                                          @oliverio sagte in Ram läuft voll:

                                          @chaot
                                          müsste aber auch gehen, halt so wie mit einer echten Festplatte.
                                          Neue kleinere Festplatte anlegen, Daten kopieren,

                                          Ja, so geht das
                                          Aber nicht wie mit paragon oder anderen Festplattentools unter Windows im laufenden Betrieb
                                          (wobei auch dort eine Verkleinerung am offenen Herzen mit Risiko behaftet ist

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

                                            @oliverio Dann bist du aber mit einer neuen VM schneller....

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            752
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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