Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Speicherprobleme - Absturz?

    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

    Speicherprobleme - Absturz?

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Schandmann @Homoran last edited by

      @homoran

      okay, was meinst du mit "das die Ursache woanders liegt"?
      Habe ich zu wenig RAM-Leistung?
      Seit gestern Mittag lief das System stabil durch, bis ich heute morgen wieder den Energiefluss-Adapter gestartet habe.

      Ich werde noch weiter auf Ursachenforschung gehen...

      Danke bis hierhin!

      mfg

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

        @schandmann sagte in Test Adapter Energiefluss-erweitert v0.0.x GitHub/Latest:

        Habe ich zu wenig RAM-Leistung?

        möglicherweise zu wenig RAM, aber genug Leistung.

        was sagt top oder noch besser iob diag komplett

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

          @homoran

          iob diag ist bei mir anscheinend nicht installiert. Kann ich zumindest nicht ausführen...

          top sagt:


          top - 09:40:30 up 1 day, 22:40, 2 users, load average: 6.32, 4.29, 3.72
          Tasks: 168 total, 1 running, 167 sleeping, 0 stopped, 0 zombie
          %Cpu(s): 38.2 us, 11.0 sy, 0.0 ni, 34.5 id, 0.0 wa, 0.0 hi, 2.1 si, 14.3 st
          MiB Mem : 3919.7 total, 432.2 free, 3258.2 used, 229.3 buff/cache
          MiB Swap: 3261.0 total, 3185.0 free, 76.0 used. 432.6 avail Mem

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

            @schandmann sagte in Test Adapter Energiefluss-erweitert v0.0.x GitHub/Latest:

            iob diag ist bei mir anscheinend nicht installiert. Kann ich zumindest nicht ausführen...

            zeigen!
            als Text in code-tags

            dito mit top, allerdings ausnahmsweise als Screenshot
            load ist vieeel zu hoch und RAM ist fast verbraucht, war es sogar schon, da Swap verwendet wurde

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

              @homoran

              iob diag:

              root@iobroker:/opt/iobroker# iob diag
              iobroker [command]
              
              Commands:
                iobroker setup                                               Setup ioBroker
                iobroker start [all|<adapter>.<instance>]                    Starts the js-controller or a specified adapter instance
                iobroker stop [<adapter>.<instance>]                         stops the js-controller or a specified adapter instance
                iobroker restart [<adapter>.<instance>]                      Restarts js-controller or a specified adapter instance  [aliases: r]
                iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
                iobroker info                                                Shows the host info
                iobroker logs [<adapter>]                                    Monitor log
                iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
                iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
                iobroker rebuild [<module>]                                  Rebuild all native modules or path
                iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
                iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
                iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
                iobroker update [<repositoryUrl>]                            Update repository and list adapters
                iobroker upgrade                                             Upgrade management
                iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
                iobroker object                                              Object management  [aliases: o]
                iobroker state                                               State management  [aliases: s]
                iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
                iobroker list <type> [<filter>]                              List all entries, like objects
                iobroker chmod <mode> <file>                                 Change file rights
                iobroker chown <user> <group> <file>                         Change file ownership
                iobroker touch <file>                                        Touch file
                iobroker rm <file>                                           Remove file
                iobroker file                                                File management
                iobroker user                                                User commands
                iobroker group                                               group management
                iobroker host <hostname>                                     Set host to given hostname
                iobroker set <adapter>.<instance>                            Change settings of adapter config
                iobroker license <license.file or license.text>              Update license by given file
                iobroker cert                                                Certificate management
                iobroker clean <yes>                                         Clears all objects and states
                iobroker backup                                              Create backup
                iobroker restore <backup name or path>                       Restore a specified backup
                iobroker validate <backup name or path>                      Validate a specified backup
                iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
                iobroker repo [<name>]                                       Show repo information
                iobroker uuid                                                Show uuid of the installation  [aliases: id]
                iobroker unsetup                                             Reset license, installation secret and language
                iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
                iobroker multihost                                           Multihost management
                iobroker compact                                             compact group management
                iobroker plugin                                              Plugin management
                iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
              
              Options:
                --help  Show help  [boolean]
              
              

              top:


              top.JPG

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

                @schandmann sagte in Test Adapter Energiefluss-erweitert v0.0.x GitHub/Latest:

                iob diag
                da ist aber einiges faul

                iob stop
                iob fix
                iob start
                iob diag
                

                @schandmann sagte in Test Adapter Energiefluss-erweitert v0.0.x GitHub/Latest:

                top:

                redis ist IMHO auch hyperaktiv

                Mach mal den fix und den diag, ich glieder das hier aus

                1 Reply Last reply Reply Quote 0
                • S
                  Schandmann @Schandmann last edited by

                  @Homoran

                  Hat jetzt mit iob diag geklappt...

                  ======================= SUMMARY =======================
                                      v.2023-04-16
                  
                  
                  Operatingsystem:        Ubuntu 20.04.4 LTS
                  Kernel:                 5.4.0-162-generic
                  Installation:           microsoft
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                0
                  X-Server:               false
                  Boot Target:            graphical.target
                  
                  Pending OS-Updates:     95
                  Pending iob updates:    0
                  
                  Nodejs-Installation:    /usr/bin/nodejs         v16.20.1
                                         /usr/bin/node           v16.20.1
                                         /usr/bin/npm            8.19.4
                                         /usr/bin/npx            8.19.4
                  
                  Recommended versions are nodejs 18.x.y and npm 9.x.y
                  Your nodejs installation is correct
                  
                  MEMORY:
                               total        used        free      shared  buff/cache   available
                  Mem:           3.9G        3.5G        259M        0.0K        170M        223M
                  Swap:          3.3G        738M        2.5G
                  Total:         7.2G        4.2G        2.8G
                  
                  Active iob-Instances:   38
                  Active repo(s): Stable (default)
                  
                  ioBroker Core:          js-controller           4.0.24
                                         admin                   6.6.1
                  
                  /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                         throw e;
                         ^
                  
                  Error: Connection is closed.
                     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                     at Object.onceWrapper (node:events:628:26)
                     at Socket.emit (node:events:513:28)
                     at TCP.<anonymous> (node:net:301:12)
                  Emitted 'error' event on ScanStream instance at:
                     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                     at processTicksAndRejections (node:internal/process/task_queues:96:5)
                  ioBroker Status:
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  
                  Objects:                28968
                  States:                 24818
                  
                  Size of iob-Database:
                  
                  31M     /opt/iobroker/iobroker-data/objects.jsonl
                  18M     /opt/iobroker/iobroker-data/objects.json.migrated
                  18M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                  4.2M    /opt/iobroker/iobroker-data/states.json.bak
                  4.2M    /opt/iobroker/iobroker-data/states.json
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  
                  

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

                    @schandmann sagte in Speicherprobleme - Absturz?:

                    Installation: microsoft

                    ach du grüne Neune

                    @schandmann sagte in Speicherprobleme - Absturz?:

                    Pending OS-Updates: 95

                    und das bei Windows??

                    oder wie passt das Ganze zu Ubuntu?

                    @schandmann sagte in Speicherprobleme - Absturz?:

                    =================== END OF SUMMARY ====================

                    bitte

                    @homoran sagte in Speicherprobleme - Absturz?:

                    besser iob diag komplett

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

                      @homoran

                      das mit Microsoft könnte daran liegen, dass ich womöglich vor Jahren mal zu testzwecken dort gestartet bin. Bin ansonsten schon über einige Systeme gezogen (RockPI,RaspberryPi und nun Synology)

                      Werde die Updates für Ubuntu mal fahren....

                      diag komplett muss ich mal schauen wie das geht...

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

                        @schandmann sagte in Speicherprobleme - Absturz?:

                        das mit Microsoft könnte daran liegen, dass ich womöglich vor Jahren mal zu testzwecken dort gestartet bin.

                        dann hast du aber eine ganz krumme Installation.

                        auch wenn @thomas-Braun sich ebenso wie ich nicht mit den Tiefen vom M$ aukennt, kann er diese Information vielleicht auflösen

                        und Synology heisst womöglich auch noch Docker!???

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

                          @homoran

                          auf der Synology läuft Ubuntu als VM und darauf dann Iobroker.
                          also nicht Docker.
                          Docker ist der Teufel. 🙂

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

                            @schandmann

                            Zu iob_diag:

                            Nie als root agieren. Leg dir einen user mit sudo-Recht an und spring damit durch das System.

                            Pending OS-Updates: 95

                            Updates einspielen.

                            /opt/iobroker/node_modules/standard-as-callback/built/index.js:6

                               throw e;
                            
                               ^
                            

                            Error: Connection is closed.

                            Komischer Fehler.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Schandmann @Thomas Braun last edited by

                              @thomas-braun

                              Updates fahre ich noch. Muss gleich wieder zur Schicht. Melde mich!

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

                                @schandmann sagte in Speicherprobleme - Absturz?:

                                das mit Microsoft könnte daran liegen, dass ich womöglich vor Jahren mal zu testzwecken dort gestartet bin

                                Und dann immer stumpf Verzeichnisse hin- und herkopiert?
                                Das kann nicht vernünftig funktionieren.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Schandmann @Thomas Braun last edited by

                                  @thomas-braun

                                  habe immer Backups eingespielt. Habe nie stumpf Verzeichnisse kopiert.

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

                                    @schandmann sagte in Speicherprobleme - Absturz?:

                                    @thomas-braun

                                    habe immer Backups eingespielt. Habe nie stumpf Verzeichnisse kopiert.

                                    dann ist da aber irgendwann ein Wurm mit den Backups reingekommen.

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

                                      @schandmann

                                      Installation: microsoft

                                      kommt auch aus der Betriebssystem-Ebene (genauer von systemd), nicht vom ioBroker.

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

                                        @thomas-braun sagte in Speicherprobleme - Absturz?:

                                        aus der Betriebssystem-Ebene (genauer von systemd)

                                        wäre es dann möglich dass

                                        @schandmann sagte in Speicherprobleme - Absturz?:

                                        auf der Synology läuft Ubuntu als VM

                                        die anscheinend verwendete Virtualization Station (???) mit einem MS Produkt unter der Haube arbeitet?
                                        leider hatte @Schandmann diese Aussage nicht näher spezifiziert wie due VM eingebunden ist.

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

                                          @homoran sagte in Speicherprobleme - Absturz?:

                                          die anscheinend verwendete Virtualization Station (???) mit einem MS Produkt unter der Haube arbeitet?

                                          Keine Ahnung was da werkelt.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Schandmann last edited by

                                            Moin Leute,

                                            habe noch einige Versuche gestartet um herauszufinden, warum sich Iobroker immer übernommen hat.

                                            Fazit:
                                            -Ohne den aktiven Energieflussadapter lief das System stabil (trotz knappem RAM-Speicher).
                                            -habe der VM (auf der Iobroker läuft) noch 1,5 GB RAM extra freigegeben, keine Verbesserung.
                                            -habe dann auf der Vis vom Energieflussadapter angefangen alle Datenquellen in den Elementen rauszunehmen und auch die Datenquellen unter "verfügbare Datenquellen" zu löschen.
                                            -Dann bin ich darauf gestoßen, dass ich eine Datenquelle nicht löschen kann, da diese noch benutzt wird.
                                            -Habe dann alle Elemente durchgeklickt und tatsächlich ein Rechteck gefunden (mit der Datenquelle), dass mir visuell nicht angezeigt wurde, ebenfalls war die Datenquelle in dem Dropdownmenu der Elemente nicht ersichtlich. Das Rechteck habe ich dann gelöscht.
                                            -Schlussendlich habe ich wieder alle Datenquellen nach und nach angelegt und zwischendurch den Adapter neu gestartet um die Performance zu testen.
                                            -Es scheint, als sei das Problem behoben.

                                            Sollt es dennoch Probleme geben, würde ich mich wieder melden!

                                            Bis hierhin, vielen Dank an alle die geholfen haben!!!

                                            Habt ein schönes Wochenende!!!

                                            mfG

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            665
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            22
                                            936
                                            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