Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2.0 ab sofort im Latest Repo

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2.0 ab sofort im Latest Repo

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

      @Jan1 darauf wollte ich ja auch nich hinaus.

      Ich kann mit dem Pi kaum noch abreiten seit gestern, ich muss ihn alle 10 min neu starten weil er einfriert oder was weis ich.

      bin leider nicht soo linux erfahren wie ich möchte top zeigt:

      714 iobroker  20   0  224092 110396  12224 S  62.3  11.6   0:41.37 io.admin.0
        508 iobroker  20   0  206868 102852  11516 R  53.0  10.8   2:20.47 iobroker.js-con
       1400 iobroker  20   0  153068  53068  20068 S  13.6   5.6   0:44.31 io.ble.0
        981 iobroker  20   0  166680  50300  12344 S   2.3   5.3   0:48.54 io.web.0
       1204 iobroker  20   0  220424  98304   9840 S   1.7  10.4   0:56.25 io.javascript.0
       1188 iobroker  20   0  146192  26984  10112 S   1.3   2.8   0:17.50 io.history.0
        755 iobroker  20   0  135856  18584   8256 S   0.7   2.0   0:02.93 io.mihome.0
        770 iobroker  20   0  136332  25336   9196 S   0.7   2.7   0:04.44 io.ping.0
       1369 pi        20   0   10360   1760   1196 R   0.7   0.2   0:01.43 top
          7 root      20   0       0      0      0 I   0.3   0.0   0:00.51 kworker/u8:0-events_unbound
         10 root      20   0       0      0      0 I   0.3   0.0   0:00.47 rcu_sched
       1310 pi        20   0   12204   1776   1196 S   0.3   0.2   0:00.16 sshd
       1351 iobroker  20   0  152536  41468  19668 S   0.3   4.4   0:08.58 io.telegram.0
          1 root      20   0   33592   2708   2316 S   0.0   0.3   0:03.72 systemd
          2 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kthreadd
          3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp
          4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp
          6 root       0 -20       0      0      0 I   0.0   0.0   0:00.03 kworker/0:0H-mmc_complete
          8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq
          9 root      20   0       0      0      0 S   0.0   0.0   0:00.14 ksoftirqd/0
         11 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_bh
         12 root      rt   0       0      0      0 S   0.0   0.0   0:00.01 migration/0
         13 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0
         14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1
         15 root      rt   0       0      0      0 S   0.0   0.0   0:00.01 migration/1
         16 root      20   0       0      0      0 S   0.0   0.0   0:00.08 ksoftirqd/1
         19 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2
         20 root      rt   0       0      0      0 S   0.0   0.0   0:00.01 migration/2
         21 root      20   0       0      0      0 S   0.0   0.0   0:00.04 ksoftirqd/2
         23 root       0 -20       0      0      0 I   0.0   0.0   0:00.57 kworker/2:0H-kblockd
         24 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3
         25 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migration/3
         26 root      20   0       0      0      0 S   0.0   0.0   0:00.07 ksoftirqd/3
         29 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kdevtmpfs
         30 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns
         34 root      20   0       0      0      0 S   0.0   0.0   0:00.00 khungtaskd
         35 root      20   0       0      0      0 S   0.0   0.0   0:00.00 oom_reaper
      
      
      

      aber das wechselt andauernd, aber ich ahb das gefühl der sit am poller. das war aber vorher nicht...

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

        @jmeister79 sorry, ich weiß die frage geht total ins blaue.
        Zumal ich ja auchd iverse adapter in den eltzten tagen geupdatet habe

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

          @jmeister79 zeig mal top cor allem inlusove dem Header ... hast unvorteihaft abgeschnitten.

          Und Ausgabe von "free -m"

          jmeister79 1 Reply Last reply Reply Quote -1
          • jmeister79
            jmeister79 @apollon77 last edited by

            @apollon77

            top - 20:24:52 up  2:51,  1 user,  load average: 0.87, 18.29, 22.38
            Tasks: 125 total,   1 running, 124 sleeping,   0 stopped,   0 zombie
            %Cpu(s): 12.1 us,  1.7 sy,  0.0 ni, 85.9 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
            MiB Mem :    926.1 total,    161.9 free,    696.2 used,     68.0 buff/cache
            MiB Swap:    100.0 total,      2.2 free,     97.8 used.    176.7 avail Mem
            
              PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
             1400 iobroker  20   0  177608  75364   6772 S  18.2   7.9  29:55.74 io.ble.0
              508 iobroker  20   0  217384  97588   8356 S  16.5  10.3  41:29.91 iobroker.js-con
             1204 iobroker  20   0  229880  82944   5880 S  12.2   8.7   8:10.38 io.javascript.0
             1188 iobroker  20   0  158056  28236   6400 S   2.6   3.0   5:46.78 io.history.0
              714 iobroker  20   0  175520  48932   7528 S   2.0   5.2   4:14.35 io.admin.0
            11711 pi        20   0   10328   2928   2488 R   1.0   0.3   0:00.06 top
              770 iobroker  20   0  137820  21960   5856 S   0.7   2.3   0:38.71 io.ping.0
               42 root       0 -20       0      0      0 I   0.3   0.0   0:15.08 kworker/u9:0-hci0
              314 root      20   0   27656     36      0 S   0.3   0.0   0:13.26 rngd
             1222 iobroker  20   0  156016  23240   8468 S   0.3   2.5   0:24.00 io.cloud.0
             1351 iobroker  20   0  167576  37348   7340 S   0.3   3.9   0:36.44 io.telegram.0
             1437 iobroker  20   0  140048  27020   6924 S   0.3   2.8   0:44.55 io.km200.0
             3639 iobroker  20   0  163456  41744   7196 S   0.3   4.4   1:24.66 io.zigbee.0
            11391 pi        20   0   12204   2108   1332 S   0.3   0.2   0:01.62 sshd
            11496 root      20   0       0      0      0 I   0.3   0.0   0:00.79 kworker/u8:4-events_unbound
                1 root      20   0   33592   2564   1652 S   0.0   0.3   0:04.89 systemd
                2 root      20   0       0      0      0 S   0.0   0.0   0:00.14 kthreadd
                3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp
                4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp
                8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq
                9 root      20   0       0      0      0 S   0.0   0.0   0:02.62 ksoftirqd/0
               10 root      20   0       0      0      0 I   0.0   0.0   0:06.82 rcu_sched
               11 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_bh
               12 root      rt   0       0      0      0 S   0.0   0.0   0:00.06 migration/0
               13 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0
               14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1
               15 root      rt   0       0      0      0 S   0.0   0.0   0:00.07 migration/1
               16 root      20   0       0      0      0 S   0.0   0.0   0:00.74 ksoftirqd/1
               19 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2
               20 root      rt   0       0      0      0 S   0.0   0.0   0:00.06 migration/2
               21 root      20   0       0      0      0 S   0.0   0.0   0:00.63 ksoftirqd/2
               24 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3
               25 root      rt   0       0      0      0 S   0.0   0.0   0:00.05 migration/3
               26 root      20   0       0      0      0 S   0.0   0.0   0:00.87 ksoftirqd/3
               29 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kdevtmpfs
               30 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns
               34 root      20   0       0      0      0 S   0.0   0.0   0:00.02 khungtaskd
               35 root      20   0       0      0      0 S   0.0   0.0   0:00.00 oom_reaper
               36 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 writeback
               37 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kcompactd0
               38 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 crypto
               39 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kblockd
               40 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 watchdogd
               41 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rpciod
               43 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 xprtiod
               46 root      20   0       0      0      0 S   0.0   0.0  12:52.80 kswapd0
               47 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nfsiod
               58 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kthrotld
               60 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 iscsi_eh
               61 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 dwc_otg
               62 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 DWC Notificatio
               63 root       1 -19       0      0      0 S   0.0   0.0   0:00.00 vchiq-slot/0
               64 root       1 -19       0      0      0 S   0.0   0.0   0:00.00 vchiq-recy/0
               65 root       0 -20       0      0      0 S   0.0   0.0   0:00.00 vchiq-sync/0
               66 root      20   0       0      0      0 S   0.0   0.0   0:00.00 vchiq-keep/0
               67 root      10 -10       0      0      0 S   0.0   0.0   0:00.00 SMIO
            
            
            apollon77 1 Reply Last reply Reply Quote 0
            • jmeister79
              jmeister79 last edited by

              ich hab grad n bisschen die vermutung, das mein logbuchscript dafür auch verantowrtlich ist. ich bau das mal um
              das schreibt bei jedem event einen 100 zeilen array in eine textvariable mit table codierung, nich so geil.
              muss nur rauskriegen wie ich n array in html darstelle

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

                @jmeister79 124 Prozesse ... swap fast voll genutzt. Vor kurzem eine load von 22 ...

                Ich tippe: Zuviel RAM bedarf für den verfügbaren Speicher damit swapping (am besten noch auf sd Karte) ... das ist der Tod

                Drück mal in top „shift-s“ dann sortiert er die Prozesse nach ram Nutzung. Das wäre dein Anfang.

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

                  @apollon77
                  Dass er solch Performanceeinbrüche hat ist neu, das ar vor ner woche noch überhaupt nicht.

                  jetzt zb:

                  top - 20:53:44 up  3:20,  1 user,  load average: 1.61, 1.40, 4.36
                  Tasks: 129 total,   2 running, 127 sleeping,   0 stopped,   0 zombie
                  %Cpu(s): 42.2 us,  3.7 sy,  0.0 ni, 52.5 id,  1.5 wa,  0.0 hi,  0.2 si,  0.0 st
                  MiB Mem :    926.1 total,     39.0 free,    823.3 used,     63.8 buff/cache
                  MiB Swap:    100.0 total,      0.0 free,    100.0 used.     49.7 avail Mem
                  
                    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
                    508 iobroker  20   0  267604 159360   6948 R 103.6  16.8  63:18.22 iobroker.js-con
                  13209 iobroker  20   0  185756  95592  23976 S  50.2  10.1   0:06.95 io.javascript.0
                   1400 iobroker  20   0  176544  72520   5948 S  14.5   7.6  35:22.73 io.ble.0
                     46 root      20   0       0      0      0 S   3.0   0.0  12:53.63 kswapd0
                    981 iobroker  20   0  178156  50324   7136 S   2.0   5.3  10:09.81 io.web.0
                   1188 iobroker  20   0  167936  36860   5688 S   1.3   3.9   8:00.48 io.history.0
                    349 avahi     20   0    5904    984    720 S   0.7   0.1   0:21.31 avahi-daemon
                   3639 iobroker  20   0  164100  42076   6280 S   0.7   4.4   1:37.42 io.zigbee.0
                  12482 pi        20   0   10328   2180   1620 R   0.7   0.2   0:05.81 top
                  13204 root      20   0       0      0      0 I   0.7   0.0   0:00.26 kworker/u8:0-events_unbound
                    314 root      20   0   27656    200    176 S   0.3   0.0   0:15.68 rngd
                    442 root       0 -20       0      0      0 I   0.3   0.0   0:02.91 kworker/u9:1-hci0
                    714 iobroker  20   0  240652 121972   6808 S   0.3  12.9   4:57.97 io.admin.0
                    770 iobroker  20   0  138464  22348   6288 S   0.3   2.4   1:12.46 io.ping.0
                  
                  

                  das ist so krass, ich komme nicht mal mehr mit der konsole drauf, das bild hier ist auch eingefroren.

                  Ich mache alle drei tage backups, wie kann ich da mal elegant sehen wann ich den js-controller geupdatet habe?

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

                    @jmeister79 also js-Controller mit 103% cpu ist seeeehr ungewöhnlich. Wenn du das eine Skript im Verdacht hast schalt es doch mal aus. Sonst adapter deaktivieren und nacheinander aktivieren und immer RAM verbrauchen und cpu beobachten.

                    Was zeigt denn Admin unter Instanzen an was eingehende und ausgehend Nachrichten angeht? Ggf musst du den expertenmodus einschalten.

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

                      Guten Abend!

                      Ich habe heute nochmal ein bissl Stopping mit Disconnects zur Datenbank (Redis, js-controller, Compact-Gruppen) und sowas getestet und da war noch ein Bug drin. Weil wir dennoch gern morgen in Stable releasen wollen brauche ich Eure Hilfe.

                      Bitte 2.0.44 vom latest (sollte jetzt langsam auftauchen, ggf iobroker updateausführen) installieren und schauen das bei Euch alles läuft. Danke!!

                      Gern auch mal wieder Master/Slave Fälle testen ... also wie sich Slaves verhalten wenn der Master weg ist und so ... das wäre extrem super!!

                      Ingo

                      sigi234 LausiD L 3 Replies Last reply Reply Quote 0
                      • jmeister79
                        jmeister79 @apollon77 last edited by

                        @apollon77 instanzen.png

                        BLE ist krass viel, da hab ich nur zwei thermometer dran...

                        jmeister79 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @apollon77 last edited by

                          @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                          Bitte 2.0.44 vom latest (sollte jetzt langsam auftauchen, ggf iobroker updateausführen) installieren und schauen das bei Euch alles läuft. Danke!!

                          Läuft, alle Adapter Grün. Keine Fehler im Log.

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

                            @jmeister79 der bluetoothadapter hate 14000(!) objekte.

                            Ich hatte alle geräte erlaubt...
                            aber woher kommen soviele objekte

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

                              @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                              Bitte 2.0.44 vom latest (sollte jetzt langsam auftauchen, ggf iobroker updateausführen) installieren und schauen das bei Euch alles läuft. Danke!!

                              top...läuft alles.....klasse Arbeit

                              Komisch war auf Android Tablet und Chrome unter Hosts Update kam nicht das Fenster "update manuell ausführen.....usw" sondern wurde sofort "iobroker upgrade self" ausgeführt??
                              Danach iobroker stop, iobroker update, iobroker start und alles war gut.

                              Gruß
                              LausiD

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

                                @apollon77
                                Update is problemlos durchgelaufen, bisher keine Auffälligkeiten. Bei mir allerdings nur ein Master im Proxmox Container. redis/redis.

                                Danke für die super Arbeit!

                                Gruß Marco

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

                                  @LausiD Hm ... also mir wäre neu das der Admin das macht ... ein neuer Admin hat die Anleitung jetzt ausführlicher

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

                                    @jmeister79 sagte in js-controller 2.0 ab sofort im Latest Repo:

                                    aber woher kommen soviele objekte

                                    Jedes Handy, was an deinem Haus vorbeibewegt wird, wird dabei erfasst. Ich glaube ich sollte die Option sehr deutlich als sehr gefährlich markieren oder automatisch nach einer gewissen Zeit ausschalten...

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

                                      @AlCalzone kannst du mir nochmal genau die Option sagen?
                                      Habe jetzt sowohl bei dienst, als auch im anderen feld jetzt xiaomi drin. Er hat aber trotzdem meinen Fernseher und das Mi Band meiner Frau erfasst. Musste die isntanz löschen und alle Objekte, konnte das nichtmal mehr öffnen.

                                      Nils

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

                                        @apollon77 heute morgen hängt er direkt wieder obwohl ich den ble adapter schon ausgemistet habe.

                                        Würde es nützen den Swapfile zu deaktivieren?

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

                                          @jmeister79

                                          Konfigurations-Dialog:
                                          --> Aktive Plugins: xiaomi
                                          --> Überwachte Dienste: leer lassen
                                          --> Erfassen von Geräten ohne gesendete Daten erlauben: kein Haken (wichtig!!)

                                          Und unter ble.0.options.allowNewDevices im Objekte-Ordner: Haken weg, wenn du keine weiteren Geräte erfassen willst

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

                                            @jmeister79 Ohne swapfile würde dein System direkt prozesse killen. Keine Ahnung ob du das willst.

                                            Die todos stehen oben ... btw wie viele Instanzen hast du?

                                            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

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            89
                                            1052
                                            269351
                                            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