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

Too many open files #102

Open
jdknives opened this issue Aug 20, 2021 · 0 comments
Open

Too many open files #102

jdknives opened this issue Aug 20, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jdknives
Copy link
Member

Describe the bug
When running the dmsg server in production with a significant load for extended periods of time, the server eventually logs

Too many open files and will not accept new connections. The issue does not appear immediately when the usual threshold of ~2500 sessions is reached, but only after a week or two of operation which leads me to believe we are not closing connections correctly at some place. This issue can be mitigated by increasing the number of files that can be opened on the system itself.

Environment information:

  • OS: Linux server, dmsg-server run in docker container

Steps to Reproduce
Reproduction of this issue would require

  1. Simulating a large number of sessions to a single server running on a Linux host
  2. Letting the server run for a while and deconnecting/reconnecting clients for a substantial amount of time
@jdknives jdknives added the bug Something isn't working label Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant