-
Notifications
You must be signed in to change notification settings - Fork 89
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
Invalid nodes, sensors and variables appearing #484
Comments
@seant100 good catch! |
@jkandasa Thank you. I have installed the new snapshot version. I will monitor over next few days |
@jkandasa Logs showing a lot of errors. Not sure if all are related to this issue. Here is log :
|
@seant100 Thanks for the log file, I see two errors related to this change.
Seems you have some issue with one of your MQTT gateway,
Other errors related to UI. I hope these errors will go off, when you reload your page on the browser. |
@jkandasa What sort of issue could I have with MQTT gateway? I have 2 gateways setup. Both seem to be working fine. It seems to me the key here is "null pointer exception". As this appears on all of those issues. This to me indicates some object is not being instantiated properly. |
@jkandasa Here is a snippet of the logs some more errors.
|
@seant100 seems like your RPI works under heavy load? |
@jkandasa I only have 7 nodes. One node is setup as a 2nd gateway so as to use an ESP8266 without radio. If I disable this gateway it still logs errors and CPU is sometimes still stuck on 100%. On the Raspberry Pi I am only running Mycontroller and its dependencies. Plus node-red for sending data to weather underground. Is MyController limited to less than 7 nodes ? |
@seant100 No, MyController is not limited to 7 nodes.
|
|
|
|
@jkandasa Perhaps also there is something wrong with my database. Here is says "Column "registrationState" not found"
|
@seant100 Thank you for your patience and quick response, Can you send your database backup to my email address? (remove sensitive information) can you increase java heap to 512MB( |
@jkandasa Where do i put the "-Xmx512m" ? is that in the start.sh script? |
@jkandasa I've emailed database backup to you and increased the heap MAX setting in start.sh |
@jkandasa With the new snapshot it is still creating random nodes, sensors and sensor variables |
@jkandasa It is not only new nodes - see screenshot. MyController is creating invalid sensors and invalid sensor variables. |
@seant100 ah, looks like we have an issue with MyController. Can you send mycontroller.log to my email address? |
@jkandasa I've sent the log file via email. |
I also experienced such problems on my RPI. At certain point of time mycontroller started eating all CPU time. Mycontroller's web server became unresponsive because of that. It looked like problem with corrupted database. I transferred this database into my laptop and there also observed significantly high CPU consumption on a temporarily configured mycontroller. I did not succeed in recovering this database and had to create a new one from scratch. After that everything started working properly again. |
If the database fails to read / fetch node details, sensor details etc then new items are created and appear randomly.
It therefore appears error handling for database reads does not prevent code from continuing to execute.
This is causing all sorts of false nodes, sensors and variables to appear in the resources list.
The text was updated successfully, but these errors were encountered: