Comments (6)
Can you check if this happens with the current master?
I suspect the logging to be responsible for it (see #53 / #68 )
from iobroker.yahka.
Unfortunately still present, to be honest even worse. Any log that would help?
from iobroker.yahka.
I don't think that high RAM usage is caused by the logging. How many devices do you use with YAHKA? Mem usage at adapter start is round about 45 MB growing to 75 MB over time on my system, but I do not use many devices with the adapter. Maybe it somehow correlates with the number of devices.
from iobroker.yahka.
Hi, I use ~76 devices in yahka.
and yes, yahka uses around 40-50 MB of RAM during normal use.
My Observartions are rather like that:
- Yahka is started: 35MB
- after ~30s it goes up to 300-500MB for around ~30s
- then it goes back down.
This "peak" in the middle is my issue, because this will lead to crashes if other adapters are started and also eating RAM. So if I start yahka first, wait till it became low again, and "then" start all other adapters, then result is a System which works with 35% free RAM. (Hoping yahka never restarts, because if so it will definetely crash).
While I honestly do not want to mix issues... I am not sure if this is related: Right now since 0.8.1 yahka does not recover from the peak properly at all. it gets restarted, log shows the devices being created and then it crashed within next 30s. Following Log contents (it creates all devices, i leave the last line if this creation for my Vallox Device in, then these errors appear):
2018-12-06 16:41:01.561 - ^[[32minfo^[[39m: yahka.0 adding Vallox 90 SE with UUID: a58baa83-d71a-454a-94da-3a770a858c91 2018-12-06 16:41:25.149 - ^[[31merror^[[39m: Caught by controller[0]: Thu, 06 Dec 2018 15:41:00 GMT socket.io-client:url parse http://127.0.0.1:9001 2018-12-06 16:41:25.150 - ^[[31merror^[[39m: Caught by controller[1]: Thu, 06 Dec 2018 15:41:00 GMT socket.io-client new io instance for http://127.0.0.1:9001 2018-12-06 16:41:25.151 - ^[[31merror^[[39m: Caught by controller[2]: Thu, 06 Dec 2018 15:41:00 GMT socket.io-client:manager readyState closed 2018-12-06 16:41:25.152 - ^[[31merror^[[39m: Caught by controller[3]: Thu, 06 Dec 2018 15:41:00 GMT socket.io-client:manager opening http://127.0.0.1:9001 2018-12-06 16:41:25.152 - ^[[31merror^[[39m: Caught by controller[4]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:socket creating transport "polling" 2018-12-06 16:41:25.152 - ^[[31merror^[[39m: Caught by controller[5]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:polling polling 2018-12-06 16:41:25.152 - ^[[31merror^[[39m: Caught by controller[6]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:polling-xhr xhr poll 2018-12-06 16:41:25.153 - ^[[31merror^[[39m: Caught by controller[7]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:polling-xhr xhr open GET: http://127.0.0.1:9001/socket.io/?EIO=3&transport=polling&t=MU4BUX4&b64=1 2018-12-06 16:41:25.153 - ^[[31merror^[[39m: Caught by controller[8]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:polling-xhr xhr data null 2018-12-06 16:41:25.153 - ^[[31merror^[[39m: Caught by controller[9]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:socket setting transport polling 2018-12-06 16:41:25.153 - ^[[31merror^[[39m: Caught by controller[10]: Thu, 06 Dec 2018 15:41:00 GMT socket.io-client:manager connect attempt will timeout after 20000 2018-12-06 16:41:25.154 - ^[[31merror^[[39m: Caught by controller[11]: Thu, 06 Dec 2018 15:41:00 GMT socket.io-client:manager readyState opening 2018-12-06 16:41:25.154 - ^[[31merror^[[39m: Caught by controller[12]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:polling polling got data 97:0{"sid":"bWnphHQe2_ErwJVLAACV","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000} 2018-12-06 16:41:25.154 - ^[[31merror^[[39m: Caught by controller[13]: Thu, 06 Dec 2018 15:41:00 GMT engine.io-client:socket socket receive: type "open", data "{"sid":"bWnphHQe2_ErwJVLAACV","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000}"
This Caught by controller [xy] messages count up to more than 1500 for xy. flooding the log.
from iobroker.yahka.
Please try again with version 0.8.2
from iobroker.yahka.
Absolutely Insane @jensweigele !
I an using yahka since the early 0.5.0 releases and can tell: It never ran that good!
Consumption starts with 36, goes up to 110, then 118, then back to 86 and 46. All this within a minute, without errors and without iobroker crashing even if i start it as the last adapter.
Even if yahka always stayed my preferred HK Interface (coming from homebridge-Homematic and also Node-red) this one was really frustrating. You can‘t believe how happy I am -> Thanks for your work on finding this one!!!
from iobroker.yahka.
Related Issues (20)
- Yahka 1.0.3 nicht kompatibel mit js-Controller 5.0 HOT 1
- Mehrere Geräten/attribute in einer device mit unterschiedlichen Namen HOT 1
- Nach Upgrade von HomeKit kann Yahka keine HomeKit Datenpunkt setzen HOT 1
- Please fix issues reported by adapter checker
- ServiceType: Lockmechanism not working
- Update von 0.17.0 auf 1.0.3 nicht möglich
- Keine Verbindung HomeKit -> Yahka, Geräte schalten nicht HOT 1
- Bridge kann nicht hinzugefügt werden - nicht kompatibel / Verbindung verloren
- Probleme nach dem Update 1.0.3 HOT 13
- Konvertierung scaleint ohne Angabe von min-Werten...
- Export and import of all devices
- No longer works correctly with iOS 17 HOT 15
- terminated with code 6 (UNCAUGHT_EXCEPTION) -> Cannot read properties of null (reading 'val') HOT 2
- Please update test-and-release workflow
- Feature Request: Search Field in top of the entities.
- Dropdown Auswahl "Kategorie" ist leer
- CurrentDoorState wird nicht aktualisiert HOT 1
- AppleTV Doorbell
- Some Yakah Instances not working after js-controller upgrade to 5.x.x HOT 2
- Feature Request: Weather station implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.yahka.