-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Bug: online user and memory used are only increasing ,and there are a large number of TCP connections in the FIN-WAIT-2 state #2142
Comments
Hello! Thank you for filing an issue. If this is a bug report, please include relevant logs to help us debug the problem. Join slack 🤖 to connect and communicate with our developers. |
Could you please confirm if this Dockerfile was authored by you? Additionally, would you be able to provide specific version information used? Thank you. |
Yes. The Dockerfile of openim-oimws was was authored by myself. mariadb:10.6 openim server image version: release-v3.5 Additionally, I also added the following information to the linux system: When I use netstat cmd in linux console:"netstat -nat | grep FIN_WAIT2|wc -l", FIN_WAIT2 TCP connection number is about 28245 now. There are some warning logs in openim-oimws logs files ,like as these: |
I recommend you update to release-v3.8. If you encounter any new issues, please reopen this issue or create a new one. |
The JS SDK has been updated with a new solution and will be released this week. |
What happened?
On the granafa monitoring page of openim, we can see that online_user num and user_login_total are increasing continuously, and there are still high numbers even in the early morning.
There are many TCP connections to openim server (10001 port number ) in the FIN_WAIT2 state in the system.
What did you expect to happen?
We'd like to understand why this happens and how to fix it, preferably can show the real number of online users.
Memory usage can be efficiently released.
How can we reproduce it (as minimally and precisely as possible)?
https://github.com/openimsdk/openim-docker/blob/v3.5.0/docker-compose.yaml
the Dockerfile of openim-oimws:
Anything else we need to know?
No response
version
openim server 3.5
docker pull openim/openim-server:release-v3.5
openim-chat release-v1.5
docker pull openim/openim-chat:release-v1.5
openim-oimws v3.5.1-alpha.8
https://github.com/openim-sigs/oimws/tree/v3.5.1-alpha.8
Cloud provider
OS version
Linux OpenIMServer 4.14.35-1902.300.11.el7uek.x86_64
Install tools
The text was updated successfully, but these errors were encountered: