Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker funktioniert zwar, aber Admin ist sehr langsam

    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

    ioBroker funktioniert zwar, aber Admin ist sehr langsam

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

      @h1ob

      Kannst du bitte mal alle Adapterinstanzen stoppen und schauen, was die js-controller Auslastung macht? Sukzessive wieder starten und beobachten.

      Wenn der admin nicht geht, dann über Kommandozeile.

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @h1ob last edited by

        @h1ob schalte mal die einzelnen Adapter einem
        Nach dem anderen aus und schau ob controller Last runtergeht. Geht auch per iobroker kommandozeile „iobroker stop Adapter.X“ (bzw start zum starten.

        Alternativ alles aus außer admin und dann nach einander wieder einschalten.

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @h1ob last edited by

          @h1ob ps: und wenn Admin tut achte beim Start der anderen Adapter im der Instanzansicht im expertenmodus was bei den Events in/out steht.

          H 1 Reply Last reply Reply Quote 0
          • H
            h1ob @apollon77 last edited by

            Warum lassen sich einige Instanzen nicht stoppen? Trotz Erfolgsmeldung laufen sie weiter und lassen sich nicht zum Stoppen bewegen.

            root@iobroker:~# iobroker list instances
            + system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              system.adapter.alexa2.0                : alexa2                - disabled
              system.adapter.backitup.0              : backitup              - disabled
              system.adapter.discovery.0             : discovery             - disabled
              system.adapter.flot.0                  : flot                  - disabled
              system.adapter.info.0                  : info                  - disabled
            + system.adapter.javascript.0            : javascript            -  enabled
              system.adapter.lightify.0              : lightify              - disabled
            + system.adapter.mqtt.0                  : mqtt                  -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.sonoff.0                : sonoff                -  enabled, port: 1884, bind: 0.0.0.0
            + system.adapter.sql.0                   : sql                   -  enabled, port: 3306
              system.adapter.tankerkoenig.0          : tankerkoenig          - disabled
              system.adapter.telegram.0              : telegram              - disabled, port: 8443, bind: 0.0.0.0
            + system.adapter.text2command.0          : text2command          -  enabled
              system.adapter.vis.0                   : vis                   - disabled
              system.adapter.web.0                   : web                   - disabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            

            Zumindest im aktuellen Stand funktioniert der Admin immernoch nicht. Anmeldung dauert ca. 10 Minuten.

            htop.jpg

            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @h1ob last edited by apollon77

              @h1ob warum hast du 5 js Controller prozess ids? Da ist irgendwas komisch. Ja ich weiß stop zeigt einiges manchmal doppelt an aber sollte keine eigenen Prozess ids haben. Was zeigt ein normales „top“ an?

              Am besten schaffe null Punkt. Iobroker stoppen. Dann alle relevanten Prozesse killen die ggf noch laufen. Dann „iobroker list instances“ und dann alles außer Admin mit „iobroker stop Adapter.X“ disablen. Dann iobroker starten. Dann schauen das das tut. Auch iobroker logfile schauen auf Platte unter /opt/iobroker/log/... schauen das es korrekt ist und nur einmal startet. Dann wie gesagt nacheinander Adapter neu starten und immer beobachten.

              Sucherin Blick in /var/log/syslog ist vllt interessant. Ist da irgendwas komisches?

              AlCalzone 1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @apollon77 last edited by

                @apollon77 sagte in ioBroker funktioniert zwar, aber Admin ist sehr langsam:

                ich weiß stop zeigt einiges manchmal doppelt an

                Ist bei mir aber auch so, wenn ich die Threads nicht verstecke.

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @AlCalzone last edited by

                  @AlCalzone Aahh ok. Ich nutze kein htop 😉

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    h1ob @apollon77 last edited by h1ob

                    So jetzt wird es ganz seltsam. Alle Adapter bis auf Admin sind gestoppt. Nach Start von ioBroker keine Auslastung auf dem System.
                    Der Anmeldebildschirm erscheint nach wie vor sofort. Nach Eingabe von Benutzer + Passwort nur noch die Eieruhr.
                    Nicht, dass genau Admin das Problem ist? Würde es Sinn machen Admin downzugraden?

                    iobroker@iobroker:~$ iobroker list instances
                      system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      system.adapter.alexa2.0                : alexa2                - disabled
                      system.adapter.backitup.0              : backitup              - disabled
                      system.adapter.discovery.0             : discovery             - disabled
                      system.adapter.flot.0                  : flot                  - disabled
                      system.adapter.info.0                  : info                  - disabled
                      system.adapter.javascript.0            : javascript            - disabled
                      system.adapter.lightify.0              : lightify              - disabled
                      system.adapter.mqtt.0                  : mqtt                  - disabled, port: 1883, bind: 0.0.0.0
                      system.adapter.sonoff.0                : sonoff                - disabled, port: 1884, bind: 0.0.0.0
                      system.adapter.sql.0                   : sql                   - disabled, port: 3306
                      system.adapter.tankerkoenig.0          : tankerkoenig          - disabled
                      system.adapter.telegram.0              : telegram              - disabled, port: 8443, bind: 0.0.0.0
                      system.adapter.text2command.0          : text2command          - disabled
                      system.adapter.vis.0                   : vis                   - disabled
                      system.adapter.web.0                   : web                   - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    

                    So sieht htop aus während ich die Eieruhr sehe (nach Eingabe von Benutzer + Passwort im Admin).

                    htop.jpg

                    apollon77 2 Replies Last reply Reply Quote 0
                    • apollon77
                      apollon77 @h1ob last edited by

                      @h1ob welche Admin Version hast du denn?

                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @h1ob last edited by

                        @h1ob und warum überhaupt Eingabe username und Passwort wenn „run as Admin“ Gesetzt ist?

                        AlCalzone H 2 Replies Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @apollon77 last edited by

                          @apollon77 Das wird der Haken "Authentifizierung" sein, den hab ich auf manchen Installationen auch aktiv 🙂

                          1 Reply Last reply Reply Quote 0
                          • H
                            h1ob @apollon77 last edited by

                            Das habe ich zu Beginn im Admin Adapter eingestellt, dass eine Anmeldung erforderlich ist. Die Version ist 4.0.10.

                            Ich habe in der Zwischenzeit noch weitere Tests gemacht. Der Lightify Adapter hat ein paar Probleme gemacht. Den habe ich deinstalliert. Wenn ich bis auf den Admin Adapter alles starte, sieht die Auslastung gut aus und alles funktioniert wunderbar (MQTT, Telegram etc.). Sobald ich den Admin starte, steigt die Auslastung dramatisch und der Admin selbst ist kaum zu bedienen. Insbesondere komme ich nicht in die Objekte und Instanzen Ansicht. Alles andere funktioniert, wenn auch sehr träge.

                            Ich habe heute morgen noch Node.js auf v12x und js-controller auf 3.1 aktualisiert.

                            Folgendes ist mir beim Starten der einzelnen Adapter im Log aufgefallen:

                            2020-08-26 10:56:16.393  - info: javascript.0 (14367) requesting all states
                            2020-08-26 10:56:16.394  - info: javascript.0 (14367) requesting all objects
                            2020-08-26 10:56:20.251  - info: host.iobroker instance system.adapter.telegram.0 started with pid 14397
                            2020-08-26 10:56:26.748  - warn: telegram.0 (14397) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:30.014  - info: host.iobroker instance system.adapter.web.0 started with pid 14408
                            2020-08-26 10:56:33.098  - info: host.iobroker instance system.adapter.mqtt.0 started with pid 14430
                            2020-08-26 10:56:36.282  - warn: vis.0 (14415) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:36.364  - warn: web.0 (14408) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:37.229  - info: host.iobroker instance system.adapter.tankerkoenig.0 started with pid 14441
                            2020-08-26 10:56:39.192  - warn: telegram.0 (14397) slow connection to states DB. Still waiting ...
                            2020-08-26 10:56:39.366  - warn: mqtt.0 (14430) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:41.533  - info: host.iobroker instance system.adapter.backitup.0 started with pid 14452
                            2020-08-26 10:56:42.155  - warn: web.0 (14408) slow connection to states DB. Still waiting ...
                            2020-08-26 10:56:42.155  - warn: vis.0 (14415) slow connection to states DB. Still waiting ...
                            2020-08-26 10:56:43.579  - warn: tankerkoenig.0 (14441) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:48.340  - warn: backitup.0 (14452) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:48.901  - warn: mqtt.0 (14430) slow connection to states DB. Still waiting ...
                            2020-08-26 10:56:49.083  - info: host.iobroker instance system.adapter.info.0 started with pid 14463
                            2020-08-26 10:56:51.301  - info: host.iobroker instance system.adapter.sonoff.0 started with pid 14482
                            2020-08-26 10:56:55.560  - warn: info.0 (14463) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:56:57.548  - warn: sonoff.0 (14482) slow connection to objects DB. Still waiting ...
                            2020-08-26 10:57:05.233  - warn: tankerkoenig.0 (14441) slow connection to states DB. Still waiting ...
                            2020-08-26 10:57:07.820  - warn: backitup.0 (14452) slow connection to states DB. Still waiting ...
                            2020-08-26 10:57:19.117  - warn: info.0 (14463) slow connection to states DB. Still waiting ...
                            2020-08-26 10:57:19.118  - warn: sonoff.0 (14482) slow connection to states DB. Still waiting ...
                            2020-08-26 10:57:56.483  - info: javascript.0 (14367) received all objects
                            2020-08-26 10:58:04.034  - info: javascript.0 (14367) received all states
                            
                            

                            Aktuell schreibe ich ja alles in Dateien. Wenn ich per dd die Festplatten Geschwindigkeit in /opt/iobroker messe, komme ich auf etwa 50 MB/s, was mMn ok sein sollte.
                            Ich habe dazu auch folgenden Thread gefunden: Admin seite nicht erreichbar.
                            Hier hat Redis Abhilfe geschaffen. Ist es ohne weiteres möglich, von Dateien nach Redis zu migrieren?

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @h1ob last edited by

                              @h1ob sagte in ioBroker funktioniert zwar, aber Admin ist sehr langsam:

                              2020-08-26 10:56:26.748 - warn: telegram.0 (14397) slow connection to objects DB. Still waiting ...

                              Im Admin ... die "Instanzen" Ansicht tut?
                              Mach mal expertenmodus an und zeig mal was in den Spalten mit Events in/out steht

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                h1ob @apollon77 last edited by

                                @apollon77

                                Leider nein. Auch nach Minuten öffnet sich die Instanzen oder Objekte Ansicht nicht.

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @h1ob last edited by

                                  @h1ob Und das passiert auch wenn nichts anderes als der Admin läuft???

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    h1ob @apollon77 last edited by

                                    @apollon77

                                    Ja, so sieht es aus. Admin alleine ist nicht bedienbar. Sobald ich auf Instanzen oder Objekte gehe passiert nichts.

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      Hansi1234 @h1ob last edited by Hansi1234

                                      Ich hol den alten Beitrag nochmals hoch. Hat jemand zufällig ein RPI 4 mit 4GB Ram und kann mir die Zeit messen kann bis die Admin Seite geladen ist? Mir kommt es vor, als ob etwas bei meiner Installation nicht stimmt. Es ist alles so träge geworden

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

                                        @hansi1234 sagte in ioBroker funktioniert zwar, aber Admin ist sehr langsam:

                                        Hat jemand zufällig ein RPI 4 mit 4GB Ram und mir die Zeit messen kann bis die Admin Seite geladen ist?

                                        Und das soll genau was aussagen?
                                        Für die Akten: Dauer bei mir 0,2 Sekunden.

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Hansi1234 @Thomas Braun last edited by

                                          @thomas-braun hast du genau diesen RPI? Bei mir dauert es ca 10 Sekunden. Darum hätte ich gerne einen Vergleich

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

                                            @hansi1234 Das kannst du nicht vergleichen. Hängt ja auch davon ab wie die Kiste sonst konfiguriert ist. Und was da sonst noch läuft.

                                            H 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

                                            818
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            admin
                                            14
                                            64
                                            11701
                                            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