lightweightm2m-iotagent
lightweightm2m-iotagent copied to clipboard
too much CUP usage by docker container after start
(master) ps -ef | grep iota | grep lwm2m
avega 6178 5961 0 10:50 ? 00:00:03 node /usr/local/bin/pm2-runtime /opt/iota-lwm2m/bin/lwm2mAgent.js
avega 6605 6178 77 10:50 ? 00:31:15 node /opt/iota-lwm2m/bin/lwm2mAgent.js
root@iot-iota-lwm2m:/opt/iota-lwm2m# ps -ef
UID PID PPID C STIME TTY TIME CMD
node 1 0 0 08:50 ? 00:00:00 /bin/bash docker/entrypoint.sh -
node 7 1 0 08:50 ? 00:00:03 node /usr/local/bin/pm2-runtime
node 17 7 77 08:50 ? 00:31:23 node /opt/iota-lwm2m/bin/lwm2mAg
root 356 0 0 09:30 pts/0 00:00:00 /bin/bash
root 364 356 0 09:30 pts/0 00:00:00 ps -ef
related https://github.com/telefonicaid/lightweightm2m-iotagent/issues/88
After starts, it seems that is in:
debug> pause
break in node_modules/lwm2m-node-lib/node_modules/mongoose/lib/error/validation.js:18
16 */
17
>18 function ValidationError(instance) {
19 this.errors = {};
20 this._message = '';
Since 1.0.0 version. Version 0.4.0 works fine
https://github.com/telefonicaid/lightweightm2m-iotagent/compare/0.4.0...release/1.0.0
https://github.com/telefonicaid/lwm2m-node-lib/compare/release/1.0.0...release/1.1.0
just docker, non devel / saas environments
