Giter Site home page Giter Site logo

Comments (9)

xiaofan-luan avatar xiaofan-luan commented on August 11, 2024

2. The minio disk space is enough, only 25% used now, so I am super wondering the reason. And referring to your suggestions, I am doing a new test and preparing to grab the milvus cluster & node metrics at that crash time, will update here later.

the reason is you are using IVF_SQ8. This index don't have original vectors.
Milvus try to prewarm original vectors on local cache in order to improve the cold latency.

if you don't need to get vectors, change queryNode.cache.warmup to off could help

from milvus.

xiaofan-luan avatar xiaofan-luan commented on August 11, 2024

if you don't have enough space on /var, the K8s will automatically evict, that's might be the reason why you can not recover

from milvus.

yanliang567 avatar yanliang567 commented on August 11, 2024

/assign @tianshihan818
please try as comments above.

/unassign

from milvus.

tianshihan818 avatar tianshihan818 commented on August 11, 2024
  1. The minio disk space is enough, only 25% used now, so I am super wondering the reason. And referring to your suggestions, I am doing a new test and preparing to grab the milvus cluster & node metrics at that crash time, will update here later.

the reason is you are using IVF_SQ8. This index don't have original vectors. Milvus try to prewarm original vectors on local cache in order to improve the cold latency.

if you don't need to get vectors, change queryNode.cache.warmup to off could help

Thanks for your advice!
I have tried this, to set the queryNode.cache.warmup to be off. But it doesn't work, still crash with the same reason.
And I also tried to delete and rebuild HNSW index on this collection and reload, it works well and the directory /var disk usage is normal.
So I'm sure this problem is mainly due to the working line of the IVF_SQ8 index type, although I don't know the exactly reason.

from milvus.

xiaofan-luan avatar xiaofan-luan commented on August 11, 2024

if you need to get original vector on search, ivfPQ can not do this. you need to specify a disk volume large enough for hosting all the raw vectors. otherwise even if you don't do warmup the size will keep growing and fail at some time

from milvus.

tianshihan818 avatar tianshihan818 commented on August 11, 2024

if you need to get original vector on search, ivfPQ can not do this. you need to specify a disk volume large enough for hosting all the raw vectors. otherwise even if you don't do warmup the size will keep growing and fail at some time

I got it. I check the system configurations of milvus again, and find this: https://milvus.io/docs/system_configuration.md#localStorage
So the minio only stores the insert logs and the index files for data, and for the index like IVF_SQ or IVF_PQ, it will load all raw data during search/query, and the default path is /var/lib/milvus/data.
If I want to avoid that crash scene, I need to set localStorage.enabled to be true then change the localStorage.path to another place with enough disk space, right?

from milvus.

stale avatar stale commented on August 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

from milvus.

yanliang567 avatar yanliang567 commented on August 11, 2024

@tianshihan818 did you try that? and how it works?

from milvus.

tianshihan818 avatar tianshihan818 commented on August 11, 2024

@tianshihan818 did you try that? and how it works?

@yanliang567 Yes I tried but find that the helm chart config has hard-coded the path. Related issue: #33524
I think this issue could be closed as the key problem is clear.

from milvus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.