连接到ZDM代理时出现以下错误。
time="2023-06-15T00:31:56Z" level=warning msg="Refusing client connection from XX.XXX.XXX.XX:43498 because max clients threshold has been hit (1000)."
time="2023-06-15T00:31:56Z" level=warning msg="Refusing client connection from XX.XXX.XXX.XX:43408 because max clients threshold has been hit (1000)."
time="2023-06-15T00:31:57Z" level=warning msg="Could not find request context for stream id -1 received from TARGET-CONNECTOR. It either timed out or a protocol error occurred."
是什么原因导致了此错误?
1条答案
按热度按时间lqfhib0f1#
似乎已经达到“最大客户端阈值”,这意味着代理将停止接受新的客户端连接。
默认值为500或1000,具体取决于ZDM版本。您可以在
vars/proxy_advanced_config_input.yml
中增加它并更改zdm_proxy_max_clients_connections
。https://github.com/datastax/zdm-proxy-automation/blob/f4a0964708b9b73c04e4bf4484c65ac1dd5c829f/ansible/vars/zdm_proxy_advanced_config.yml#LL8C2-L8C35