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

scylla-node: change net.ipv4.ip_local_port_range default tweaking #386

Conversation

vladzcloudius
Copy link
Collaborator

Allowing using ports from 2000 up is dangerous because scylla uses ports 9xxx and 19xxx for listening on.

This may end up with scylla conflicting with itself if it OS uses one of these ports for "client" side of the socket (e.g. RPC sockets) and eventually failing with the following error:

(CQLServer error while listening on 172.29.160.241:9042 -> std::system_error (error system:98, posix_listen failed for address 172.29.160.241:9042: Address already in use))

Let's increase the lower bound to 20000.

Allowing using ports from 2000 up is dangerous because scylla uses
ports 9xxx and 19xxx for listening on.

This may end up with scylla conflicting with itself if it OS uses one of
these ports for "client" side of the socket (e.g. RPC sockets) and eventually
failing with the following error:

(CQLServer error while listening on 172.29.160.241:9042 -> std::system_error (error system:98, posix_listen failed for address 172.29.160.241:9042: Address already in use))

Let's increase the lower bound to 20000.

Signed-off-by: Vlad Zolotarov <[email protected]>
@vladzcloudius vladzcloudius requested a review from tarzanek June 24, 2024 15:08
@tarzanek tarzanek merged commit cabcc44 into scylladb:master Jun 24, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants