lightweightm2m-iotagent icon indicating copy to clipboard operation
lightweightm2m-iotagent copied to clipboard

too much CUP usage by docker container after start

Open AlvaroVega opened this issue 6 years ago • 4 comments

(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

AlvaroVega avatar May 31 '19 09:05 AlvaroVega

related https://github.com/telefonicaid/lightweightm2m-iotagent/issues/88

AlvaroVega avatar May 31 '19 10:05 AlvaroVega

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 = '';

AlvaroVega avatar Jun 13 '19 14:06 AlvaroVega

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

AlvaroVega avatar Dec 01 '20 10:12 AlvaroVega

Screenshot from 2020-12-03 10-23-44

AlvaroVega avatar Dec 03 '20 09:12 AlvaroVega