Closed chenlein closed 1 year ago
you should pass --proactor_threads=2
to limit the number of cpus if I read your yaml correctly.
The problem is that you limit dragonfly to less than 4GB but your VM has 16 cpus and dragonfly requires at least 256MB per thread. By limiting number of threads to your actual limits you solve the problem.
@romange Is it possible to automatically calculate threads and memory based on the pod's resources?
Dragonfly binary does not calculate automatically container resources. My intuition says this approach does not sound right to me. All databases I know use flags/configuration files to set up these things. Do you know any other project (binary) that does it?
maybe you are right, thanks for your help!
Describe the bug
To Reproduce
Expected behavior Automatically calculate Max Memory value for containers
Environment (please complete the following information):