Neues Modul 70_PROWL

Begonnen von KernSani, 27 September 2016, 23:19:02

Vorheriges Thema - Nächstes Thema

Hanjo

Tja, leider zu früh gefreut... Nachdem ich das Modul aktiviert habe stürzt FHEM reproduzierbar nach einiger Zeit ab.

Also verbose auf 5; zuerst erhalte ich folgende Meldungen:
2023.05.10 14:29:53 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:29:53 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:29:53 5: Prowl Prowl_hanjo: sending URL https://api.prowlapp.com/publicapi//verify?apikey=71a...
2023.05.10 14:29:53 5: Prowl Prowl_hanjo: NextTimer:Wed May 10 14:29:53 2023
Das wiederholt sich dann hunderte Male:
2023.05.10 14:29:57 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:29:57 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:29:57 5: Prowl Prowl_hanjo: sending URL https://api.prowlapp.com/publicapi//verify?apikey=71a...
2023.05.10 14:29:57 5: Prowl Prowl_hanjo: NextTimer:Wed May 10 14:29:53 2023
Und irgendwann wird es dann zu:
2023.05.10 14:30:01 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:30:01 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:30:01 5: Prowl Prowl_hanjo: sending URL https://api.prowlapp.com/publicapi//verify?apikey=71a...
2023.05.10 14:30:01 3: error while requesting https://api.prowlapp.com/publicapi//verify?apikey=71a... - Cant create UDP socket:Too many open files
2023.05.10 14:30:01 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:30:01 5: Prowl Prowl_hanjo: called function Prowl_Set() with$VAR1 = 'Prowl_hanjo';
$VAR2 = '?';

2023.05.10 14:30:01 5: Prowl Prowl_hanjo: NextTimer:Wed May 10 14:29:53 2023
Das wiederholt sich dann wieder hunderte (oder tausende?) Male, bis es dann zu folgendem wird:
2023.05.10 14:30:29 5: Prowl Prowl_hanjo: sending URL https://api.prowlapp.com/publicapi//verify?apikey=71a...
2023.05.10 14:30:29 3: error while requesting https://api.prowlapp.com/publicapi//verify?apikey=71a... - Cant create UDP socket:Too many open files
2023.05.10 14:30:29 5: Prowl Prowl_hanjo: NextTimer:Wed May 10 14:29:53 2023
und das wiederholt sich dann beliebig oft, bis ich FHEM kille und neustarte.

Ich habe versucht den Code zu analysieren, aber ich kenne mich leider nicht gut genug aus. Hat jemand eine Idee, wo das Problem liegen könnte? Offensichtlich werden zu viele Verbindungen geöffnet und dann scheinbar nicht wieder geschlossen, was dann nach kurzer Zeit zum Absturz führt...