-
Notifications
You must be signed in to change notification settings - Fork 220
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
单节点启动,出现too many open files问题 #171
Comments
可能是有bug导致连接没有释放,可以观察一下监控数据看看有没有什么端倪。(要打开Prometheus插件,默认是开的) curl 127.0.0.1:8082/metrics |
数量连接过多后,就没法创建新的连接了。打不开Prometheus连接 |
我用go 1.18去编译的。这个有没有影响呢 |
comqtt support the distributed cluster.If you are interested, please refer to https://github.com/wind-c/comqtt. Sorry, gmqtt is also great. |
1 similar comment
comqtt support the distributed cluster.If you are interested, please refer to https://github.com/wind-c/comqtt. Sorry, gmqtt is also great. |
@mxyue 有可能是鉴权失败,客户端不断开连接。导致连接开太多了。可以试一下按照这个comment先加一行能不能解决 |
更新代码后,内存泄漏的问题没有了。可能是那个问题造成的 |
客户端走websocket连接。
端口连接看不出什么。开发环境下就几个连接,但是socket连接一直没释放断开的连接。
The text was updated successfully, but these errors were encountered: