-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Bug]: Milvus memory's usage is too high, and the minio's cpu usage is also very high #40270
Comments
There are a few similar discussions related to high memory and CPU usage in Milvus:
For addressing high memory and CPU usage in Milvus and MinIO, you can consider updating the following configurations: Milvus
MinIO
These configurations can help manage resource usage more effectively. For more detailed configuration options, you can refer to the Milvus documentation [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
For the standalone milvus, is there any recommended suggestions about maximum data scale
|
Milvus Standalone is suitable for medium-sized datasets, scaling up to 100 million vectors [1]. Given that you've inserted 200 million vectors, this exceeds the recommended scale for standalone mode, which could contribute to the high resource usage you're experiencing. For your current data scale, the resource usage you're observing might be expected due to the large dataset size. To manage resource usage more effectively, consider optimizing memory and CPU usage by adjusting configurations such as enabling skip mode, managing segment buffer sizes, and enabling force sync when memory usage is high [2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
@ljpassingby The memory usage is a bit high if all the segments are indexed. But according to the description above, I think there are many compaction tasks running. If so, it is reasonable.
|
@yanliang567 Thanks for your reply. The suggestions I will try later, but I have a question that why the minio uses so much cpu resource and it seems not to decrease? |
@ljpassingby Please upgrade to 2.5.5 and see if it's still the same issue. |
Is there an existing issue for this?
Environment
Current Behavior
I have inserted 200000000 data into a standalone milvus server, and the milvus server's memory usage rise to 329.4g.
After the vector index builds up, the minio's cpu usage rises to 8000%.
When I restart the minio after closing the milvus server, the minio is normal. But when I start the milvus, the minio's cpu usage will still rise to 8000% again, and milvus' memory usage rises to 300g+
The vector type is ivf_sq8, 256 dimension
Is there any config I can update to avoid the high memory usage and the cpu usage?
Expected Behavior
No response
Steps To Reproduce
Milvus Log
There is a lot of logs like this, printing very frequently.
Anything else?
No response
The text was updated successfully, but these errors were encountered: