Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Systemauslastung hoch + Javascript schmiert ab [gelöst]

    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

    Systemauslastung hoch + Javascript schmiert ab [gelöst]

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Christoph1337 last edited by

      @christoph1337 sagte in Systemauslastung hoch + Javascript schmiert ab:

      Was meinst du genau?
      Das hier?

      nein!
      Reiter Scripte - links den Explorer in dem die Scripte aufgelistet sind.

      Bitte im Expertenmodus

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

        @thomas-braun

        root@iobroker:/opt/iobroker# iobroker list instances
        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8089, bind: 127.0.0.1, run as: admin
          system.adapter.alarm.0                  : alarm                 : iobroker                                 - disabled
        + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
        + system.adapter.broadlink2.0             : broadlink2            : iobroker                                 -  enabled
          system.adapter.chromecast.0             : chromecast            : iobroker                                 - disabled
        + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
          system.adapter.daswetter.0              : daswetter             : iobroker                                 - disabled
        + system.adapter.deconz.0                 : deconz                : iobroker                                 -  enabled, port: 1080
          system.adapter.device-reminder.0        : device-reminder       : iobroker                                 - disabled
        + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
          system.adapter.dwd.0                    : dwd                   : iobroker                                 -  enabled
        + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
          system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
          system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
          system.adapter.google-sharedlocations.0 : google-sharedlocations: iobroker                                 - disabled
        + system.adapter.hue-extended.0           : hue-extended          : iobroker                                 -  enabled
        + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 443
          system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
          system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 -  enabled
          system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : iobroker                                 -  enabled
          system.adapter.icons-icons8.0           : icons-icons8          : iobroker                                 -  enabled
          system.adapter.icons-material-png.0     : icons-material-png    : iobroker                                 -  enabled
          system.adapter.icons-material-svg.0     : icons-material-svg    : iobroker                                 -  enabled
          system.adapter.icons-mfd-png.0          : icons-mfd-png         : iobroker                                 -  enabled
          system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
          system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker                                 -  enabled
          system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : iobroker                                 -  enabled
        + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 38087
        + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
        + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
          system.adapter.jarvis.0                 : jarvis                : iobroker                                 - disabled
        + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
          system.adapter.javascript.1             : javascript            : iobroker                                 - disabled
        + system.adapter.kodi.0                   : kodi                  : iobroker                                 -  enabled, port: 9090
        + system.adapter.kodi.1                   : kodi                  : iobroker                                 -  enabled, port: 9090
        + system.adapter.kodi.2                   : kodi                  : iobroker                                 -  enabled, port: 9090
        + system.adapter.maxcube.0                : maxcube               : iobroker                                 -  enabled, port: 62910, bind: 0.0.0.0
          system.adapter.meteoalarm.0             : meteoalarm            : iobroker                                 -  enabled
          system.adapter.mihome-vacuum.0          : mihome-vacuum         : iobroker                                 - disabled, port: 54321
        + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
        + system.adapter.nut.0                    : nut                   : iobroker                                 -  enabled
        + system.adapter.octoprint.0              : octoprint             : iobroker                                 -  enabled
          system.adapter.openweathermap.0         : openweathermap        : iobroker                                 -  enabled
          system.adapter.parser.0                 : parser                : iobroker                                 - disabled
          system.adapter.philips-tv.0             : philips-tv            : iobroker                                 - disabled
        + system.adapter.pi-hole.0                : pi-hole               : iobroker                                 -  enabled
        + system.adapter.pi-hole.1                : pi-hole               : iobroker                                 -  enabled
        + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
          system.adapter.proxmox.0                : proxmox               : iobroker                                 - disabled, port: 8006
          system.adapter.proxy.0                  : proxy                 : iobroker                                 -  enabled
        + system.adapter.scenes.0                 : scenes                : iobroker                                 -  enabled
          system.adapter.schoolfree.0             : schoolfree            : iobroker                                 -  enabled
        + system.adapter.shuttercontrol.0         : shuttercontrol        : iobroker                                 -  enabled
          system.adapter.smartcontrol.0           : smartcontrol          : iobroker                                 - disabled
        + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
        + system.adapter.sourceanalytix.0         : sourceanalytix        : iobroker                                 -  enabled
        + system.adapter.spotify-premium.0        : spotify-premium       : iobroker                                 -  enabled
        + system.adapter.statistics.0             : statistics            : iobroker                                 -  enabled
        + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
        + system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled
        + system.adapter.tradfri.0                : tradfri               : iobroker                                 -  enabled
          system.adapter.unifi.0                  : unifi                 : iobroker                                 - disabled
        + system.adapter.upnp.0                   : upnp                  : iobroker                                 -  enabled
          system.adapter.vis-bars.0               : vis-bars              : iobroker                                 -  enabled
          system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : iobroker                                 -  enabled
          system.adapter.vis-colorpicker.0        : vis-colorpicker       : iobroker                                 -  enabled
          system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iobroker                                 -  enabled
          system.adapter.vis-google-fonts.0       : vis-google-fonts      : iobroker                                 -  enabled
          system.adapter.vis-history.0            : vis-history           : iobroker                                 -  enabled
          system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 -  enabled
        + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
          system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 -  enabled
          system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 -  enabled
          system.adapter.vis-keyboard.0           : vis-keyboard          : iobroker                                 -  enabled
          system.adapter.vis-lcars.0              : vis-lcars             : iobroker                                 -  enabled
          system.adapter.vis-map.0                : vis-map               : iobroker                                 -  enabled
          system.adapter.vis-material-advanced.0  : vis-material-advanced : iobroker                                 -  enabled
          system.adapter.vis-metro.0              : vis-metro             : iobroker                                 -  enabled
          system.adapter.vis-players.0            : vis-players           : iobroker                                 -  enabled
          system.adapter.vis-plumb.0              : vis-plumb             : iobroker                                 -  enabled
          system.adapter.vis-rgraph.0             : vis-rgraph            : iobroker                                 -  enabled
          system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
          system.adapter.vis-weather.0            : vis-weather           : iobroker                                 -  enabled
          system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        + system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 192.168.1.40, run as: kiosk
        + system.adapter.web.2                    : web                   : iobroker                                 -  enabled, port: 8084, bind: 192.168.1.40, run as: admin
        + system.adapter.web.3                    : web                   : iobroker                                 -  enabled, port: 8085, bind: 127.0.0.1, run as: admin
        
        + instance is alive
        
        
        1 Reply Last reply Reply Quote 0
        • Christoph1337
          Christoph1337 @Homoran last edited by

          @homoran

          root@iobroker:/opt/iobroker# iobroker list instances | grep +
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8089, bind: 127.0.0.1, run as: admin
          + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
          + system.adapter.broadlink2.0             : broadlink2            : iobroker                                 -  enabled
          + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
          + system.adapter.deconz.0                 : deconz                : iobroker                                 -  enabled, port: 1080
          + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
          + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
          + system.adapter.hue-extended.0           : hue-extended          : iobroker                                 -  enabled
          + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 443
          + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 38087
          + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
          + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
          + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
          + system.adapter.kodi.0                   : kodi                  : iobroker                                 -  enabled, port: 9090
          + system.adapter.kodi.1                   : kodi                  : iobroker                                 -  enabled, port: 9090
          + system.adapter.kodi.2                   : kodi                  : iobroker                                 -  enabled, port: 9090
          + system.adapter.maxcube.0                : maxcube               : iobroker                                 -  enabled, port: 62910, bind: 0.0.0.0
          + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
          + system.adapter.nut.0                    : nut                   : iobroker                                 -  enabled
          + system.adapter.octoprint.0              : octoprint             : iobroker                                 -  enabled
          + system.adapter.pi-hole.0                : pi-hole               : iobroker                                 -  enabled
          + system.adapter.pi-hole.1                : pi-hole               : iobroker                                 -  enabled
          + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
          + system.adapter.scenes.0                 : scenes                : iobroker                                 -  enabled
          + system.adapter.shuttercontrol.0         : shuttercontrol        : iobroker                                 -  enabled
          + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
          + system.adapter.sourceanalytix.0         : sourceanalytix        : iobroker                                 -  enabled
          + system.adapter.spotify-premium.0        : spotify-premium       : iobroker                                 -  enabled
          + system.adapter.statistics.0             : statistics            : iobroker                                 -  enabled
          + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled
          + system.adapter.tradfri.0                : tradfri               : iobroker                                 -  enabled
          + system.adapter.upnp.0                   : upnp                  : iobroker                                 -  enabled
          + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          + system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 192.168.1.40, run as: kiosk
          + system.adapter.web.2                    : web                   : iobroker                                 -  enabled, port: 8084, bind: 192.168.1.40, run as: admin
          + system.adapter.web.3                    : web                   : iobroker                                 -  enabled, port: 8085, bind: 127.0.0.1, run as: admin
          + instance is alive
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Christoph1337 last edited by Thomas Braun

            @christoph1337

            Warum zwei Admins?

            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.admin.1                  : admin                 : iobroker
            

            Warum vier web?

            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            + system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 192.168.1.40, run as: kiosk
            + system.adapter.web.2                    : web                   : iobroker                                 -  enabled, port: 8084, bind: 192.168.1.40, run as: admin
            + system.adapter.web.3                    : web                   : iobroker
            

            Zwei mal pihole hört sich auch schräg an. Warum sollte man da zwei von den Löchern betreiben?

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

              @thomas-braun
              Wenn man den Cloud Zugriff nutzen will braucht man einen zweiten Adapter... Doofer Umweg aber so geht es. Auch wenn der so eingestellt ist, das man nicht alles in dem darf.
              Ähnlich beim WEB-Adapter.

              1. Normalen
              2. Für KIOSK und Whitelist IPs
              3. Nur für API Zeug über IP (verwende ich eigentlich nicht mehr)
              4. Cloud Zugriff
              1 Reply Last reply Reply Quote 0
              • Christoph1337
                Christoph1337 @Thomas Braun last edited by

                @thomas-braun said in Systemauslastung hoch + Javascript schmiert ab:

                Zwei mal pihole hört sich auch schräg an. Warum sollte man da zwei von den Löchern betreiben?

                Weil ich zwei PI hab. Wenn einer verreckt läuft DNS noch. Die werden mit Gravity-Sync auf gleichem Stand gehalten.

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

                  @homoran
                  c2554d76-8db1-4a18-b5c3-d1348eb3125f-image.png

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Christoph1337 last edited by

                    @christoph1337 sagte in Systemauslastung hoch + Javascript schmiert ab:

                    Heute Spinnt mein ioBroker irgendwie total. Folgendes Problem.
                    Mein Javascript Adapter erzeugt eine ziemlich hohe CPU-Last und startet anscheinend immer mal wieder neu.

                    Hast du mal danach den Docker von ioBroker neu gestartet , ist es auch dann noch. , bzw. vorher mal nachgeschaut ob Zombies im Hintergrund laufen ?

                    ps auxww|grep io
                    
                    Christoph1337 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Christoph1337 last edited by Homoran

                      @christoph1337 Danke - reicht!

                      die Sammelfunktion ist das einzige Skript in global?
                      und läuft schon immer nicht?

                      Wieviele Scripte insgesamt?

                      Nur mal so zur Zusammenfassung bisher:

                      Sooo viel RAM ist das gar nicht.
                      Du hast 16GB und 4-6 ist da bei deiner Konfig gar nicht so schlecht.
                      Linux kümmert sich halt um deine Prozesse:
                      https://linuxatemyram.com

                      Welche CPU weiß ich nicht
                      aber 85% beziehen sich nur auf einen Kern - ist aber nicht wenig
                      mit Docker habe ich gar keine Erfahrung.

                      Mehr stört mich:

                      Node-Version:	10.x.x
                      Nodejs-Version:	12.22.1
                      

                      Hast du da irgend etwas nachträglich rumgepfuscht?
                      das ist wieder ein Thema für @Thomas-Braun

                      Thomas Braun Christoph1337 2 Replies Last reply Reply Quote 0
                      • Christoph1337
                        Christoph1337 @Glasfaser last edited by

                        @glasfaser

                        Vorher danach geschaut hab ich nicht. Allerdings hab ich nachdem ich die Container neu gestartet habe das ganze NAS auch rebootet

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

                          @homoran sagte in Systemauslastung hoch + Javascript schmiert ab:

                          das ist wieder ein Thema für @Thomas-Braun

                          Nee, mit Docker ist das kein Thema für mich. Das interessiert mich nicht.

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

                            @thomas-braun sagte in Systemauslastung hoch + Javascript schmiert ab:

                            @homoran sagte in Systemauslastung hoch + Javascript schmiert ab:

                            das ist wieder ein Thema für @Thomas-Braun

                            Nee, mit Docker ist das kein Thema für mich. Das interessiert mich nicht.

                            dann muss sich da ein Docker-kundiger mit beschäftigen.
                            zwei parallele unterschiedliche node-Installationen sind nie gut!

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

                              @homoran
                              Vermutlich nur mal wieder nicht richtig ausgefüllt an der Stelle.

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Christoph1337 last edited by

                                @christoph1337

                                Zeige mal :

                                which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                
                                Christoph1337 1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @Thomas Braun last edited by Glasfaser

                                  @Homoran
                                  @Thomas-Braun

                                  Nur mal so nebenbei ...

                                  er schreibt :

                                  Mein Javascript Adapter erzeugt eine ziemlich hohe CPU-Last und startet anscheinend immer mal wieder neu.

                                  @Christoph1337

                                  Hast du ein Log davon !?

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

                                    @glasfaser sagte in Systemauslastung hoch + Javascript schmiert ab:

                                    Hast du ein Log davon !?

                                    eben nicht!

                                    deswegen meinte ich ja

                                    @homoran sagte in Systemauslastung hoch + Javascript schmiert ab:

                                    deine Interpretation ist falsch und die JavaScript Instanz startet nicht neu

                                    Auch das kurzzeitige erröten der Ampel bei Neustart ist kein Indiz


                                    BTW: das steht natürlich nicht unter javascript.0, sondern unter system.host

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

                                      @glasfaser
                                      Ja, und?

                                      htop 
                                      dmesg -T
                                      free -ht --mega
                                      tail -f /opt/iobroker/log/iobroker.current.log
                                      

                                      Mal anschauen.
                                      Schiefe skripte sind da auch gerne Verursacher.

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

                                        @homoran said in Systemauslastung hoch + Javascript schmiert ab:

                                        @christoph1337 Danke - reicht!

                                        die Sammelfunktion ist das einzige Skript in global?
                                        und läuft schon immer nicht?
                                        Nein das war mal ein Test. Quasi ein Relikt was immer aus ist

                                        Wieviele Scripte insgesamt?
                                        Einige von denen die meisten recht klein sind (Wenn das triggerd dann das). Wie kann ich das am einfachsten ausgeben lassen? Würde so ~40-50 schätzen.

                                        Nur mal so zur Zusammenfassung bisher:

                                        Sooo viel RAM ist das gar nicht.
                                        Du hast 16GB und 4-6 ist da bei deiner Konfig gar nicht so schlecht.
                                        Linux kümmert sich halt um deine Prozesse:
                                        https://linuxatemyram.com
                                        Wenn das fast normal ist bin ich beruhigt. allerdings lief der docker sonst eher bei 2,5-3 GB

                                        Welche CPU weiß ich nicht
                                        aber 85% beziehen sich nur auf einen Kern - ist aber nicht wenig
                                        mit Docker habe ich gar keine Erfahrung.
                                        Ich vermute das hat mit den Javaadapter zutun der vielleicht immer wieder alles laden muss und dadurch mehr zieht. Sonst dümpelt der Broker mit 15% rum.

                                        Mehr stört mich:

                                        Node-Version:	10.x.x
                                        Nodejs-Version:	12.22.1
                                        

                                        Hast du da irgend etwas nachträglich rumgepfuscht?
                                        das ist wieder ein Thema für @Thomas-Braun
                                        *Warum nachträglich gepfuscht? Ich hab nix nachträglich geändert. Das würde man doch am "EDIT sehen. Ich bin mir keiner Schuld bewusst. Wo finde ich die Node Version überhaupt? *
                                        0c4a4742-cdbd-48a4-a6cb-f46aeeaf2154-image.png

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

                                          @homoran

                                          DITO 😉 verstehe ich auch so ...

                                          Christoph1337 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @Christoph1337 last edited by

                                            @christoph1337

                                            Und ... was sollen wir jetzt damit ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            576
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            95
                                            4416
                                            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