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

Increase memory limit for dragonfly in docker-compose-db.yml #128

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

sirouk
Copy link
Contributor

@sirouk sirouk commented Oct 2, 2024

Problem:
The dragonfly container exited.

Issue:

* For the available flags type dragonfly [--help | --helpfull]
* Documentation can be found at: https://www.dragonflydb.io/docs
W20241002 07:35:12.754663     1 dfly_main.cc:679] SWAP is enabled. Consider disabling it when running Dragonfly.
I20241002 07:35:12.754685     1 dfly_main.cc:703] Max memory limit is: 2.00GiB
W20241002 07:35:12.754709     1 dfly_main.cc:367] Weird error 1 switching to epoll
I20241002 07:35:12.833235     1 proactor_pool.cc:147] Running 48 io threads
E20241002 07:35:12.833262     1 dfly_main.cc:168] There are 48 threads, so 12.00GiB are required. Exiting...

Cause:
The service calculated the required memory and assessed the limit.

Fix:
Increase the memory limit.

@Fraccaman
Copy link
Member

maybe we can just remove the --maxmemory option?

@sirouk
Copy link
Contributor Author

sirouk commented Oct 3, 2024

Good call. I tested and it works fine without it. I pushed a commit 8bddb37👍which is now in this PR.

@Fraccaman Fraccaman added this pull request to the merge queue Oct 8, 2024
Merged via the queue into anoma:main with commit 1ecfb66 Oct 8, 2024
8 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