FHEM hängt sich auf

Begonnen von neumann, 15 August 2017, 22:52:08

Vorheriges Thema - Nächstes Thema

neumann

Hey Leute,

ich habe seit einiger Zeit das Problem, dass sich FHEM einfach teilweise random aufhängt und für ein paar Minuten tot ist.
Habt ihr eine Idee, woran das liegen könnte? Läuft auf einem Raspberry Pi 3.

2017.08.15 22:44:02 5: TelegramBot_Callback teleBot: called from Polling
2017.08.15 22:44:02 5: TelegramBot_Callback teleBot: data returned :{"ok":true,"result":[]}:
2017.08.15 22:44:02 5: TelegramBot_Deepencode teleBot: found an ARRAY
2017.08.15 22:44:02 5: TelegramBot_Deepencode teleBot: encoded a String from :true: to :true:
2017.08.15 22:44:02 5: TelegramBot_Deepencode teleBot: found a HASH
2017.08.15 22:44:02 5: TelegramBot_Callback teleBot: after encoding
2017.08.15 22:44:02 5: TelegramBot_Callback teleBot: polling returned result? 0
2017.08.15 22:44:02 5: UpdatePoll teleBot: number of results 0
2017.08.15 22:44:02 5: TelegramBot_UpdatePoll teleBot: called
2017.08.15 22:44:02 5: TelegramBot_readToken: Read Telegram API token from file
2017.08.15 22:44:02 4: TelegramBot_UpdatePoll teleBot: initiate polling with nonblockingGet with 120s
2017.08.15 22:44:02 4: HttpUtils url=<hidden>
-----> 2017.08.15 22:44:02 4: TelegramBot_Callback teleBot: resulted in SUCCESS from Polling
-----> 2017.08.15 22:48:07 5: TelegramBot_Callback teleBot: called from Polling
2017.08.15 22:48:07 5: TelegramBot_Callback teleBot: polling returned result? <undef>
2017.08.15 22:48:07 5: Starting notify loop for teleBot, 1 event(s), first is PollingErrCount: 45
2017.08.15 22:48:07 4: TelegramBot_Set teleBot: called
2017.08.15 22:48:07 4: TelegramBot_Set teleBot: Processing TelegramBot_Set( ? )
2017.08.15 22:48:07 4: TelegramBot_Set teleBot: called
2017.08.15 22:48:07 4: TelegramBot_Set teleBot: Processing TelegramBot_Set( ? )
2017.08.15 22:48:07 5: End notify loop for teleBot
2017.08.15 22:48:07 5: TelegramBot_UpdatePoll teleBot: called
2017.08.15 22:48:07 5: TelegramBot_readToken: Read Telegram API token from file
2017.08.15 22:48:07 4: TelegramBot_UpdatePoll teleBot: initiate polling with nonblockingGet with 120s
2017.08.15 22:48:07 4: HttpUtils url=<hidden>
Modulentwickler
- Spotify #72490
- Nello #75127

rudolfkoenig

Laut deinem Log ist der TelegramBot der Ausloeser.
Und so ein Thema ist hier im Development Bereich falsch platziert.

viegener

@neumann: Es könnte sein, dass Du nicht der einzige Betroffene bist, es gibt wohl eine ähnliche Meldung im telegrambot-Thread.
(https://forum.fhem.de/index.php/topic,38328.msg672640.html#msg672640)

Das Problem ist aus meiner Sicht, dass zwischen den beiden log-Meldungen eigentlich keine Aktivität des Bot-Moduls liegt. Beide Meldungen stammen aus dem Callback für den HTTP-Poll request:

Nach "resulted in SUCCESS" ist der Callback für das polling abgeschlossen. Dann beginnt ein neuer http-longpoll-request zu telegram
Bei "called from Polling" ist diese Anfrage wieder zurückgekommen.

Die Anfragen sind aber non-blocking, so dass mir erstmal nicht klar ist, warum FHEM hier blockiert wird.
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

neumann

Danke für den Hinweis!
Sehr merkwürdig, mal abwarten...

LG
Modulentwickler
- Spotify #72490
- Nello #75127