Fhem Absturz jeden Morgen

Begonnen von holzwurm83, 25 Januar 2014, 09:58:50

Vorheriges Thema - Nächstes Thema

holzwurm83

Hallo zusammen,

ich habe jeden ein Fhemabsturz. Wenn ich dann in die Lagdatei reinschauen steht dort stundenlang diese
2014.01.25 08:47:50 1: Accept failed (WEB: Too many open files)
Fehlermeldung drin. Das läuft dann durch bis ca. kurz vor 9 Uhr und danach scheint es wohl abzustürzen. Habe das jetzt den zweiten Tag. Könnt ihr mir hiermit weiterhelfen? Braucht ihr noch weitere Daten?
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

myfhem41113

Wenn das FHEM-Log recht groß wird, stürzt FHEM ab. Such mal nach der Ursache, warum er dir das Log so vollmüllt.
Fritzbox 7390 mit CUL
Hager KNX

Puschel74

Hallo,

ZitatWenn das FHEM-Log recht groß wird, stürzt FHEM ab.
Sorry kann ich so nicht zustimmen.
Ich mach ein monatliches FHEM-LogFile das mitunter recht "umfangreich" wird aber FHEM stürzt deswegen bei mir nicht ab.
Ok. FHEM stürzt bei mir auch so nicht ab.

@holzwurm
Hier wäre nun eine Signatur mit deiner Hardware und FHEM-Installation interessant.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

holzwurm83

Hallo Puschel74, was meinst du damit genau? Kann dir nicht ganz folgen.


Sent from my iPod touch using Tapatalk
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Rince

Lies dir mal Puschels Beitrag durch.
Besonders die letzten Zeilen.

Damit weiß jeder, was er für Hardware einsetzt.


Wenn du bei deinem Benutzprofil in die Signatur (das ist das nämlich), die gleichen Infos von dir preis gibst, muss man nicht raten was du benutzt. Das könnte bei der Fehlersuche echt helfen.

Übrigens habe ich auch keine Probleme mit großen Logfiles.

Deine Fehlermeldung deutet auch nicht auf eine zu große Datei hin! Sondern auf zu viele???
Wer zu meinen Posts eine Frage schreibt und auf eine Antwort wartet, ist hiermit herzlich eingeladen mich per PN darauf aufmerksam zu machen. (Bitte mit Link zum betreffenden Thread)

Puschel74

Hallo,

Zitat2014.01.25 08:47:50 1: Accept failed (WEB: Too many open files)
Ich weiß aber nicht ob das auf Logfiles hindeutet.
Ich würde eher sagen irgendwer oder irgendwas öffnet einfach zuviele Files.
Welche das aber sind erschliesst sich mir nicht.
Vielleicht wären auch hier mal mehr als eine Zeile aus dem Logfile interessant - aber nicht unbedingt das gesamte! Logfile.

Da wir aber noch nicht wissen auf welcher Hardware mit welcher Installation FHEM läuft ist hier erstmal Rätselraten angesagt.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

holzwurm83

Ok, danke! Jetzt hab ich es verstanden! Daten kommen gleich!


Sent from my iPod touch using Tapatalk
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

holzwurm83

Ich habe Fhem 5.5 mit allen aktuellen updates am lauen. Hatte als erstes ein update durchgeführt als das Problem aufkam.

Hardware habe ich folgendes:

- Fhem auf einem MacMini Server mit DBLog
- CULHM
- CUNO2 für FS20
- HM485 Wired von Dirk

Das Log-File liegt jetzt bei 900 MB für diesen Monat.

Einmal gibt es wohl das Problem das irgendwas in die DB Loggen will aber nicht kann da die Zeile zu kurz ist. Ich habe die Zeichen bereits auf 16884 erweitert.
2014.01.26 07:34:45 3: Connecting to database mysql:database=fhem;host=localhost;port=3306 with user fhem
2014.01.26 07:34:45 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established for pid 620
2014.01.26 07:34:45 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established
2014.01.26 07:34:59 2: DbLog: Failed to insert new readings into database: DBD::mysql::st execute failed: Data too long for column 'VALUE' at row 1 at /Users/mediaserver/fhem/FHEM/93_DbLog.pm line 433.

2014.01.26 07:34:59 3: Connecting to database mysql:database=fhem;host=localhost;port=3306 with user fhem
2014.01.26 07:34:59 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established for pid 620
2014.01.26 07:34:59 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established
2014.01.26 07:35:05 2: DbLog: Failed to insert new readings into database: DBD::mysql::st execute failed: Data too long for column 'VALUE' at row 1 at /Users/mediaserver/fhem/FHEM/93_DbLog.pm line 433.

2014.01.26 07:35:05 3: Connecting to database mysql:database=fhem;host=localhost;port=3306 with user fhem
2014.01.26 07:35:05 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established for pid 620
2014.01.26 07:35:05 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established
2014.01.26 07:35:15 2: DbLog: Failed to insert new readings into database: DBD::mysql::st execute failed: Data too long for column 'VALUE' at row 1 at /Users/mediaserver/fhem/FHEM/93_DbLog.pm line 433.

2014.01.26 07:35:15 3: Connecting to database mysql:database=fhem;host=localhost;port=3306 with user fhem
2014.01.26 07:35:15 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established for pid 620
2014.01.26 07:35:15 3: Connection to db mysql:database=fhem;host=localhost;port=3306 established
2014.01.26 07:35:53 2: DbLog: Failed to insert new readings into database: DBD::mysql::st execute failed: Data too long for column 'VALUE' at row 1 at /Users/mediaserver/fhem/FHEM/93_DbLog.pm line 433.


Dann geht es irgendwann los mit folgendem Log
2014.01.26 06:35:57 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:58 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:35:59 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)
2014.01.26 06:36:00 1: Accept failed (WEBtablet: Too many open files)


Das war heute morgen zum ersten mal auffällig
2014.01.26 06:37:59 1: readingsUpdate(iTunes,currentAlbumArtURI,) missed to call readingsBeginUpdate first.
2014.01.26 06:38:59 4: iTunes: updater Disconnected
2014.01.26 06:38:59 3: $VAR1 = 'error:404';

2014.01.26 06:38:59 3: iTunes: updater connected to 192.168.6.10:3689
2014.01.26 06:38:59 5: 1
2014.01.26 06:38:59 4: $VAR1 = {
          'cmst' => {
                      'cavs' => 0,
                      'cafs' => 0,
                      'ceQu' => 0,
                      'caar' => 0,
                      'cafe' => 0,
                      'caps' => 2,
                      'cave' => 0,
                      'caas' => 0,
                      'mstt' => 200,
                      'carp' => 2,
                      'casu' => 0,
                      'cmsr' => 18,
                      'cash' => 0,
                      'cavc' => 1
                    }
        };

2014.01.26 06:38:59 1: readingsUpdate(iTunes,currentAlbumArtURI,) missed to call readingsBeginUpdate first.
2014.01.26 06:38:59 1: readingsUpdate(iTunes,state,stop) missed to call readingsBeginUpdate first.
2014.01.26 06:38:59 4: iTunes: updater Disconnected
2014.01.26 06:38:59 3: iTunes: updater connected to 192.168.6.10:3689
2014.01.26 06:38:59 5: 18
2014.01.26 06:38:59 4: $VAR1 = {};
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Rince

Du versucht nicht zufällig deine Musiksammlung in die Datenbank mit auf zu nehmen?

Außerdem sin 900MB Lgfile echt zu viel :)


Irgend etwas das du in deimer fhem.cfg konfiguriert hast, scheint unglaublich viel in dblog schreiben zu wollen, und obendrein zu viel.

Ohne fhem.cfg wird es schwierig fürchte ich.


Und, wenn du deine Daten in die Signatur tust, muss man nicht diesen Thread suchen wenn man sie mal wieder wissen will :)
Wer zu meinen Posts eine Frage schreibt und auf eine Antwort wartet, ist hiermit herzlich eingeladen mich per PN darauf aufmerksam zu machen. (Bitte mit Link zum betreffenden Thread)

holzwurm83

das iTunes Modul läuft schon seit Monaten bei mir. Daran habe ich nichts bewusst geändert.

Ich poste mal meine fhem.cfg

Die Signatur werde ich anpassen!
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

holzwurm83

hab jetzt mal bei dem iTunes Modul DbLogExclude gesetzt, aber der lange Log ist immer noch da.
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Puschel74

Hallo,

da ich weder einen Mac habe noch iTunes benutze bin ich leider raus - sorry.
Evtl. hat ja noch jemand anders eine Idee für dich.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

fhainz

Hallo Holzwurm,

Hast du das Problem mittlerweile schon gelöst?
Ich hab seit heute Morgen auch solche Meldungen im Log. FHEM macht im Hintergrund weiter, FHEMWEB und telnet funktionieren aber nicht mehr. Ich muss dann, wenn ich unterwegs bin, den MacMini per ssh neustarten.

2014.02.25 06:22:11.265 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:11.542 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:11.607 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:11.669 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:11.731 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:11.788 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:11.844 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:24.748 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:24.887 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:24.948 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:25.005 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:25.062 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:26.000 3: ENIGMA2 device wzReceiver is unavailable
2014.02.25 06:22:56.000 3: ENIGMA2 device wzReceiver is unavailable
2014.02.25 06:22:56.828 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:56.963 1: Accept failed (WEBphone: Too many open files)
2014.02.25 06:22:57.027 1: Accept failed (WEBphone: Too many open files)



Eventuell hängt es bei mir mit dem enigma Modul zusammen. Hab da auch schon mal nachgefragt.

Grüße

holzwurm83

Ich habe das Problem nicht mehr, aber so richtig rausgefunden woran das lag habe ich auch nicht. Ich hatte die Vermutung das es an der Fullscreen Browser App von Dirk lag, da ich Sie immer offen hatte.

Ich habe auch immer in eine Datenbank geloggt und hatte da auch Probleme. Die Datenbank liegt bei mir momentan auf Eis.

So richtig kann ich dir da nichts sagen. Ich habe die aktuelle Fullscreen Browser App am laufen und habe sonst jetzt keine Probleme.
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Puschel74

Hallo,

webViewControl läuft bei mir 24/7 am Tablet und in die DB logge ich auch ALLE Daten die anfallen.

Aber mein FHEM hat sich deswegen noch nie verabschiedet.
Zwischendurch greife ich per Laptop, PC und Tablet auf FHEM (am RasPi) zu und ich habe absolut keine Probleme.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.