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

UDPAddr leak #150

Open
cooltea713705 opened this issue Oct 31, 2024 · 1 comment
Open

UDPAddr leak #150

cooltea713705 opened this issue Oct 31, 2024 · 1 comment

Comments

@cooltea713705
Copy link

First of all, thanks for your work!

We have noticed when using Server that there is a slow UDPAddr object leak (see pprof heap inuse_objects diagram below) over time.

Looking into the code, it seems raddr are being added but only get cleared when the server closes down as it's UDP.

image

We are still looking into if we are doing something wrong and what might be triggering those incoming UDP connections in our network.

@emiago
Copy link
Owner

emiago commented Nov 5, 2024

Hi @cooltea713705 .
Thanks for using sipgo. Yes I think solving this problem was not the best, but we needed to track this addresses.
I will take some time to look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants