mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 90 forks source link

RPI Hang #437

Closed wengjjpaul closed 6 years ago

wengjjpaul commented 6 years ago

Symptom: After a random time of server running, MyController Server went down. RPI ssh hangs at password. Winscp apparently is still working. Require reset RPI.

System: Version 1.2.0-SNAPSHOT Database schema revision 1.04.01 - 2017 Oct 25 Database type H2 database embedded Database version 1.4.194 (2017-03-10) Git commit:branch 1c15af69fb2183fde0b1789d20e20fa0ab4aa813:development Built on 2018-01-06T18:40:14+0530 Build JDK 1.8.0_151 Build tool Apache Maven 3.5.0

MyController log found this: 2018-02-14 23:40:15,093 ERROR [nioEventLoopGroup-3-4] [io.netty.util.ResourceLeakDetector:176] LEAK: ByteBuf.release() was not called before it's garbage-collected. Enable advanced leak reporting to find out where the leak occurred. To enable advanced leak reporting, specify the JVM option '-Dio.netty.leakDetection.level=advanced' or call ResourceLeakDetector.setLevel() See http://netty.io/wiki/reference-counted-objects.html for more information.

May or may not be MyController issue. Any help would be appreciated.

jkandasa commented 6 years ago

@wengjjpaul on your next hang can you send the following logs. Take these logs before do restart.

  1. mycontroller/logs/mycontroller.log
  2. Run dmesg -T > /tmp/dmesg.log

to my email address: jkandasa at gmail dot come

wengjjpaul commented 6 years ago
  1. Ok. Will do so when it hangs.
  2. I am not able to access ssh when it hangs
jkandasa commented 6 years ago
2018-02-14 23:40:15,093 ERROR [nioEventLoopGroup-3-4] [io.netty.util.ResourceLeakDetector:176] LEAK: ByteBuf.release() was not called before it's garbage-collected. Enable advanced leak reporting to find out where the leak occurred. To enable advanced leak reporting, specify the JVM option '-Dio.netty.leakDetection.level=advanced' or call ResourceLeakDetector.setLevel() See http://netty.io/wiki/reference-counted-objects.html for more information.

^^ This issue will be fixed in next version of MQTT broker. https://github.com/andsel/moquette/issues/292

wengjjpaul commented 6 years ago

Updated RPI to stretch raspbian. And the latest snapshot of MyController. Seems to be working fine so far.