Ankündigung

Einklappen
Keine Ankündigung bisher.

knx service bricht nach 4-5 Stunden ab (OH2 + knx2 + raspb3)

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    knx service bricht nach 4-5 Stunden ab (OH2 + knx2 + raspb3)

    Hallo liebe KNX'ler,

    ich habe das Problem das ich Openhab nicht stabil zum laufen bekomme.

    Zu meinem Setup:
    Raspberry PI 3 mit OH 2 (2.3 stable) installiert mit folgenden Bindings (KNX,Nest,Sonos)
    MDT IP Interface

    Fehlerbild:
    Nach 4-5 Stunden funktioniert nichts mehr und es hilft nur ein neustarten des OH2 Dienstes. Danach ist wieder für ein paar Stunden alles gut.
    Dabei ist zu beobachten das sich der OH2 Prozess immer mehr Arbeitsspeicher klaut. Nach einem Neustart des Dienstes stehen noch ca. 700MB zur Verfügung nach den 4-5 Stunden sind es nur noch 250MB. Zu diesem Zeitpunkt erscheinen die folgenden Einträge im OH-Log:

    Code:
    2018-11-18 14:23:29.967 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve color item basement_state for widget
    
    2018-11-18 14:23:29.972 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve color item basement_state for widget
    
    2018-11-18 14:23:29.974 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve color item basement_state for widget
    
    2018-11-18 14:23:29.975 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve color item basement_state for widget
    
    2018-11-18 14:23:29.977 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve color item basement_state for widget
    
    2018-11-18 14:23:53.841 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
    
    java.lang.OutOfMemoryError: unable to create new native thread
    
            at java.lang.Thread.start0(Native Method) ~[?:?]
    
            at java.lang.Thread.start(Thread.java:717) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1603) ~[?:?]
    
            at java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(ScheduledThreadPoolExecutor.java:350) ~[?:?]
    
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:296) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
    
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
    
            at java.lang.Thread.run(Thread.java:748) [?:?]
    
    2018-11-18 14:25:26.940 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
    
    java.lang.OutOfMemoryError: unable to create new native thread
    
            at java.lang.Thread.start0(Native Method) ~[?:?]
    
            at java.lang.Thread.start(Thread.java:717) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1603) ~[?:?]
    
            at java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(ScheduledThreadPoolExecutor.java:350) ~[?:?]
    
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:296) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
    
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
    
            at java.lang.Thread.run(Thread.java:748) [?:?]
    
    2018-11-18 14:27:26.941 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
    
    java.lang.OutOfMemoryError: unable to create new native thread
    
            at java.lang.Thread.start0(Native Method) ~[?:?]
    
            at java.lang.Thread.start(Thread.java:717) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1603) ~[?:?]
    
            at java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic(ScheduledThreadPoolExecutor.java:350) ~[?:?]
    
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:296) ~[?:?]
    
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
    Über Tipps und Anregungen wäre ich sehr dankbar

    Besten Dank & Viele Grüße,
    Basti

    #2
    Hallo Basti,

    kannst Du bitte Deine Konfigurationen mal zeigen, ohne ist es schwer. Also Dein KNX Things Files etc.. Oder hast Du über die Paper UI konfiguriert?

    Allgemeine Strategie in solchen Fällen, ist das ausschließen der Ursachen. Also würde ich 4-5 Stunden mal KNX, dann Nest, dann Sonos deaktivieren und den Speicherverbrauch beobachten.

    Allerdings klingt das eher nach einer massiven Fehlkonfiguration die nicht erkannt oder abgefangen wird.

    Kommentar


      #3
      Hi,
      danke für deine Antwort.
      Ja Nest & Sonos hatte ich auch schon deaktiviert, allerdings ändert sich nichts an dem Problem...
      Das KNX-Thing File sieht wie folgt aus:
      Code:
      Bridge  knx:ip:MDT "MDT KNX/IP Interface" @ "KNX" [
              type="TUNNEL",
              ipAddress="192.168.3.5",
              portNumber=3671,
              localIp="192.168.3.4",
              readingPause=50,
              responseTimeout=10,
              readRetriesLimit=3,
              autoReconnectPeriod=1,
              localSourceAddr="1.0.255" ]
              {
      Thing device EGBeleuchtung [
      address="1.1.2",
      fetch=false,
      pingInterval=300,
      readInterval=0
      ]
      {
      Type switch : Licht_Flur "Licht_Flur" [ ga="1/1/0+<1/2/0" ]
      Type switch : Licht_Kueche "Licht_Kueche" [ ga="1/1/3+<1/2/3" ]
      Type switch : Licht_Esstisch "Licht_Esstisch" [ ga="1/1/9+<1/2/9" ]
      Type switch : Licht_Wohnzimmer "Licht_Wohnzimmer" [ ga="1/1/10+<1/2/10" ]
      Type switch : Deckenspots "Deckenspots" [ ga="1/1/12+<1/2/12" ]
      Type switch : Licht_Arbeitszimmer "Licht_Arbeitszimmer" [ ga="1/1/20+<1/2/20" ]
      Type switch : Kronleuchter "Kronleuchter" [ ga="1/1/23+<1/2/23" ]
      Type switch : Licht_Treppe "Licht_Treppe" [ ga="1/1/26+<1/2/26" ]
      Type switch : Licht_Hauswirtschaftsraum "Licht_Hauswirtschaftsraum" [ ga="1/1/29+<1/2/29" ]
      Type switch : Licht_Gaesteklo "Licht_Gaesteklo" [ ga="1/1/32+<1/2/32" ]
      Type switch : Ambiente "Ambiente" [ ga="2/1/0+<2/2/0" ]
                              Type switch : Licht_Schlafzimmer "Schlafzimmer" [ ga="1/1/54+<1/2/54" ]
      Type switch : Licht_Kind "Licht_Kind" [ ga="1/1/103+<1/2/103" ]
      Type switch : Licht_Terrasse "Licht_Terrasse" [ ga="1/1/120+<1/2/120" ]
      }
      Thing device OGBeleuchtung [
      address="1.2.1",
      fetch=false,
      pingInterval=300,
      readInterval=0
      ]
      {
      Type switch : Licht_Ankleide "Licht_Ankleide" [ ga="1/1/63+<1/2/63" ]
      Type switch : Licht_Bad "Licht_Bad" [ ga="1/1/69+<1/2/69" ]
      Type switch : Licht_Dusche "Licht_Dusche" [ ga="1/1/70+<1/2/70" ]
      Type switch : Licht_Spiegel "Licht_Spiegel" [ ga="1/1/75+<1/2/75" ]
      Type switch : Licht_Gaestezimmer "Licht_Gaestezimmer" [ ga="1/1/82+<1/2/82" ]
      Type switch : Licht_Abstellraum "Licht_Abstellraum" [ ga="1/1/88+<1/2/88" ]
      Type switch : Licht_Kinderbad "Licht_Kinderbad" [ ga="1/1/91+<1/2/91" ]
      Type switch : Licht_Yaron "Licht_Yaron" [ ga="1/1/97+<1/2/97" ]
      Type switch : Licht_Kinderbad "Licht_Kinderbad" [ ga="1/1/91+<1/2/91" ]
      }
                                      
                                      Thing device EGRollo [
                                      address="1.1.5",
      fetch=false,
      pingInterval=300,
      readInterval=0
      ]
                      {
                              Type    rollershutter : Rollo_Erker_links               "Erker_links"           [ upDown="3/1/1", stopMove="3/2/1", position="3/4/1+<3/3/1" ]
                              Type    rollershutter : Rollo_Erker_mitte               "Erker_mitte"           [ upDown="3/1/2", stopMove="3/2/2", position="3/4/2+<3/3/2" ]
                              Type    rollershutter : Rollo_Erker_rechts      "Erker_rechts"          [ upDown="3/1/3", stopMove="3/2/3", position="3/4/3+<3/3/3" ]
      Type switch : Licht_Weihnacht "Licht_Weihnacht" [ ga="1/1/16+<1/2/16" ]
                      }
      Thing device EGRollo2 [
                                      address="1.1.14",
      fetch=false,
      pingInterval=300,
      readInterval=0
      ]
                      {
      Type        rollershutter : Rollo_Arbeitszimmer             "Rollo_Arbeitszimmer"           [ upDown="3/1/6", stopMove="3/2/6", position="3/4/6+< 3/3/6" ]
                              Type    rollershutter : Rollo_Schlafzimmer              "Schlafzimmer"          [ upDown="3/1/10", stopMove="3/2/10", position="3/4/10+<3/3/10" ]
                      }
      
      Thing device Contacts [
      address="1.1.3"
      ]
      {
      Type contact : Haustuer "Haustuer" [ ga="5/0/17" ]
      Type contact : Schiebetuer "Schiebetuer" [ ga="5/0/5" ]
      Type contact : Gast_Fenster "Gast_Fenster" [ ga="5/0/14" ]
      Type contact : Eltern_Fenster "Eltern_Fenster" [ ga="5/0/11" ]
      Type contact : Regen "Regen" [ ga="0/1/0" ]
      }
      
      Thing device Temp []{
      Type number : Temp_Bed     "Temp_Bed " [ ga="4/1/0" ]
      Type number : Temp_Haustuer        "Temp_Haustuer " [ ga="4/1/1" ]
      Type number : Temp_Wohnzimmer      "Temp_Wohnzimmer " [ ga="4/1/2" ]
      Type number : Temp_Kueche          "Temp_Kueche " [ ga="4/1/3" ]
      Type number : Temp_Office          "Temp_Office " [ ga="4/1/4" ]
      Type number : Temp_Bad     "Temp_Bad " [ ga="4/1/5" ]
      Type number : Temp_Outdoor         "Temp_Outdoor " [ ga="0/1/2" ]
      }
      Thing device Virtuell []{
      Type datetime-control : Datum_Zeit "Datum_Zeit" [ ga="19.001:0/0/1" ]
      }
              }

      Kommentar


        #4
        Hallo,
        habe den Fehler gefunden...
        Es lag doch am Nest Binding....

        Danke für die Hilfe und Hinweise.

        Viele Grüße,
        Basti

        Kommentar

        Lädt...
        X