Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. IoBroker CPU Load 100%

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    IoBroker CPU Load 100%

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Benda @Thomas Braun last edited by

      @thomas-braun said in IoBroker CPU Load 100%:

      Console Autologin

      Würde ich nicht mache. Dann ist da immer eine shell offen, die per sudo alles darf. Besser auf 'LogIn Required' stellen. Von deinem Mac gehst du vermutlich ja eh per ssh und Passwort auf die Kiste.

      okay, verstanden, war ein verständnisfehler, dachte der raspberry fährt sonst gar nicht erst hoch ohne login.

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

        @jan-benda sagte in IoBroker CPU Load 100%:

        okay, verstanden, war ein verständnisfehler, dachte der raspberry fährt sonst gar nicht erst hoch ohne login.

        Doch, und die Systemuser wie 'iobroker' wuseln auch los. Also kein Problem, das sich ein Standard-User nochmal ordentlich anmelden muss.

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

          Ich habe eben festgestellt, dass sich die adapter automatisch wieder aktivieren,
          also nach:
          iobroker stop javascript.0
          warte 1 min
          iobroker list instances

          listet den javascript adapter wieder als enabled...

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

            @jan-benda sagte: warte 1 min

            Das kann zu kurz sein.

            B 1 Reply Last reply Reply Quote 0
            • B
              Benda @paul53 last edited by

              @paul53 wenn ich direkt checke taucht der adapter als disabled auf

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

                @jan-benda sagte in IoBroker CPU Load 100%:

                listet den javascript adapter wieder als enabled...

                War er denn jemals disabled?
                oder ist ioBroker sooo beschäftigt, dass der stop Befehl nie ankommt

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

                  Nochmal zum nachvollziehen:

                  pi@SchnubbBerry:~ $ iobroker list instances
                    system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    system.adapter.alexa2.0                : alexa2                -  enabled
                    system.adapter.deconz.0                : deconz                -  enabled
                    system.adapter.discovery.0             : discovery             -  enabled
                    system.adapter.ham.0                   : ham                   - disabled
                    system.adapter.heos.0                  : heos                  - disabled
                    system.adapter.hue.0                   : hue                   -  enabled, port: 443
                    system.adapter.info.0                  : info                  -  enabled
                    system.adapter.javascript.0            : javascript            -  enabled
                    system.adapter.scenes.0                : scenes                -  enabled
                    system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                    system.adapter.wifilight.0             : wifilight             -  enabled
                    system.adapter.yahka.0                 : yahka                 -  enabled
                    system.adapter.yeelight-2.0            : yeelight-2            -  enabled
                    system.adapter.yeelight-2.1            : yeelight-2            -  enabled
                  
                  + instance is alive
                  pi@SchnubbBerry:~ $ iobroker stop javascript.0
                  The adapter "javascript.0" was stopped.
                  pi@SchnubbBerry:~ $ iobroker list instances
                    system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    system.adapter.alexa2.0                : alexa2                -  enabled
                    system.adapter.deconz.0                : deconz                -  enabled
                    system.adapter.discovery.0             : discovery             -  enabled
                    system.adapter.ham.0                   : ham                   - disabled
                    system.adapter.heos.0                  : heos                  - disabled
                    system.adapter.hue.0                   : hue                   -  enabled, port: 443
                    system.adapter.info.0                  : info                  -  enabled
                    system.adapter.javascript.0            : javascript            - disabled
                    system.adapter.scenes.0                : scenes                -  enabled
                    system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                    system.adapter.wifilight.0             : wifilight             -  enabled
                    system.adapter.yahka.0                 : yahka                 -  enabled
                    system.adapter.yeelight-2.0            : yeelight-2            -  enabled
                    system.adapter.yeelight-2.1            : yeelight-2            -  enabled
                  
                  + instance is alive
                  pi@SchnubbBerry:~ $ iobroker list instances
                    system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    system.adapter.alexa2.0                : alexa2                -  enabled
                    system.adapter.deconz.0                : deconz                -  enabled
                    system.adapter.discovery.0             : discovery             -  enabled
                    system.adapter.ham.0                   : ham                   - disabled
                    system.adapter.heos.0                  : heos                  - disabled
                    system.adapter.hue.0                   : hue                   -  enabled, port: 443
                    system.adapter.info.0                  : info                  -  enabled
                    system.adapter.javascript.0            : javascript            -  enabled
                    system.adapter.scenes.0                : scenes                -  enabled
                    system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                    system.adapter.wifilight.0             : wifilight             -  enabled
                    system.adapter.yahka.0                 : yahka                 -  enabled
                    system.adapter.yeelight-2.0            : yeelight-2            -  enabled
                    system.adapter.yeelight-2.1            : yeelight-2            -  enabled
                  
                  + instance is alive
                  pi@SchnubbBerry:~ $ 
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Benda last edited by

                    @jan-benda Da ist ja auch der admin nicht 'alive'.

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

                      Ich habs nun wieder ins admin geschafft, über:

                      iobroker del javascript

                      Merkwürdigerweise ist die javascript instanz trotzdem noch aktiv und die skripte waren auch am laufen..
                      Schwer nachvollziehbar..

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

                        Als Referenz, hier ist mein Kandidat, der das ganze Schlamassel vermutlich verursacht hat:
                        https://forum.iobroker.net/topic/41100/bewegungsmelder-skript-für-raum-mit-schaltbarem-licht

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

                          @benda sagte in IoBroker CPU Load 100%:

                          Merkwürdigerweise ist die javascript instanz trotzdem noch aktiv und die skripte waren auch am laufen..
                          Schwer nachvollziehbar..

                          hast du vielleicht zwei ioBroker Installationen parallel laufen?
                          einmal original, und einmal irrtümlich in einem anderen Verzeichnis (z.B. home/pi???) installiert, weil du bei einem npm... Befehl nicht vorher nach /opt/iobroker gewechselt hattest?

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

                            Das nicht, ich hatte wie vermutet einen Infinite loop im Script, weil ich versehentlich einen falschen Datenpunkt ausgewählt hatte, nach dem Motto:

                            on({ scene.Szene1...
                            setState( scene.Szene1..
                            
                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            757
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            6
                            41
                            3468
                            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