Giter Site home page Giter Site logo

Bug: online user and memory used are only increasing ,and there are a large number of TCP connections in the FIN-WAIT-2 state about open-im-server HOT 3 OPEN

manlinux avatar manlinux commented on June 15, 2024
Bug: online user and memory used are only increasing ,and there are a large number of TCP connections in the FIN-WAIT-2 state

from open-im-server.

Comments (3)

kubbot avatar kubbot commented on June 15, 2024

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.

from open-im-server.

cubxxw avatar cubxxw commented on June 15, 2024

Could you please confirm if this Dockerfile was authored by you? Additionally, would you be able to provide specific version information used? Thank you.

from open-im-server.

manlinux avatar manlinux commented on June 15, 2024

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
kafka:3.5.1
mongo:6.0.2
redis:7.0.0

openim server image version: release-v3.5
openim chat image version: release-v1.5
openim-admin:toc-base-open-docker.35
oimws git branch :v3.5.1-alpha.8

Additionally, I also added the following information to the linux system๏ผš
net.core.somaxconn=65535
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_syn_retries = 2
net.ipv4.tcp_fin_timeout = 10
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.tcp_keepalive_intvl = 6

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:
openim-oimws | 2024-03-26 19:35:02.156 WARN [PID:7] [interaction/long_conn_mgr.go:186] reConn {"error": "read tcp 10.195.1.12:35564->10.195.1.1:10001: read: connection reset by peer"}
openim-oimws | 2024-03-26 19:35:02.160 WARN [PID:7] [interaction/long_conn_mgr.go:186] reConn {"operationID": "1711449856320880343", "error": "read tcp 10.195.1.12:35568->10.195.1.1:10001: read: connection reset by peer"}
openim-oimws | 2024-03-26 19:35:02.160 WARN [PID:7] [interaction/long_conn_mgr.go:186] reConn {"error": "read tcp 10.195.1.12:35566->10.195.1.1:10001: read: connection reset by peer"}
openim-oimws | 2024-03-26 19:35:02.170 WARN [PID:7] [interaction/long_conn_mgr.go:186] reConn {"error": "read tcp 10.195.1.12:35570->10.195.1.1:10001: read: connection reset by peer"}
openim-oimws | 2024-03-26 19:35:02.170 WARN [PID:7] [interaction/long_conn_mgr.go:186] reConn {"operationID": "1711449858558726627", "error": "read tcp 10.195.1.12:35574->10.195.1.1:10001: read: connection reset by peer"}
openim-oimws | 2024-03-26 19:35:02.170 WARN [PID:7] [interaction/long_conn_mgr.go:186] reConn {"operationID": "1711449856066444155", "error": "read tcp 10.195.1.12:35576->10.195.1.1:10001: read: connection reset by peer"}

from open-im-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.