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

fix(scylla): failed to start scylla due to fs.aio limit #447

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

CodeLieutenant
Copy link
Contributor

@CodeLieutenant CodeLieutenant commented Dec 23, 2024

When running multiple ScyllaDB instances on the same machine (especially in docker), it can fail to start due to the fs.aio-max-nr kernel setting being too low. This makes our Integration Tests unstable and many times tests are being aborted due to Scylla never starting.

Upgrading to ubuntu-24.04

Since Github ubuntu-latest will be moving to 24.04 and this fix for some reason does not work on latest (didn't investigate why) upgrade to 24.04 is necessary (and it it is proven to work on 24.04)

Runs

@CodeLieutenant CodeLieutenant added good first issue Good for newcomers github_actions Pull requests that update GitHub Actions code labels Dec 23, 2024
@CodeLieutenant CodeLieutenant added this to the Gemini 1.9 milestone Dec 23, 2024
@CodeLieutenant CodeLieutenant self-assigned this Dec 23, 2024
@dkropachev dkropachev merged commit e0d40ab into scylladb:master Dec 23, 2024
1 of 4 checks passed
@@ -49,6 +49,10 @@ jobs:
id: scylla
shell: bash
run: |
ulimit -n 65536
sudo sysctl -w fs.aio-max-nr=30000000
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is done for holding fs to lot's of sstables, our tests are not suppose to generate lot's of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants