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

Make Scylla run in production mode #2603

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

christos-h
Copy link
Contributor

Motivation

Scylla is running in developer mode causing performance issues and crashes for docker-compose deployment.

Proposal

Switch developer mode off. Also enable the --overprovisioned flag so that Scylla doesn't hog all the host machine's resources.

Test Plan

Tested manually. Logs show dev mode is off.

Release Plan

  • These changes should be backported to the latest testnet branch, then
    • be released in a validator hotfix.

@ma2bd
Copy link
Contributor

ma2bd commented Oct 18, 2024

nit: Reading the title of the PR, we don't know if the statement is true before or after the changes

@christos-h christos-h changed the title Scylla under docker-compose doesn't run in developer mode Make Scylla run in production mode Oct 18, 2024
Comment on lines +50 to +51
- name: Update aio-max-nr
run: echo 1048576 > /proc/sys/fs/aio-max-nr
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah - this doesn't work on GH runners unfortunately.

@ma2bd ma2bd marked this pull request as draft October 23, 2024 22:58
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