milvus: [Bug]: Hanging when executing collection.search function
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version:v2.0.0rc8
- Deployment mode(standalone or cluster):standalone
- SDK version(e.g. pymilvus v2.0.0rc2):v2.0.0rc8
- OS(Ubuntu or CentOS): Ubuntu
- CPU/Memory: 8*16G
- GPU: none
- Others: none
Current Behavior
Hanging when executing collection.search function
Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
There are 426480 vectors in the collection, each vector is 13560 dimensions.
test.py
connections.connect(host=‘xxxxxx’, port=‘19530’) print(connections.list_connections())
collection = Collection(“npyData”) print(collection.is_empty) print(collection.num_entities)
collection.load() print(“start serach”) topK = 1 vector = [[random.random() for _ in range(15360)]] search_params = {“metric_type”: “L2”, “params”: {“nprobe”: 10}} field = [“id”, “utm_x”, “utm_y”, “z”, “yall”, “roll”, “pitch”, “s2code”] res = collection.search(vector, “float_vector”, search_params, topK, “id > 0”, output_fields=field) print(res)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 25 (11 by maintainers)
Hi, Same issue here. Kind of related to #9689. Search is hanging even for hours. I can’t search anything again until I reinstall Milvus and build a new collection. Can we mark this as urgent?