Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Performance Probleme durch Shelly Adapter?

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Performance Probleme durch Shelly Adapter?

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

      Hallo zusammen,

      seit einigen Tagen bemerke ich Performance-Probeme im ioBroker. Oft können z.b. die Instancen nicht angeigt werden. Ich habe den Shelly Adapter in Verdacht, da dieser häufig folgende Fehlermeldung ausgibt:

      2023-09-16 10:08:19.966  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8b94fc"
      2023-09-16 10:08:19.967  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23fd3dc"
      2023-09-16 10:08:19.968  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23d6114"
      2023-09-16 10:08:19.968  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a820f4"
      2023-09-16 10:08:20.526  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab96370"
      2023-09-16 10:08:21.305  - info: shelly.0 (31449) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-5443b23d6114 / shellyplus2pm#5443b23d6114#1) (false)
      2023-09-16 10:08:21.309  - info: shelly.0 (31449) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-5443b23e5f74 / shellyplus2pm#5443b23e5f74#1) (false)
      2023-09-16 10:08:21.790  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-4022d8da969c"
      2023-09-16 10:08:21.794  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8abb7c"
      2023-09-16 10:08:21.795  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab96980"
      2023-09-16 10:08:21.795  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-485519a2a5d4"
      2023-09-16 10:08:21.935  - info: shelly.0 (31449) [MQTT] Device with client id "shellyplus2pm-4022d8dbe474" connected!
      2023-09-16 10:08:22.320  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a876248"
      2023-09-16 10:08:24.058  - info: shelly.0 (31449) [MQTT] Device with client id "shellyplus1pm-a8032ab96980" connected!
      2023-09-16 10:08:24.359  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-7c87ce65d794"
      2023-09-16 10:08:24.359  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-7c87ce65d970"
      2023-09-16 10:08:24.360  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab94e10"
      2023-09-16 10:08:24.360  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8bf730"
      2023-09-16 10:08:24.360  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23e5f74"
      2023-09-16 10:08:24.360  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-3c610579bd34"
      2023-09-16 10:08:24.361  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab94e10"
      2023-09-16 10:08:24.361  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-441793acae2c"
      2023-09-16 10:08:24.361  - error: shelly.0 (31449) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab96370"
      2023-09-16 10:08:24.479  - info: shelly.0 (31449) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-b8d61a863524 / shellyplus2pm#b8d61a863524#1) (false)
      2023-09-16 10:08:24.525  - info: shelly.0 (31449) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-b8d61a8abb7c / shellyplus2pm#b8d61a8abb7c#1) (false)
      2023-09-16 10:08:24.606  - info: shelly.0 (31449) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-b8d61a8b94fc / shellyplus2pm#b8d61a8b94fc#1) (false
      

      Hat jemand eine Idee oder ähnliche Probleme?

      Was benötigt Ihr noch von mir als Infos?

      Vielen Dank und Gruß

      Homoran Glasfaser 3 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Schtallone last edited by Homoran

        @schtallone
        ist deine andere Baustelle komplett erledigt?
        https://forum.iobroker.net/post/1044181

        selbst wenn, dann nicht bereits

        @schtallone sagte in Performance Probleme durch Shelly Adapter?:

        seit einigen Tagen

        und weder das englische Forum noch die Kategorie Bug (von iobroker) ist passend

        S 2 Replies Last reply Reply Quote 0
        • S
          Schtallone @Homoran last edited by

          @homoran
          ja, ich habe wieder Zugriff. ICh denke aber das dieses Performance Problem mit dazu gehört. Ich habe aber dafür dann einen eigenen Thread aufgemacht, leider ja in falschem Bereich....

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

            @homoran

            und weder das englische Forum noch die Kategorie Bug (von iobroker) ist passend

            Kannst Du das in das richtige Forum schieben? Sorry und Danke

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

              @schtallone erledigt!

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

                @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                ICh denke aber das dieses Performance Problem mit dazu gehört

                ich auch!

                also entweder doch nicht komplett gelöst, oder auch die Shellys kommen nicht rein

                S 2 Replies Last reply Reply Quote 0
                • S
                  Schtallone @Homoran last edited by

                  @homoran Aber die Daten kommen ja an, also schein zzugriff auf die Shellys zu funktionieren. Zumindest teilweise.

                  Ist vielleicht das Intervall mit 15s Abfragezzeit (Default-Wert) zu viel des Guten?

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

                    @homoran said in Performance Probleme durch Shelly Adapter?:

                    @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                    ICh denke aber das dieses Performance Problem mit dazu gehört

                    ich auch!

                    Gbit es eine Art Performance Monitor, welcher mir zeigen könnte, welche Recourcen der iobroker bei welchem Adapter verwendet? Der belegte RAM por Adapter sagt doch nicht so viel aus, oder?

                    Dann könnte man ja den/die Übeltäter ggf. indetifizieren.

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

                      @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                      Gbit es eine Art Performance Monitor, welcher mir zeigen könnte, welche Recourcen der iobroker bei welchem Adapter verwendet?

                      nennt sich top

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

                        @homoran said in Performance Probleme durch Shelly Adapter?:

                        top

                        top - 11:24:42 up 20:49,  0 users,  load average: 11,64, 10,50, 9,33
                        Tasks:  35 total,   2 running,  33 sleeping,   0 stopped,   0 zombie
                        %Cpu(s): 60,3 us, 35,6 sy,  0,0 ni,  0,0 id,  3,1 wa,  0,0 hi,  1,0 si,  0,0 st
                        MiB Mem :   7792,2 total,    382,3 free,   5621,0 used,   1789,0 buff/cache
                        MiB Swap:  23447,2 total,  21723,8 free,   1723,4 used.   1402,6 avail Mem 
                        
                          PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                                                                                                                           
                          453 iobroker  20   0   11,2g 346132  13608 R  42,8   4,3 382:34.44 iobroker.js-con                                                                                                                                                                                                                                                                   
                         1071 iobroker  20   0 1107856 496636  11188 S  12,7   6,2 265:04.48 io.device-watch                                                                                                                                                                                                                                                                   
                        32461 iobroker  20   0 1037420 173836  29084 S   9,8   2,2   4:49.51 io.shelly.0                                                                                                                                                                                                                                                                       
                        31327 iobroker  20   0   21,0g 178732  29500 S   2,3   2,2   2:23.76 node-red                                                                                                                                                                                                                                                                          
                         1082 iobroker  20   0  961136  48932  11872 S   0,7   0,6   1:01.23 io.cloud.0                                                                                                                                                                                                                                                                        
                         1167 iobroker  20   0  847028 123344  10764 S   0,7   1,5  17:41.63 io.javascript.0                                                                                                                                                                                                                                                                   
                         1854 iobroker  20   0  700064  75264  10420 S   0,7   0,9  10:41.33 io.jarvis.0                                                                                                                                                                                                                                                                       
                          486 iobroker  20   0 1062628 154228  14452 S   0,3   1,9   3:14.73 io.admin.0                                                                                                                                                                                                                                                                        
                         1119 iobroker  20   0  683472  66092  28988 S   0,3   0,8   0:04.52 io.pvforecast.0                                                                                                                                                                                                                                                                   
                         1174 iobroker  20   0  697508  43884  10460 S   0,3   0,5   0:43.09 io.modbus.0                                                                                                                                                                                                                                                                       
                         1189 iobroker  20   0  781124  60116   9308 S   0,3   0,8   5:03.98 io.mqtt.0                                                                                                                                                                                                                                                                         
                         1644 iobroker  20   0  691912  40832  10604 S   0,3   0,5   0:49.32 io.snmp.0                                                                                                                                                                                                                                                                         
                         1861 iobroker  20   0  705392  50536  10576 S   0,3   0,6   1:37.57 io.influxdb.0                                                                                                                                                                                                                                                                     
                        31312 iobroker  20   0  685056  70144  28884 S   0,3   0,9   0:05.37 io.node-red.0                                                                                                                                                                                                                                                                     
                            1 root      20   0    7372    204    204 S   0,0   0,0   0:00.07 bash                                                                                                                                                                                                                                                                              
                          499 iobroker  20   0  866600  78152   9984 S   0,0   1,0   1:41.61 io.admin.1                                                                                                                                                                                                                                                                        
                          516 iobroker  20   0   10,9g  36644  11560 S   0,0   0,5   0:24.09 io.backitup.0                                                                                                                                                                                                                                                                     
                         1056 iobroker  20   0  687888  35920   9224 S   0,0   0,5   0:46.48 io.energiefluss                                                                                                                                                                                                                                                                   
                         1196 iobroker  20   0  699244  29936   9480 S   0,0   0,4   0:24.00 io.mqtt.1                                                                                                                                                                                                                                                                         
                         1390 iobroker  20   0  959208  47588  11420 S   0,0   0,6   0:35.27 io.netatmo.0                                                                                                                                                                                                                                                                      
                         1423 iobroker  20   0  693820  42312  11180 S   0,0   0,5   0:25.44 io.shuttercontr                                                                                                                                                                                                                                                                   
                         1655 iobroker  20   0  705512  61428  11776 S   0,0   0,8   1:12.40 io.sourceanalyt                                                                                                                                                                                                                                                                   
                         1666 iobroker  20   0  757796  23380   9028 S   0,0   0,3   0:21.21 io.termin
                        

                        sieht nicht auffällig aus bzgl. Shelly`

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

                          @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                          sieht nicht auffällig aus bzgl. Shelly`

                          naja, aber...

                          @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                          load average: 11,64, 10,50, 9,33

                          dein gesamtes System klemmt gewaltig.

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

                            @homoran
                            ja das merke ich auch irgendwie. Nur finde ich (aufgrund "keine Ahnung") nicht das Problem...

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              ticaki Developer @Schtallone last edited by ticaki

                              @schtallone

                              Sortiere die Ausgabe mal nach CPU Zeit.

                              Was steht beim device watcher bei Ereignissen? Ist das wo auf meinem Bild 1868 / 1879 steht.

                              Bildschirmfoto 2023-09-16 um 11.58.00.png

                              S 2 Replies Last reply Reply Quote 0
                              • S
                                Schtallone @ticaki last edited by

                                @ticaki
                                Ich habe vor 20 min mal den device watcher ausgeschaltet.

                                top - 12:22:05 up 21:46,  0 users,  load average: 7,08, 7,24, 7,59
                                Tasks:  37 total,   2 running,  35 sleeping,   0 stopped,   0 zombie
                                %Cpu(s): 36,9 us, 21,1 sy,  0,0 ni, 12,1 id, 29,2 wa,  0,0 hi,  0,7 si,  0,0 st
                                MiB Mem :   7792,2 total,   1012,2 free,   5113,5 used,   1666,5 buff/cache
                                MiB Swap:  23447,2 total,  21722,4 free,   1724,8 used.   1911,4 avail Mem 
                                
                                  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                                                                                                                           
                                  453 iobroker  20   0   11,2g 298988  10992 S   5,3   3,7 396:15.25 iobroker.js-con                                                                                                                                                                                                                                                                   
                                32461 iobroker  20   0 1062764 204584  11836 S   2,0   2,6   8:16.99 io.shelly.0                                                                                                                                                                                                                                                                       
                                31327 iobroker  20   0   21,0g 167288  12832 S   1,7   2,1   3:54.99 node-red                                                                                                                                                                                                                                                                          
                                 1167 iobroker  20   0  851380 126644   9148 S   0,7   1,6  18:48.56 io.javascript.0                                                                                                                                                                                                                                                                   
                                 1390 iobroker  20   0  960232  46568  10124 R   0,7   0,6   0:37.93 io.netatmo.0                                                                                                                                                                                                                                                                      
                                 1854 iobroker  20   0  694088  67636   9896 S   0,7   0,8  11:39.10 io.jarvis.0                                                                                                                                                                                                                                                                       
                                  486 iobroker  20   0 1063652 151672   9988 S   0,3   1,9   3:27.47 io.admin.0                                                                                                                                                                                                                                                                        
                                 1423 iobroker  20   0  694844  42024   9476 S   0,3   0,5   0:27.42 io.shuttercontr                                                                                                                                                                                                                                                                   
                                 1655 iobroker  20   0  705512  61012   9400 S   0,3   0,8   1:29.35 io.sourceanalyt                                                                                                                                                                                                                                                                   
                                 1831 iobroker  20   0  952040  32844  10696 S   0,3   0,4   0:23.47 io.pushover.0                                                                                                                                                                                                                                                                     
                                 3859 root      20   0   10308   2204   1724 S   0,3   0,0   0:03.83 top                                                                                                                                                                                                                                                                               
                                 3878 root      20   0   10308   2144   1676 R   0,3   0,0   0:03.79 top                                                                                                                                                                                                                                                                               
                                    1 root      20   0    7372    204    204 S   0,0   0,0   0:00.07 bash                                                                                                                                                                                                                                                                              
                                  499 iobroker  20   0  866856  76112   8560 S   0,0   1,0   1:46.15 io.admin.1                                                                                                                                                                                                                                                                        
                                  516 iobroker  20   0   10,9g  48316   9540 S   0,0   0,6   0:25.88 io.backitup.0                                                                                                                                                                                                                                                                     
                                 1056 iobroker  20   0  689424  40376   8428 S   0,0   0,5   0:51.22 io.energiefluss                                                                                                                                                                                                                                                                   
                                 1082 iobroker  20   0  961136  47388   9816 S   0,0   0,6   1:04.70 io.cloud.0                                                                                                                                                                                                                                                                        
                                 1119 iobroker  20   0  950440  51728  12392 S   0,0   0,6   0:08.78 io.pvforecast.0                                                                                                                                                                                                                                                                   
                                 1174 iobroker  20   0  697508  42024   8908 S   0,0   0,5   0:46.79 io.modbus.0                                                                                                                                                                                                                                                                       
                                 1189 iobroker  20   0  779844  60304   8884 S   0,0   0,8   5:30.04 io.mqtt.0                                                                                                                                                                                                                                                                         
                                 1196 iobroker  20   0  700524  29568   8512 S   0,0   0,4   0:25.82 io.mqtt.1                                                                                                                                                                                                                                                                         
                                 1644 iobroker  20   0  691912  39412   8984 S   0,0   0,5   0:53.31 io.snmp.0                                                                                                                                                                                                                                                                         
                                 1666 iobroker  20   0  758052  22932   8364 S   0,0   0,3   0:22.84 io.terminal.0  
                                

                                ist seit dem auch im Log ruhiger

                                Ich mache den device watcher nochmals an und teile die ergebnisse

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

                                  @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                                  auch im Log ruhiger

                                  aber hier ist immer noch viel zu viel

                                  @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                                  load average: 7,08, 7,24, 7,59

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

                                    @homoran
                                    was wäre denn ein sinnvoller Wert? Ist das average % CPU?

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

                                      @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                                      Ist das average % CPU?

                                      nein, das ist die Load average der letzten, letzten 5 und letzren 10 Minuten.
                                      Das beinhaltet einige Parameter

                                      dieser Wert s8llte die Anzahl Kerne nicht überschreiten, liegt bei vernünftiger Installation meist unter 1.

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

                                        @homoran
                                        oh! Hmm. Aufgrund von "keine Ahnung" kann es sein, dass ich hier eine miese Installation habe.

                                        Jetzt ist guter Rat teuer.... Wie kann ich dem denn vernünftig Herr werden? Bzgl. gibt es kardinalfehler, die dieses VErhalten erzeugen/begünstigen?

                                        Und dann kann nicht an der Performance meines NAS liegen?

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

                                          @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                                          dass ich hier eine miese Installation habe.

                                          das hab ich ja bereits im anderen Thread befürchtet.

                                          Habe aber auch dort keinerlei Informationen zu deinem System gefunden, ausser x86_amd64.
                                          was ist das denn für ein NAS?

                                          was sagt denn iob diag

                                          S Homoran 2 Replies Last reply Reply Quote 0
                                          • S
                                            Schtallone @Homoran last edited by Schtallone

                                            @Homoran

                                            Copy text starting here:
                                            
                                            ======================= SUMMARY =======================
                                                                 v.2023-06-20
                                            
                                            
                                            model name      : Intel(R) Celeron(R) J4005 CPU @ 2.00GHz
                                            Kernel          : x86_64
                                            Userland        : amd64
                                            Docker          : v8.1.0
                                            
                                            Installation:           Docker
                                            Kernel:                 x86_64
                                            Userland:               amd64
                                            Timezone:               Etc/UTC
                                            User-ID:                0
                                            X-Server:               false
                                            
                                            
                                            Pending OS-Updates:     0
                                            Pending iob updates:    0
                                            
                                            Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                                                    /usr/bin/node           v18.17.1
                                                                    /usr/bin/npm            9.6.7
                                                                    /usr/bin/npx            9.6.7
                                            
                                            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:            7.8G        5.3G        854M        238M        1.6G        1.6G
                                            Swap:            23G        1.7G         21G
                                            Total:           31G        7.0G         22G
                                            
                                            Active iob-Instances:   23
                                            Active repo(s): beta
                                            
                                            ioBroker Core:          js-controller           5.0.12
                                                                    admin                   6.10.1
                                            
                                            ioBroker Status:        iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            
                                            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:                10441
                                            States:                 8960
                                            
                                            Size of iob-Database:
                                            
                                            32M     /opt/iobroker/iobroker-data/objects.jsonl
                                            16M     /opt/iobroker/iobroker-data/states.jsonl
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            
                                            === Mark text until here for copying ===
                                            
                                            S Homoran 2 Replies 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

                                            889
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            14
                                            256
                                            21489
                                            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