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

Connection leak when seed DNS record has multiple IPs #50

Open
nikhilo opened this issue Oct 14, 2019 · 3 comments
Open

Connection leak when seed DNS record has multiple IPs #50

nikhilo opened this issue Oct 14, 2019 · 3 comments

Comments

@nikhilo
Copy link

nikhilo commented Oct 14, 2019

When we started using a multi rack cassandra cluster, we populated the cassandra seed DNS (A) record with one IP from each rack. We instantly saw network connections continuously climbing from the erlang hosts to the seed hosts. We reverted the DNS record to have only one IP and the connections stopped increasing.

@lpgauth
Copy link
Owner

lpgauth commented Oct 15, 2019

Did you put a DNS hostname in the bootstrap_ips field? I've never tested that, I always use qualified IP. I'll experiment on my side to see if I can reproduce.

@lpgauth
Copy link
Owner

lpgauth commented Oct 15, 2019

Fixed a leak, but still need to test bootstrapping with a DNS hostname.

#51

@nikhilo
Copy link
Author

nikhilo commented Oct 15, 2019

We have to use DNS hostnames since updating the IPs would require restarting the Erlang service and the restart of the service is really expensive. Also, the connection leak might be caused by #47 Going to review this with the author of #47

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