Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspberry Swappt wieder trotz 4GB Ram

    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

    Raspberry Swappt wieder trotz 4GB Ram

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

      @jmeister79 sagte in Raspberry Swappt wieder trotz 4GB Ram:

      Was ist da denn schief oder ist das normal?

      alles gut.
      Aber du solltest mal nach MEM sortieren.

      Mal ins Blaue:
      Hast du vielleicht zu große Backups und dein RAM reicht beim Lauf von backitup nicht mehr?

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

        @homoran
        bin mir nicht sicher mit backitup., das läuft alle zwei tage.

        History Data ist da das größte.

        Ich habe in den Vergangen wochen ziemlich mit Javascript rumgespielt. Timer gebaut die mit der on Methode gestartet werden usw. Die hab ich allerdings wieder beseitigt.
        Was mir noch einfällt, ist, dass ich ja dieses Webcam Script Benutze dass durch "on" das Dateisystem durchsucht und kopiert usw. Vielleicht
        ist da die Instanzierung n Problem? So wie ich kürzlich gelernt habe ist jedes 'on' ja ein neuer Prozess.
        Hier nach mem sortiert:

        pi@iobrokerpi:~ $ htop
        
          1  [||||||                                                                                                  4.6%]   Tasks: 52, 243 thr; 2 running
          2  [|||||||||||||                                                                                          11.0%]   Load average: 0.40 0.48 0.39
          3  [||||||||||||||||||                                                                                     15.3%]   Uptime: 5 days, 19:34:55
          4  [||||||||||||                                                                                           10.4%]
          Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||1.39G/3.75G]
          Swp[||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||99.2M/100.0M]
        
          PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
          963 iobroker   20   0  308M  193M 28804 S 11.0  5.0  9h27:35 io.javascript.0
          970 iobroker   20   0  308M  193M 28804 S  0.0  5.0 22:55.35 io.javascript.0
          972 iobroker   20   0  308M  193M 28804 S  0.0  5.0 22:53.05 io.javascript.0
          973 iobroker   20   0  308M  193M 28804 S  0.0  5.0 22:52.46 io.javascript.0
          971 iobroker   20   0  308M  193M 28804 S  0.0  5.0 22:51.37 io.javascript.0
          967 iobroker   20   0  308M  193M 28804 S  0.0  5.0 14:08.32 io.javascript.0
          966 iobroker   20   0  308M  193M 28804 S  0.6  5.0 14:07.17 io.javascript.0
          968 iobroker   20   0  308M  193M 28804 S  0.0  5.0 14:05.85 io.javascript.0
          965 iobroker   20   0  308M  193M 28804 S  5.8  5.0 14:03.19 io.javascript.0
          964 iobroker   20   0  308M  193M 28804 S  0.0  5.0  0:00.00 io.javascript.0
          969 iobroker   20   0  308M  193M 28804 S  0.0  5.0  0:00.00 io.javascript.0
          674 iobroker   20   0  264M  174M 27484 R  9.7  4.6 13h39:28 iobroker.js-controller
          740 iobroker   20   0  264M  174M 27484 S  0.0  4.6 23:45.30 iobroker.js-controller
          743 iobroker   20   0  264M  174M 27484 S  0.0  4.6 23:44.16 iobroker.js-controller
          741 iobroker   20   0  264M  174M 27484 S  0.0  4.6 23:43.07 iobroker.js-controller
          742 iobroker   20   0  264M  174M 27484 S  0.0  4.6 23:42.56 iobroker.js-controller
          817 iobroker   20   0  264M  174M 27484 S  0.0  4.6  1:08.54 iobroker.js-controller
          819 iobroker   20   0  264M  174M 27484 S  0.0  4.6  1:07.50 iobroker.js-controller
          818 iobroker   20   0  264M  174M 27484 S  0.0  4.6  1:07.16 iobroker.js-controller
          820 iobroker   20   0  264M  174M 27484 S  0.0  4.6  1:06.71 iobroker.js-controller
          739 iobroker   20   0  264M  174M 27484 S  0.0  4.6  0:00.00 iobroker.js-controller
          747 iobroker   20   0  264M  174M 27484 S  0.0  4.6  0:00.00 iobroker.js-controller
         1184 iobroker   20   0  211M  109M 27612 S  2.6  2.8  6h04:25 io.shelly.0
         1186 iobroker   20   0  211M  109M 27612 S  0.0  2.8  1:35.21 io.shelly.0
         1189 iobroker   20   0  211M  109M 27612 S  0.6  2.8  1:34.87 io.shelly.0
         1187 iobroker   20   0  211M  109M 27612 S  0.0  2.8  1:33.90 io.shelly.0
         1188 iobroker   20   0  211M  109M 27612 S  0.0  2.8  1:33.38 io.shelly.0
         1192 iobroker   20   0  211M  109M 27612 S  0.0  2.8  0:03.77 io.shelly.0
         1194 iobroker   20   0  211M  109M 27612 S  0.0  2.8  0:03.76 io.shelly.0
         1193 iobroker   20   0  211M  109M 27612 S  0.0  2.8  0:03.67 io.shelly.0
         1195 iobroker   20   0  211M  109M 27612 S  0.0  2.8  0:03.65 io.shelly.0
         1185 iobroker   20   0  211M  109M 27612 S  0.0  2.8  0:00.00 io.shelly.0
         1190 iobroker   20   0  211M  109M 27612 S  0.0  2.8  0:00.00 io.shelly.0
         1231 iobroker   20   0  190M 95396 28340 S  0.0  2.4 27:32.53 io.zigbee.0
         1236 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:14.94 io.zigbee.0
         1235 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:14.74 io.zigbee.0
         1233 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:14.39 io.zigbee.0
         1234 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:13.86 io.zigbee.0
         1250 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:06.39 io.zigbee.0
         1249 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:06.36 io.zigbee.0
         1251 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:06.36 io.zigbee.0
         1252 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:06.36 io.zigbee.0
         1232 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:00.00 io.zigbee.0
         1237 iobroker   20   0  190M 95396 28340 S  0.0  2.4  0:00.00 io.zigbee.0
          827 iobroker   20   0  179M 94176 29368 S  1.3  2.4 10:58.57 io.admin.0
          832 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:11.93 io.admin.0
          831 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:11.68 io.admin.0
          829 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:11.68 io.admin.0
          830 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:10.70 io.admin.0
          894 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:09.04 io.admin.0
          893 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:08.86 io.admin.0
          891 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:08.55 io.admin.0
          892 iobroker   20   0  179M 94176 29368 S  0.0  2.4  0:08.55 io.admin.0
        F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit
        
        
        1 Reply Last reply Reply Quote 0
        • madjack84
          madjack84 last edited by madjack84

          oha... scheint doch ein aktuelles Thema zu sein. Hab bei mir grade das Gleiche festgestellt. Alle Prozesse stehen in HTOP mehrfach drin:
          Bildschirmfoto 2022-02-09 um 00.41.13.png

          meine VM belegt auch fleissig am Arbeitsspeicher und gibt diesen nicht mehr frei 😞 da stimmt leider was nicht 😞
          Bildschirmfoto 2022-02-09 um 00.45.32.png

          iobroker stop
          

          stoppt auch alle Prozesse 😕 und nach dem start ist nur wieder knapp 1GB belegt. Kann das wirklich Javascript sein wenn da alle Prozesse gleich oft anliegen?
          Ich hab auch keine Scripte in global 😕

          Korrektur: nach Neustart ist der Arbeitsspeicher weiterhin mit 3GB belegt. Die VM Möchte mir aber noch nicht sagen durch welchen Prozess 😕 erst ein Reboot macht wieder frei

          Homoran 1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active last edited by mickym

            Ich habe das Swapping komplett ausgeschaltet, da kann nichts mehr swappen!

            Jabba_the_Hutt jmeister79 2 Replies Last reply Reply Quote 0
            • Jabba_the_Hutt
              Jabba_the_Hutt @mickym last edited by

              @mickym

              TOP! Mach ja echt Sinn bei Linux 😕

              Swap hat schon seine Berechtigung und ist auch sinnvoll ....

              Aber es gibt ja auch sehr viele, die alles unter dem "user" root bei linux machen und sich dann wundern wieso nichts mehr funktioniert .....

              H 1 Reply Last reply Reply Quote 1
              • jmeister79
                jmeister79 @mickym last edited by

                @mickym das bringt ja so garnix.
                Swappen sit ja n Zeichen von zu wenig ram.

                Ändert also am Problem nichts.

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

                  @madjack84 sagte in Raspberry Swappt wieder trotz 4GB Ram:

                  scheint doch ein aktuelles Thema zu sein. Hab bei mir grade das Gleiche festgestellt. Alle Prozesse stehen in HTOP mehrfach drin

                  Thema ja, Problem nein!
                  Ist vollkommen in Ordnung.

                  @madjack84 sagte in Raspberry Swappt wieder trotz 4GB Ram:

                  meine VM belegt auch fleissig am Arbeitsspeicher und gibt diesen nicht mehr frei

                  auch das ist normal (www.linuxatemyram.com)

                  @madjack84 sagte in Raspberry Swappt wieder trotz 4GB Ram:

                  da stimmt leider was nicht

                  Doch! siehe Link.

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

                    @jmeister79 sagte in Raspberry Swappt wieder trotz 4GB Ram:

                    Swappen sit ja n Zeichen von zu wenig ram.

                    dann müsstest du mal deinen available RAM loggen und mal sehen wann der auf einmal (???) wegbricht.

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

                      @homoran Gute Idee, werde ich mal machen.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hans_999 @Jabba_the_Hutt last edited by

                        [OT]
                        @jabba_the_hutt said in Raspberry Swappt wieder trotz 4GB Ram:

                        TOP! Mach ja echt Sinn bei Linux
                        Swap hat schon seine Berechtigung und ist auch sinnvoll ....

                        Das kommt darauf an...

                        Swapping hat - auf dem PI mit SD - große Nachteile/Nebenwirkungen: Es wird immer auf den gleichen, kleinen Bereich des Swaps geschrieben.
                        Swapping ist kein Zeichen von zuwenig RAM. Linux schreibt schon vor einem Speichermangel immer kräftig auf die SD-Karte (Standardeinstellung Swapiness).
                        Bei der überschaubaren Lebensdauer des SD-Speichers ist das sehr problematisch und kann schnell zu Schreib-/Lesefehlers führen. Wenn eine solche Seite dann doch einmal wiedereingelagert wird, ist hat irgendetwas kaputt. Das spannende daran ist, dass man den Effekt eines solchen Fehlers beim Swappen nicht vorhersagen kann.

                        @mickym said in Raspberry Swappt wieder trotz 4GB Ram:

                        Ich habe das Swapping komplett ausgeschaltet, da kann nichts mehr swappen!

                        Mein PI habe ich mit genug RAM für seine Aufgabe besorgt und ebenfalls Swap deaktiviert. Seit Jahren läuft er mit SD-Karte ohne Probleme.
                        [/OT]

                        @madjack84
                        Ich würde die Adapter stückweise deaktivieren, um zu sehen, ob der "RAM-Verbrauch" dann verschwindet.

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

                        Support us

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

                        883
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        6
                        11
                        751
                        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