Skip to content
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

v3.2.0-alpha.7 nicht nutzbar Speicher läuft direkt voll #2470

Closed
mcuiobroker opened this issue Nov 8, 2023 · 27 comments
Closed

v3.2.0-alpha.7 nicht nutzbar Speicher läuft direkt voll #2470

mcuiobroker opened this issue Nov 8, 2023 · 27 comments
Assignees
Labels
alpha / beta 🚧 Issue related to an alpha or beta version binding 🔗 Binding Issue bug 🐛 Something isn't working

Comments

@mcuiobroker
Copy link
Collaborator

Nach 10 Sekunden schon 600-700 MB.

@mcuiobroker mcuiobroker added the bug 🐛 Something isn't working label Nov 8, 2023
@Zefau Zefau moved this to IN PROGRESS in jarvis ROADMAP Nov 9, 2023
@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Der Adapter im ioBroker backend oder der Browser bzw. das jarvis frontend? Bei mir funktioniert es soweit.

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 9, 2023

Frontend. Was kann ich wo nachschauen?

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Backend wäre
image

Frontend wäre im Task Manager:
image

@mcuiobroker
Copy link
Collaborator Author

Ja da hab ich ja schon geschaut und gemerkt, dass der Speicher voll läuft.

@mcuiobroker
Copy link
Collaborator Author

HIlft das?
image

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Keine Ahnung, woran es liegt. Muss mal schauen, was ich seit der letzten Version konkret geändert habe.

Passiert es denn direkt beim Zugriff auf jarvis? Oder nur bei der jarvis Konfiguration?

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 9, 2023

Sowohl als auch. Egal was ich mache. War aber schon ab alpha.
Auch unabhängig vom Browser -> Chrome
image

@hosabeni
Copy link

hosabeni commented Nov 9, 2023

Ich kann das Verhalt bestätigen. Auch beim Firefox läuft der Speicher voll und das Browserfenster reagiert dann auch nicht mehr.

@mcuiobroker
Copy link
Collaborator Author

Hängt es evtl mit #2438 zusammen?
Läuft window.Socket.setState usw. dann noch oder ?

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Also ist das Problem neu mit alpha-7 oder waren schon frühere alpha Versionen betroffen?

@mcuiobroker
Copy link
Collaborator Author

War auch schon früher, aber nicht so schnell?

@mcuiobroker
Copy link
Collaborator Author

v8:
image
Die Logs kommen erst gar nicht, obwohl er das Frontend anzeigt
image

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Hast du die Module ScriptStatus und / oder AdapterStatus drin und könntest die testweise mal rauslöschen? Ist es dann (nach einem full reload) besser?

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 9, 2023

Muss erst zurück auf v3.1.9-beta.2
in v8 kann man gar nichts machen.
Müssen alle Module raus aus allen TABs?

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Was meinst du mit v8?

Nein, du die Module ScriptStatus und / oder AdapterStatus würde ich gerne testen.

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 9, 2023

3.2.0-alpha.8
Also lösch ich jetzt die Widgets mit Modulen Scriptstatus / Adapterstatus?

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

genau

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 9, 2023

So darf es bleiben, werden ja nicht genutzt
image
image
Oder müssen die auch noch raus?

@Zefau
Copy link
Owner

Zefau commented Nov 9, 2023

Ne passt so

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 9, 2023

Jetzt kommen die Logs
Aber jetzt ist es so wie bei der ersten alpha.
Widgets sind unterstrichen und es werden die Styles angezeigt.
Liegt daran, dass die Widgets erst gar nicht angezeigt wurden und ich auf Styles geklickt habe.
Es bleibt aber unter den Widgets stehen und geht nicht nach einer Zeit auf Styles.

Speicher läuft weiterhin voll
image

Auch wenn man die Browser Seite beendet bleibt der Speicher belegt.
Jetzt war es die Adapter-Browserseite, die im Speicher vollgelaufen ist.
image

Meldung im LOG
image

@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Nov 10, 2023

v3.2.0.-alpha.9 keine Verbesserung.

  • also Frontend und Backend sind betroffen.
  • Beendet man das Frontend, läuft das backend weiter hoch.
  • Frontend teilweise auf 90% Prozessorauslastung.
    Versuch scripts entfernt
  • kein Unterscheid
    Versuch scripts und Styles entfernt
    image
  • läuft trotzdem weiter hoch , aber langsamer als sonst
  • auf Geräte geklickt
    image
    Unterstrich bleibt auf Layout hängen

Beendet man den Prozess im Taskmanager
-> beide Browserseiten werden beendet Instanzen und Jarvis-Frontend
image

Genutzte System-Konfiguration

  • Node.js v18.18.2
  • NPM 9.8.1
  • js-controller: 5.0.16

@cooper1988
Copy link

cooper1988 commented Nov 11, 2023

Kann ich bestätigen.
Alle Alpha-Versionen nicht nutzbar. Teilweise schaft es mein Wandtablet nicht die Seiten zu laden und ich musste ebenfalls auf die 3.1.9 b2 zurück.

Adapter genau wie mcu.

@Bernd9000
Copy link

Bernd9000 commented Nov 11, 2023

Dito, hier auch mit 3.2.0-alpha.9
Frontend und Backend betroffen.
Im Backend gehts hoch auf über 500MB und dann wird die jarvis Instanz neu gestartet.
IOB Admin Seite ist dann eine Zeitlang nicht erreichbar.
Nur wenn ich jarvis Seiten aufrufe die nur StateList enthalten läuft es scheinbar normal (z.B. nur ein Schalter)

  • Node.js v18.18.2
  • NPM 9.8.1
  • js-controller: 5.0.16

@Bernd9000
Copy link

Bernd9000 commented Nov 12, 2023

Hab mal die Versionen getestet, der Fehler fing ab Version 3.1.9-beta.3 an.
3.1.9-beta.2 war noch Okay

Änderung:

@Bernd9000
Copy link

Bernd9000 commented Nov 14, 2023

@Zefau
So, hab ein Auslöser herausgefunden.
Sobald ein Binding unter "Icon" oder "Icon Style" in einem Gerät eingetragen ist, taucht der Fehler auf.
Getestet hatte ich bei einer Tasmota Steckdose mit dem "States" power und einem switchAction.
Das icon und die Farbe soll sich ändern wenn Gerät offline ist.
Sobald ich die Bindings raus nehme ist alles i.O.

Icon:
{"'{0_userdata.0.Tasmota.Heizung-Bad.Online}'='Offline'":"mdi:radiator blink","true":"mdi:radiator","false":"mdi:radiator"}

Icon Style:
{"'{0_userdata.0.Tasmota.Heizung-Bad.Online}'='Offline'":{"color":"#FF0"},"true":{"color":"#0F0"},"false":{"color":"#F00"}}

@Zefau Zefau added binding 🔗 Binding Issue alpha / beta 🚧 Issue related to an alpha or beta version labels Dec 30, 2023
@Zefau
Copy link
Owner

Zefau commented Dec 30, 2023

Kann das Issue hier bzgl. des Volllaufens des Speichers zu?

@Zefau Zefau moved this from IN PROGRESS to AWAITING FEEDBACK in jarvis ROADMAP Dec 30, 2023
@mcuiobroker
Copy link
Collaborator Author

Ja

@github-project-automation github-project-automation bot moved this from AWAITING FEEDBACK to DONE in jarvis ROADMAP Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha / beta 🚧 Issue related to an alpha or beta version binding 🔗 Binding Issue bug 🐛 Something isn't working
Projects
Status: DONE
Development

No branches or pull requests

5 participants