PRESENCE Fehler: Cannot fork: Resource temporarily unavailable

Begonnen von Praktiker, 14 Oktober 2014, 09:13:02

Vorheriges Thema - Nächstes Thema

Praktiker

Hallo Fhem Gemeinde.
Nachdem ich mich nun wieder dem Thema Hausautomaton eingenommen habe stolpere ich über folgendes Problem.
Mein FHEM Server läuft unter Whs 2011 und strawberry Perl.
Ich habe für die vier Handys ein PRESENCE eingerichtet welches alle 60s die Anwesenheit Checkt.
Das läuft auch, aber Max ne halbe Stunde.
Dann taucht im log vier Mal die Fehlermeldung:
"Cannot fork: Resource temporarily unavailable

Praktiker

Habe gestern Abend von strawberry auf Active Perl gewechselt.
Der Fehler  bleibt aber ich habe etwas mehr Infos im log:

 
2014.10.14 23:05:27 1: Cannot fork: Resource temporarily unavailable
2014.10.14 23:05:27 1: PERL WARNING: Use of uninitialized value $i in hash element at fhem.pl line 2520.
2014.10.14 23:05:27 1: PERL WARNING: Use of uninitialized value $i in hash element at fhem.pl line 2521.
2014.10.14 23:05:27 1: PERL WARNING: Use of uninitialized value $i in delete at fhem.pl line 2523.

Elektrolurch

Hallo,

wolte das heute auch noch mit einbinden, und bekomme nach dem define den selben Fehler:
Cannot fork

Und danach sind eine Menge Variablen im PRESENCE - Modul nicht definiert.

Und alle 300 s wiederholen sich die Fehlermeldungen.

Eigentlich ist das presence - Modul mal ja auf einer Fritzbox gelaufen.....

Gruß


Elektrolurch

configDB und Windows befreite Zone!

Markus Bloch

Es wäre schön, wenn ihr uns an diesen Fehlermeldungen teilhaben könntet.....
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

Elektrolurch

Hallo,

gerade noch mal einige Varianten durchprobiert:

define Superkiste PRESENCE fritzbox 300
oder
define Superkiste PRESENCE lan-ping 192.168.1.4 300

führen nach ca. 5 Minuten zu:

2014.12.10 17:39:04 1: PERL WARNING: Use of uninitialized value $temp in scalar chomp at ./FHEM/73_PRESENCE.pm line 590.
2014.12.10 17:39:13 1: PERL WARNING: Use of uninitialized value $temp in string ne at ./FHEM/73_PRESENCE.pm line 591.
2014.12.10 17:39:13 2: PRESENCE (Superkiste) - error while processing check: Could not execute ping command: "ping -c 4 192.168.1.4"
2014.12.10 17:39:43 1: Cannot fork: Cannot allocate memory
2014.12.10 17:39:43 1: PERL WARNING: Use of uninitialized value $i in hash element at fhem.pl line 2536.
2014.12.10 17:39:43 1: PERL WARNING: Use of uninitialized value $i in hash element at fhem.pl line 2537.
2014.12.10 17:39:43 1: PERL WARNING: Use of uninitialized value $i in delete at fhem.pl line 2539.
2014.12.10 17:44:08 1: Including fhem.cfg
2014.12.10 17:44:13 1: Including ./FHEM/00_utils_EG.cfg


und dann zum fhem-Absturz (der Neustart kommt durch meinen Watchdog).

Der Absturz kommt ca. 5 Minuten nach dem define.
fhem läuft auf der 7390 als root, Speicherplatz ist eigentlich noch genügend frei, aber wohl mit dem fork-Befehl hat er so seine Probleme.

Gruß

Elektrolurch



configDB und Windows befreite Zone!

Priem

Hallo zusammen,

Ich habe das Problem auch mit FHEM auf einer Fritzbox 7390, seit ich vor ein paar Tagen ein FHEM-Update gemacht habe. Vorher lief alles einwandfrei.
Hier mal ein Auszug aus meinem Log:

2014.12.18 18:25:34 1: PERL WARNING: Use of uninitialized value $cached_name in scalar chomp at ./FHEM/73_PRESENCE.pm line 659.
2014.12.18 18:25:34 1: PERL WARNING: Use of uninitialized value $cached_name in string eq at ./FHEM/73_PRESENCE.pm line 662.
2014.12.18 18:25:34 1: PERL WARNING: Use of uninitialized value $cached_name in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 687.
2014.12.18 18:25:34 1: PERL WARNING: Use of uninitialized value $max in scalar chomp at ./FHEM/73_PRESENCE.pm line 693.
2014.12.18 18:25:34 1: PERL WARNING: Use of uninitialized value $max in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 695.
2014.12.18 18:25:34 1: PERL WARNING: Use of uninitialized value $max in pattern match (m//) at ./FHEM/73_PRESENCE.pm line 697.
2014.12.18 18:25:34 2: PRESENCE (myMobile) - error while processing check: could not execute ctlmgr_ctl