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

Unclosed TCP connections #830

Closed
dermalikmann opened this issue Jan 30, 2019 · 2 comments
Closed

Unclosed TCP connections #830

dermalikmann opened this issue Jan 30, 2019 · 2 comments
Labels

Comments

@dermalikmann
Copy link

Description

When you enable websocket Whalebird opens a new TCP connection every few seconds but doesn't close them. This leads to a lot of open connections which slowly but surely fills the servers RAM. Furthermore this effect seams to stack every time when you disable and reenable WS which leads to a DoS like behavior when executed a few times.

How To Reproduce

  1. Open whalebird
  2. Enable WS
  3. Disable WS
  4. Reenable
  5. continue, watch server log gets flooded and server RAM filled.

Your Environment

  • OS: Win10
  • Whalebird Version: 2.6.2
  • Instance: machteburch.social

6682b4b046f51a86

@dermalikmann
Copy link
Author

dermalikmann commented Jan 30, 2019

BTW: Usually we are around 100 simultaneous open TCP connections. The max peak there was around 13 000 simultaneous connections. And afaik: This was ONE client.

@h3poteto h3poteto added ToDo and removed Backlog labels Mar 10, 2019
@h3poteto h3poteto added Backlog and removed ToDo labels Aug 17, 2019
@stale
Copy link

stale bot commented Mar 7, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can remove the stale label with /remove-stale comment. Thank you for your contributions.

@stale stale bot added the stale label Mar 7, 2022
@stale stale bot closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants