Skip to content
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

[QUESTION]: how to set clientMaxSendSize/clientMaxRecvSize #2542

Open
1 task done
haf-tech opened this issue Jan 5, 2025 · 3 comments
Open
1 task done

[QUESTION]: how to set clientMaxSendSize/clientMaxRecvSize #2542

haf-tech opened this issue Jan 5, 2025 · 3 comments
Labels
kind/question A question to answer

Comments

@haf-tech
Copy link

haf-tech commented Jan 5, 2025

Is there an existing issue for this?

  • I have searched the existing issues

What is your question?

How to set one of the following parameters clientMaxRecvSize or clientMaxSendSize, while using MilvusClient (from MilvusVectorStore, the LlamaIndex integration)

Intention is to solve the current issue:

run_pipeline: unexptected error occurred: err=<AioRpcError of RPC that terminated with:
        status = StatusCode.RESOURCE_EXHAUSTED
        details = "Received message larger than max (335498010 vs. 268435456)"
        debug_error_string = "UNKNOWN:Error received from peer unix:/var/folders/xn/4gqtx0wx3lb2yfvlkt9r8xz80000gn/T/tmp4h95t8sy_docling.db.sock {created_time:"2025-01-05T20:16:59.296208+01:00", grpc_status:8, grpc_message:"Received message larger than max (335498010 vs. 268435456)"}"

thinking to set (proxy.grpc.)clientMaxSendSize or (proxy.grpc.)clientMaxRecvSize, but not clear how and where - because the milvus.yaml configuration file is not used in such scenarios.

thanks for any hint.

Anything else?

No response

@haf-tech haf-tech added the kind/question A question to answer label Jan 5, 2025
@XuanYang-cn
Copy link
Contributor

@haf-tech PyMilvus already set the receive/send msgSize to infinitive

(cygrpc.ChannelArgKey.max_send_message_length, -1),

Please refer to Milvus repository about how to set milvus.yaml:
image

Doc: https://milvus.io/docs/configure_proxy.md#proxygrpcserverMaxSendSize

@haf-tech
Copy link
Author

haf-tech commented Jan 6, 2025

@XuanYang-cn yes correctly, I would like to change the value, to a higher one. How is it possible to change this one, in the case that changing this milvus.yaml is not an option

@XuanYang-cn
Copy link
Contributor

@haf-tech I believe this is what you're looking for:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question A question to answer
Projects
None yet
Development

No branches or pull requests

2 participants