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

[Bug]: Idle connections still occupy memory, the ringbuf cannot be released #662

Closed
3 tasks done
szza opened this issue Nov 18, 2024 · 3 comments
Closed
3 tasks done
Assignees
Labels
bug Something isn't working waiting for response waiting for the response from commenter

Comments

@szza
Copy link

szza commented Nov 18, 2024

Actions I've taken before I'm here

  • I've thoroughly read the documentations on this issue but still have no clue.
  • I've searched the Github Issues but didn't find any duplicate issues that have been resolved.
  • I've searched the internet for this issue but didn't find anything helpful.

What happened?

After experiencing high traffic, when the connection becomes idle, the memory in the ringbuf still cannot be released.

5

Emerged after solving the problem #659

Major version of gnet

v2

Specific version of gnet

v2.6.1-cache-fix

Operating system

Linux

OS version

Linux 6.2.0-39-generic x86_64

Go version

1.21.6

Relevant log output

1

Code snippets (optional)

1

How to Reproduce

After experiencing high traffic, when the connection becomes idle, the memory in the ringbuf still cannot be released

Does this issue reproduce with the latest release?

It can reproduce with the latest release

@szza szza added the bug Something isn't working label Nov 18, 2024
@panjf2000
Copy link
Owner

v2.6.2 should have fixed this issue, please try it out and let me know if it works.

@panjf2000 panjf2000 added the waiting for response waiting for the response from commenter label Nov 18, 2024
@szza
Copy link
Author

szza commented Nov 18, 2024

v2.6.2 should have fixed this issue, please try it out and let me know if it works.

Alright, I'll give it a try and get back to you later.

@szza
Copy link
Author

szza commented Nov 18, 2024

v2.6.2 should have fixed this issue, please try it out and let me know if it works.

like nice.

@szza szza closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for response waiting for the response from commenter
Projects
None yet
Development

No branches or pull requests

2 participants