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
Slow response, high cpu and errors in log #359
Comments
@Redferne Is this latest version of SNAPSHOT? recently I have changed database version. That might fix this issue. |
@jkandasa New log available on todays snapshot. Not sure if I feel any difference. Still sluggish and drawing graphs spanning a month takes forever on my Raspberry Pi 3. Still some errors in the log though. (https://drive.google.com/file/d/0B9erfGyVgWBlMWZjeFRTQTJsWFk/view?usp=drivesdk) |
Got the same feeling. After I upgraded to the snapshot like 1-2 weeks ago everything feels "slow". Selecting different time-spans for battery-level doesn't work at all. Selected last month .. nothing changes .. Upadte: Currently testing snapshot from 12.02. .. battery history seems to be still broken?! Performance is under test |
@cimba007 you mean only battery graph is not working good? |
Yeah, upon chganging the interval I can observe that there timestampFrom is changed according to dropdown option. Check the second picture. The returned values do not reflect timestampFrom but are all the same no matter what value I pick from History-Dropdown option. Edit: Maybe related to this change? (The REST api is with timestampFrom, duration etc. is working fantastic btw.!!!) |
Cool log. Which tool do you use to visualise the api calls? |
Its called "Fiddler" (http://www.telerik.com/fiddler) most powerful http(s) Debugger i know
Am 19. Februar 2017 21:36:17 MEZ schrieb Redferne <notifications@github.com>:
…
@cimba007
Cool log. Which tool do you use to visualise the api calls?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#359 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
@cimba007 You are genius :) Yes, 06c0607 caused this issue. You have to change on https://github.com/mycontroller-org/mycontroller/blob/development/dist/src/main/package/www/controllers/nodes.js#L393 and https://github.com/mycontroller-org/mycontroller/blob/development/dist/src/main/package/www/controllers/nodes.js#L406 as follows,
I will add this fix soon. |
Nice, glad you found it so quickly! |
@jkandasa: fixed, is working again, ty |
My MC instance on a RPI3 slowed to a crawl and hogged 99% of the CPU. There are alot of SQL errors in the log. Is this normal? Log here:
https://drive.google.com/file/d/0B9erfGyVgWBlX1BncHRzQThqcFU/view?usp=drivesdk
The text was updated successfully, but these errors were encountered: