-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teilweise sehr lange Skriptlaufzeit von RegisterTimer "Wh-Berechnung" #8
Comments
Hallo, ist das Problem erst seit einem bestimmten Release aufgetreten und besteht dieses gefühlt schon immer? Ich werde mir das mit deiner Config mal ansehen. Gruß Jürgen |
Hallo, Jürgen, Ich aktualisiere die Werte sekündlich. Ich weiss, das ist ziemlich oft, ist aber performancetechnisch kein Problem. Sobald die Funktion läuft, geht die CPU Nutzung auf 100% und läuft bei mir ca. 80 - 90s. In der Zeit werden auch manchmal die anderen Skripte blockiert. viele Grüße, |
"Wie ist die restliche Config?" |
Hallo, glaube den Fehler gefunden zu haben. Lade mal bitte diese Datei herunter: https://raw.githubusercontent.com/Brovning/e3dc/ef7b8c5e3d0257b712c562029276b1723ef81946/libs/myFunctions.php Und kopiere diese nach (Default-Pfad!, ggf. durch den bei dir verwendeten Pfad tauschen): An dieser Stelle solltest du bereits eine "myFunctions.php" vorfinden, welche du überschreiben musst. |
Die geändert myFunctions.php ist jetzt im Einsatz. Ich beobachte das Verhalten jetzt mal die nächsten Tage. |
Mit der Änderung sind Fehler reingekommen, das habe ich erst heute gesehen. 02.11.2020, 07:28:31 | TimerPool | S10 E (Wh-Berechnung): |
Misst, das sollte dieser Fehler sein: https://www.symcon.de/forum/threads/43497-Problem-mit-5-Minuetiger-Aggregation-und-was-ist-Aggregationsstufe-7 Probiere bitte mal dieses File: https://github.com/Brovning/e3dc/raw/a79c4894ad3435224f7c792c6cf1b36f63805e15/libs/myFunctions.php |
Hier das Ergebnis: 02.11.2020, 13:17:12 | TimerPool | S10 E (Wh-Berechnung): |
Habe mal im IPS-Thema geantwortet: Befürchte hier liegt ein Implementierungsfehler in IPS vor... Ein möglicher Workaround wäre, wenn du vorübergehend den E3DC nur alle 10 Sekunden und nicht jede 1 Sekunde abrufen würdest. Grund: |
Ich habe das Abfrage Intervall jetzt schrittweise auf 20 Sekunden erhöht. Der Fehler bleibt der gleiche. |
Ja, weil heute schon zu viele Werte eingetragen wurden (). Stelle mal auf 10 Sekunden und prüfe Morgen das Ergebnis. |
Anwort im IPS Forum erhalten. Leider ziemlich unzufriedenstellend:
Wenn ich eine IPS Funktion geziehlt verwende, dann erwarte ich eigentlich, dass mir Probleme abgenommen werden, die ich ansonsten mit den Rohdaten hätte. Somit musst du wieder auf meine releaste Version zurückgehen und ich reverte den Patch. Mögliche Optionen aus meiner Sicht:
Eine andere Lösung sehe ich aktuell leider nicht. Bin für Vorschläge offen. |
…Berechnung"" This reverts commit a79c489.
…Berechnung"" This reverts commit ef7b8c5.
Hallo,
Frage. Ich beobachte in den PHP Informationen immer wieder das die Zeile (PHP Thread), wie im Bild zu sehen ist, manchmal mehrere Minuten dauert.
Ich vermute hier auch die Ursache das sich bei mir immer wieder mal der IP Symcon Dienst beendet.
Dazu gibt es auch ein Thema im Symcon Forum:
https://www.symcon.de/forum/threads/43658-regelm%C3%A4%C3%9Figes-Beenden-des-Symcon-Dienstes/page2
Die Funktion ist für das Logging und die Tageswerte zuständig?
The text was updated successfully, but these errors were encountered: