Hallo zusammen,
beobachte seit ein paar Tagen, dass mein HMLAN sich scheinbar alle 5-10 Minuten neu verbindet. Gerade war Fhem dann komplett abgestürzt und ich musste es manuell neustarten! Folgendes steht im Log:
2015.02.19 19:46:16.064 1: PERL WARNING: Use of uninitialized value $proto in getprotobynumber at /usr/share/perl5/IO/Socket/INET6.pm line 171.
2015.02.19 19:46:16.066 1: PERL WARNING: Use of uninitialized value in hash element at /usr/share/perl5/IO/Socket/INET6.pm line 171.
2015.02.19 19:46:16.067 1: PERL WARNING: Use of uninitialized value in subroutine entry at /usr/share/perl5/IO/Socket/INET6.pm line 185.
2015.02.19 19:46:21.521 1: PERL WARNING: Use of uninitialized value in subtraction (-) at (eval 1035168) line 1.
2015.02.19 19:46:21.522 3: eval: {(ReadingsVal('my_callmonitor','A1','') eq 'in_notconnected') && ((time_str2num(undef) - tconvert(ReadingsVal('my_callmonitor','B1',''))) <= secondsSinceMidnight())}
2015.02.19 19:46:22.340 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.348 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.352 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.355 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.359 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.362 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.365 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.369 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.373 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.376 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.381 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.384 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.388 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.391 1: Accept failed (WEBtablet: Too many open files)
2015.02.19 19:46:22.395 1: Accept failed (WEBtablet: Too many open files)
Das mit dem "Too many open files" geht dann immer so weiter bis ich manuell resettet habe!
Jmd ne Ahnung woran das liegen könnte?
EDIT: Dann habe ich noch das hier nach nem Neustart:
2015.02.19 19:50:05.102 1: PERL WARNING: readline() on closed filehandle WXDATA at ./FHEM/55_GDS.pm line 1017.
2015.02.19 19:50:05.103 1: PERL WARNING: Use of uninitialized value $line in chomp at ./FHEM/55_GDS.pm line 1017.
2015.02.19 20:35:50.896 1: PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 883.
2015.02.19 20:35:50.905 1: PERL WARNING: Use of uninitialized value $cmd in eval "string" at fhem.pl line 916.
2015.02.19 20:35:55.006 1: PERL WARNING: Use of uninitialized value $link in substitution (s///) at ./FHEM/55_InfoPanel.pm line 745.
2015.02.19 20:35:55.007 1: PERL WARNING: Use of uninitialized value $link in substitution (s///) at ./FHEM/55_InfoPanel.pm line 746.
2015.02.19 20:35:55.600 1: PERL WARNING: Argument "\x{33}\x{33}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 484.
2015.02.19 20:35:55.601 1: PERL WARNING: Argument "\x{36}\x{34}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 485.
2015.02.19 20:35:57.122 1: PERL WARNING: Use of uninitialized value $a[6] in subtraction (-) at ./FHEM/99_myUtils.pm line 99.
2015.02.19 20:35:57.123 1: PERL WARNING: Use of uninitialized value in subtraction (-) at (eval 563) line 1.
Ja, das System hat zuviel geöffnete Dateien....irgendwas scheint nicht sauber geschlossen zu werden (Filehandle) oder die Kiste ist einfach überlastet. Google mal, dann findest du die Linux Einstellung die den Wert erhöhen kann (Stichwort: ulimit). Das löst aber nicht das eigentliche Problem!
@Patrick: Ok vielen Dank, werde ich mal nach googlen!
Heute lief den Tag über alles prima und soeben dann wieder genau dasselbe Spiel:
2015.02.20 18:07:19.306 3: CUL_HM set Vitrine on
2015.02.20 18:13:53.229 3: CUL_HM set Frontbeleuchtung on
2015.02.20 18:15:05.024 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 18:15:37.143 3: CUL_HM set Frontbeleuchtung on
2015.02.20 18:25:09.572 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 18:35:05.029 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 18:45:05.028 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 18:55:05.212 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 19:05:05.027 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 19:10:45.324 3: BM_innen_EG_1_Reset: scanning
2015.02.20 19:15:06.853 3: checkgds: Keine Warnmeldung für die gesuchte Region vorhanden.
2015.02.20 19:18:30.891 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.920 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.933 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.937 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.949 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.955 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.964 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.977 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.984 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.988 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.992 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:30.996 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.001 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.005 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.009 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.012 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.016 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.020 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.024 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.028 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.032 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.036 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.040 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.044 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.048 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.052 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.056 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.060 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.064 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.068 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.072 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.076 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.080 1: Accept failed (WEBtablet: Too many open files)
2015.02.20 19:18:31.084 1: Accept failed (WEBtablet: Too many open files)
Das geht dann immer so weiter.....und Fhem bleibt stehen!
@Michi240281
Du kennst die Foren-SuFu?
Du bist nicht der erste mit
Zitat2015.02.20 19:18:30.891 1: Accept failed (WEBtablet: Too many open files)
Mit der Suchanfrage bekomm ich nur 4 Treffer - die lese ich jetzt aber nicht für dich da ich das Problem nicht habe ;)
Mahlzeit,
das hier könnte die Lösung sein:
http://stackoverflow.com/questions/21515463/how-to-increase-maximum-file-open-limit-ulimit-in-ubuntu (http://stackoverflow.com/questions/21515463/how-to-increase-maximum-file-open-limit-ulimit-in-ubuntu)
Wichtiger wäre aber herauszufinden warum so viele Files gleichzeitig geöffnet sind. Das ist nicht normal - ausser es ist ein System was noch diverse andere Tätigkeiten hat (FTP + WEB Server)