milvus icon indicating copy to clipboard operation
milvus copied to clipboard

[Bug]: no memory protection for proxy

Open congqixia opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Environment

- Milvus version: master & 2.3.4
- Deployment mode(standalone or cluster): both
- MQ type(rocksmq, pulsar or kafka):   any
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

when client search/query milvus with large concurrency and output has large vector of big dimension, proxy may crash with OOM

Expected Behavior

there shall be a memory protection for proxy component

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

congqixia avatar Jan 03 '24 11:01 congqixia

/assign @congqixia /unassign

yanliang567 avatar Jan 03 '24 11:01 yanliang567

is it because of large topk + nq + output field?

What kind of limitation will we set?

xiaofan-luan avatar Jan 04 '24 03:01 xiaofan-luan

is it because of large topk + nq + output field?

What kind of limitation will we set?

yes. when we test proxy performance with "infinite" querynode, when collection schema has large vector field, say 16384, and output fields contains vector field, proxy crashed due to OOM.

congqixia avatar Jan 04 '24 06:01 congqixia

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.

stale[bot] avatar Jun 15 '24 16:06 stale[bot]