Autor Thema: web connections never die  (Gelesen 3709 mal)

Rok

  • Gast
web connections never die
« am: 31 Dezember 2012, 17:11:43 »
Hi,

after running FHEM on raspberry for a few days, I noticed that some of the connections never die (see attached screenshot), the opened connection list just keeps growing. I've reset the server several times and it happens again and again, after a few days.

Is this something that can be configured?

Thanks!
Rok

Offline wmr72

  • Jr. Member
  • **
  • Beiträge: 80
Aw: web connections never die
« Antwort #1 am: 01 Januar 2013, 11:57:04 »
I can confirm this problem. Checking the connections on server and client with netstat shows, that these connections do not really exist any more, only FHEM still seems to have a reference to them.

Wolfgang

Offline UliM

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2711
Aw: web connections never die
« Antwort #2 am: 01 Januar 2013, 13:51:15 »
There has been an update to this mechanism a few weeks ago.
Did you rune 'update' lately?
Greetz,
Uli
RPi4/Raspbian, CUL V3 (ca. 30 HomeMatic-devices), LAN (HarmonyHub, alexa etc.).  Fördermitglied des FHEM e.V.

Rok

  • Gast
Aw: web connections never die
« Antwort #3 am: 01 Januar 2013, 14:37:08 »
I've updated about 3 weeks ago to:
Fhem 5.3 (DEVELOPMENT), $Id: fhem.pl 1996 2012-10-20 07:11:56Z rudolfkoenig $

Should this have been resolved in this version? I don't see any other packaged version apart from the development sources...?

Thank you!
Rok

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 24676
Aw: web connections never die
« Antwort #4 am: 02 Januar 2013, 12:20:32 »
It is fixed in the version r2147 (2012-11-20), according to the SVN log of fhem/FHEM/01FHEMWEB.pm.
If you think it is not fixed properly, and I should fix it, then I need a step-by-step method in order to reproduce the problem.

Rok

  • Gast
Aw: web connections never die
« Antwort #5 am: 02 Januar 2013, 13:45:44 »
Hi Rudolf,

yes, that changeset is not present in my v5.3 installation. Looking at the diff, it seems it's an isolated patch that I applied so it seems to be working correctly now.

Thank you very much!
Rok

Offline wmr72

  • Jr. Member
  • **
  • Beiträge: 80
Aw: web connections never die
« Antwort #6 am: 02 Januar 2013, 14:16:22 »
After an update this seems to be fixed for me, too. I had done an update on Dec 20th, but checking the backup from yesterday's update it still contained 01_FHEMWEB.pm revision 2076 from 2012-11-04.