Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit

    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

    Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit

    This topic has been deleted. Only users with topic management privileges can see it.
    • Merlin123
      Merlin123 last edited by

      Mein ioBroker meldet mir immer mal wieder:

      Probleme mit der Arbeitsspeicher-Verfügbarkeit
      Es steht nicht genug Arbeitsspeicher zur Verfügung. Die Anzahl der laufenden Adapter und Prozesse sollte geprüft werden, oder ob einzelne Prozesse zuviel Speicher benötigen.

      Im Normalbetrieb zeigt mir Proxmox (iobroker läuft da in einer VM) unter 50% Auslastung der 8GB Ram an, ioBroker unter Host sagt mir das Gleiche.

      Das System läuft unter
      Debian Bullseye
      js-controller 4.0.24
      node.js 16.18.1
      npm 8.19.2

      Ich hab noch keinen Auslöser gefunden. Heute vormittag war die Meldung noch nicht da, als ich eben reingeschaut hab, ist es wieder aufgetreten.
      Der Rechner, auf dem Proxmox läuft, hat 16GB Ram, alle VMs/Container zusammen haben max. 14 GB, aber die nutzen alle deutlich unter dem Maximum. (7, 25 und 40% Auslastung).

      Ich merke auch keine wirklichen Probleme im Betrieb.

      Hat jemand eine Idee, wo das Problem liegen könnte?

      J 1 Reply Last reply Reply Quote 0
      • J
        Jogi19 @Merlin123 last edited by

        @merlin123 Ich habe das Problem auch. Immer wenn ich bestimmte Adapter aktualisiere bekomme ich die Fehlermeldung. Einer der betroffenen Adapter ist der VIS-2 Adapter. Die Fehlermeldung zeigt dann, dass nur noch 37MB Ram frei sind. Ich habe 3450MB RAM Auslastung und 1815MB freies RAM.

        Gruß
        Jürgen

        Merlin123 1 Reply Last reply Reply Quote 0
        • Merlin123
          Merlin123 @Jogi19 last edited by

          @jogi19 Ist ein Fehler im js-controller: Github issue

          J 1 Reply Last reply Reply Quote 0
          • J
            Jogi19 @Merlin123 last edited by

            @merlin123 Danke für die Info. Hatte ich noch nicht gesehen.

            1 Reply Last reply Reply Quote 0
            • P
              Pingus last edited by

              Habe hier das gleiche Problem. iob auf Proxmox mit 4 GB RAM. Gebraucht werden laut Proxmox zwischen 1.5 und 2 GB. Trotzdem bekomme ich die "Probleme mit der Arbeitsspeicher-Verfügbarkeit" Fehlermeldung.

              Unter Hosts sagt mir iob 95% Ram (ich gehe davon aus, dass das die Auslastung ist und nicht das freie RAM, steht nicht genauer). Unten bei RAM steht das 1.8 GB ...

              793108f8-6433-4d2c-8cde-d0933873ae4f-image.png

              2 Host System, die Meldung kommt aber nur auf dem Master.

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

                @pingus

                Losgelöst von deinem Problem ist auch dein nodejs-Setup verfummelt.

                iob nodejs-update
                

                sollte das wieder geraderücken. Finger weg von manuellen npm-Updates!

                P 1 Reply Last reply Reply Quote 0
                • P
                  Pingus @Thomas Braun last edited by

                  @thomas-braun Ok, woran hast du das gesehen? Man will ja etwas lernen 🙂

                  MartinP Thomas Braun 2 Replies Last reply Reply Quote 0
                  • MartinP
                    MartinP @Pingus last edited by

                    @pingus In aller Regel kann man das nur anhand eines Vergleiches des Installierten mit dem Soll-Stand feststellen

                    Node js hinkt etwas hinterher
                    18.17.1 vs 18.19.0

                    NPM ist voraus
                    10.3.0 vs. 10.2.3
                    So sieht das bei mir aus:

                    NPM: 10.2.3
                    Adapter-Anzahl: 524
                    Datenträgergröße: 62.4 GB
                    Freier Festplattenspeicher: 53.7 GB
                    Aktive Instanzen: 17
                    Pfad: /opt/iobroker/
                    Betriebszeit: 21 T. 17:40:56
                    aktiv:
                    _nodeCurrent: 18.19.0
                    _nodeNewest: 18.19.0
                    _nodeNewestNext: 18.19.0
                    _npmCurrent: 10.2.3
                    _npmNewest: 10.2.3
                    _npmNewestNext: 10.2.3
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Pingus last edited by Thomas Braun

                      @pingus

                      An deinem Screenshot mit den inkonsistenten Versionsnummern.
                      nodejs 18.17.1 ist zu alt, npm 10.3.0 ist zu neu.
                      Da hast du also von Hand dran herumgefummelt. npm wird aber NIE manuell angepackt, das kommt immer aus dem Paket 'nodejs'.

                      Im Output von

                      iob diag
                      

                      muss das so aussehen:

                      /usr/bin/nodejs         v18.19.0
                      /usr/bin/node           v18.19.0
                      /usr/bin/npm            10.2.3
                      /usr/bin/npx            10.2.3
                      /usr/bin/corepack       0.22.0
                      
                      1 Reply Last reply Reply Quote 0
                      • P
                        Pingus last edited by Pingus

                        Danke euch, sollte jetzt passen. iob diag ist still und sagt nichts.

                        Ich habe jetzt mal die zweite Instanz deaktiviert und entfernt. Auf den Speicherverbrauch hat das keinen Einfluss.
                        10 GB RAM der VM zugewiesen und jetzt liegt der RAM Verbraucht in iob bei ca 33% ...

                        1ede343f-cf48-435e-8bec-b7fa53b60d52-image.png

                        Mal kommende Updates abwarten.

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

                          @pingus sagte in Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit:

                          iob diag ist still und sagt nichts.

                          Irgendwas wird es schon sagen.

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

                            @pingus sagte in Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit:

                            10 GB RAM der VM zugewiesen

                            undxwarum steht im Screenshot 1.8GB?

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              Pingus @Thomas Braun last edited by

                              @thomas-braun Ja, nach einen Neustart hat es funktioniert.

                              Nodejs-Installation: 	/usr/bin/nodejs 	v18.19.0
                              			/usr/bin/node 		v18.19.0
                              			/usr/bin/npm 		10.2.3
                              			/usr/bin/npx 		10.2.3
                              			/usr/bin/corepack 	0.22.0
                              
                              
                              ioBroker Core: 		js-controller 		5.0.17
                              			admin 			6.12.0
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • P
                                Pingus @Homoran last edited by Pingus

                                @homoran Genau das frage ich mich auch 🙂

                                Für mich leider immer relativ viel Aufwand für ioBroker im Vergleich zu Home Assistant oder fhem.

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

                                  @pingus sagte in Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit:

                                  @homoran Genau das frage ich mich auch 🙂

                                  bitte iob diag in der Langfassung.

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

                                    Ist das die Langfassung? Danke für die Unterstützung.
                                    Oh, das ist ja noch Debian 10 🙄

                                    ======================= SUMMARY =======================
                                    			v.2023-10-10
                                    
                                    
                                       Static hostname: iob01
                                             Icon name: computer-vm
                                               Chassis: vm
                                        Virtualization: kvm
                                      Operating System: Debian GNU/Linux 10 (buster)
                                                Kernel: Linux 4.19.0-26-amd64
                                          Architecture: x86-64
                                    
                                    Installation: 		kvm
                                    Kernel: 		x86_64
                                    Userland: 		amd64
                                    Timezone: 		Europe/Zurich (CET, +0100)
                                    User-ID: 		1002
                                    X-Server: 		false
                                    Boot Target: 		graphical.target
                                    
                                    Pending OS-Updates: 	0
                                    Pending iob updates: 	0
                                    
                                    Nodejs-Installation: 	/usr/bin/nodejs 	v18.19.0
                                    			/usr/bin/node 		v18.19.0
                                    			/usr/bin/npm 		10.2.3
                                    			/usr/bin/npx 		10.2.3
                                    			/usr/bin/corepack 	0.22.0
                                    
                                    Recommended versions are nodejs 18.19.0 and npm 10.2.3
                                    Your nodejs installation is correct
                                    
                                    MEMORY: 
                                                  total        used        free      shared  buff/cache   available
                                    Mem:             9G        2.7G        6.4G        8.0M        882M        7.0G
                                    Swap:          2.0G          0B        2.0G
                                    Total:          12G        2.7G        8.5G
                                    
                                    Active iob-Instances: 	32
                                    Active repo(s): stable
                                    
                                    ioBroker Core: 		js-controller 		5.0.17
                                    			admin 			6.12.0
                                    
                                    ioBroker Status: 	iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    
                                    Status admin and web instance:
                                    + system.adapter.admin.0                  : admin                 : iob01                                    -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    + system.adapter.web.0                    : web                   : iob01                                    -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                    
                                    Objects: 		45407
                                    States: 		41201
                                    
                                    Size of iob-Database:
                                    
                                    51M	/opt/iobroker/iobroker-data/objects.jsonl
                                    16M	/opt/iobroker/iobroker-data/objects.json.migrated
                                    16M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                                    43M	/opt/iobroker/iobroker-data/states.jsonl
                                    6.4M	/opt/iobroker/iobroker-data/states.json.migrated
                                    6.4M	/opt/iobroker/iobroker-data/states.json.bak.migrated
                                    
                                    
                                    
                                    =================== END OF SUMMARY ====================
                                    
                                    Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Pingus last edited by

                                      @pingus sagte in Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit:

                                      Oh, das ist ja noch Debian 10

                                      Und das muss ersetzt werden.

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

                                        @pingus sagte in Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit:

                                        Mem: 9G 2.7G 6.4G

                                        dann sind die 2.8 die used MEM.

                                        ist nur Summary, aber dafür reicht's

                                        wenn @Thomas-braun noch nach Leichen im Keller suchen soll dann wäre die full Ausgabe besser,

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

                                          @homoran sagte in Fehler: Probleme mit der Arbeitsspeicher-Verfügbarkeit:

                                          wenn @Thomas-braun noch nach Leichen im Keller suchen soll dann wäre die full Ausgabe besser,

                                          Das lese ich nur bis Debian 10 'Buster'. Damit ist das Thema dann auch erledigt. Bis da Debian 12 'Bookworm' steht. Dann kann ich mir das anschauen.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            Pingus last edited by

                                            So, aktualisiert. RAM wird jetzt richtig angezeigt

                                            ======================= SUMMARY =======================
                                            			v.2023-10-10
                                            
                                            
                                             Static hostname: iob01
                                                   Icon name: computer-vm
                                                     Chassis: vm 🖴
                                              Virtualization: kvm
                                            Operating System: Debian GNU/Linux 12 (bookworm)
                                                      Kernel: Linux 6.1.0-17-amd64
                                                Architecture: x86-64
                                             Hardware Vendor: QEMU
                                              Hardware Model: Standard PC _i440FX + PIIX, 1996_
                                            Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
                                            
                                            Installation: 		kvm
                                            Kernel: 		x86_64
                                            Userland: 		amd64
                                            Timezone: 		Europe/Zurich (CET, +0100)
                                            User-ID: 		1000
                                            X-Server: 		false
                                            Boot Target: 		graphical.target
                                            
                                            Pending OS-Updates: 	0
                                            Cannot download repository hash file from "http://download.iobroker.net/sources-dist-hash.json": timeout of 10000ms exceeded
                                            Cannot download repository hash file from "http://download.iobroker.net/sources-dist-hash.json": timeout of 10000ms exceeded
                                            Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded
                                            Pending iob updates: 	0
                                            
                                            Nodejs-Installation: 	/usr/bin/nodejs 	v18.19.0
                                            			/usr/bin/node 		v18.19.0
                                            			/usr/bin/npm 		10.2.3
                                            			/usr/bin/npx 		10.2.3
                                            			/usr/bin/corepack 	0.22.0
                                            
                                            Recommended versions are nodejs 18.19.0 and npm 10.2.3
                                            Your nodejs installation is correct
                                            
                                            MEMORY: 
                                                           total        used        free      shared  buff/cache   available
                                            Mem:             10G        3.4G        6.2G        512K        1.1G        7.0G
                                            Swap:           1.0G          0B        1.0G
                                            Total:           11G        3.4G        7.2G
                                            
                                            Active iob-Instances: 	39
                                            Active repo(s): stable
                                            
                                            ioBroker Core: 		js-controller 		5.0.17
                                            			admin 			6.12.0
                                            
                                            ioBroker Status: 	iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            
                                            Status admin and web instance:
                                            + system.adapter.admin.0                  : admin                 : iob01                                    -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            + system.adapter.web.0                    : web                   : iob01                                    -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            Objects: 		52392
                                            States: 		46342
                                            
                                            Size of iob-Database:
                                            
                                            37M	/opt/iobroker/iobroker-data/objects.jsonl
                                            16M	/opt/iobroker/iobroker-data/states.jsonl
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            640
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            23
                                            1054
                                            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