njouanin / hbmqtt

MQTT client/broker using Python asynchronous I/O
MIT License
800 stars 188 forks source link

Memory leaks of task refs identified and corrected in client and plugins/manager #203

Open shipmints opened 4 years ago

shipmints commented 4 years ago

In preparation for deployment, we were watching the memory footprint of long-running hbmqtt processes and they were growing without bound in small, regular increments and intervals. Had to basically read all the code to see where the issues were but they were identified, fixed, and tested. A pull request is coming shortly. Thank you to @njouanin for putting this package together and to everyone else who has contributed.

shipmints commented 4 years ago

Please see PR #204

shipmints commented 4 years ago

Please see updated PR #206 with slight enhancement that is more correct. Fully tested on our side.

fedjo commented 4 years ago

Thank you guys! :smile_cat:

linshengbin commented 3 years ago

压测500客户端连接(即使失败),broker1883端口内存占用增长过大,一直不释放,大到1000MB,有解决方法吗?