Skip to content
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

使用ssl连接的时候,客户端的内存使用会不断上升 #269

Open
nuomi666 opened this issue Nov 18, 2024 · 3 comments
Open

使用ssl连接的时候,客户端的内存使用会不断上升 #269

nuomi666 opened this issue Nov 18, 2024 · 3 comments

Comments

@nuomi666
Copy link

使用emqtt-bench模拟10w个客户端连接并一直发送心跳,在10w个客户端都连接成功后,保持一段时间,客户端的内存使用不断上升,会是emqtt-bench有内存泄露吗?

@zmstone
Copy link
Member

zmstone commented Nov 18, 2024

麻烦提供一下运行参数。

@nuomi666
Copy link
Author

麻烦提供一下运行参数。

mqtt_bench conn -h 10.10.0.1 -p 28019 -u test -P 123 --ssl -V 3 -k 59 --prefix 'sub-' --shortids true -n 0 -R 1000 -c 100000

@qzhuyan
Copy link
Contributor

qzhuyan commented Dec 20, 2024

you could try -l with low mem mode.

If the proceses are just doing keep alive, it is unlikely the mem get GCed and you will see it grows until reach some GC point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants