doris icon indicating copy to clipboard operation
doris copied to clipboard

[Bug] BRPC Error

Open eleven-f opened this issue 1 year ago • 6 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Version

BE: doris-2.1.7-rc03-443e87e203

What's Wrong?

The following errors may be reported when querying, writing or deleting. occur more frequently! Error: 1105, 'errCode = 2, detailMessage = (192.168.2.105)[CANCELLED]failed to send brpc when exchange, error=Resource temporarily unavailable, error_text=[E11]Resource temporarily unavailable @192.168.2.101:8060, client: 192.168.2.105, latency = 843'

What You Expected?

What causes this problem? How can I avoid it?

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

eleven-f avatar Jan 08 '25 06:01 eleven-f

I've encountered the same situation as well.

stevqin avatar Jan 10 '25 04:01 stevqin

目前版本可以通过调小下面两个变量来缓解这个问题。

parallel_pipeline_task_num // 一个qurry的并发个数,如果为0则并发数为cpu核心的一半
parallel_exchange_instance_num //  显示一个query exchange后的并发个数

原因是brpc内部有个限制。

| EAGAIN         | 11   | 是    | 同时发送的请求过多。软限,很少出现。                       | Resource temporarily unavailable         |

Doris be 与 be 之间的exchange 是共用一个长连接。 而且上游的所有并发都会给下游的所有并发发送数据。(例如并发为n,则同时有n * n 个rpc请求 这导致并发比较高的情况下就很容易出现这个问题。

Mryange avatar Jan 24 '25 07:01 Mryange

+1 参数修改有人试过生效么?

LuGuangming avatar Mar 14 '25 10:03 LuGuangming

尝试过,只能说改善了一丢丢

eleven-f avatar Mar 17 '25 07:03 eleven-f

We're closing this issue because it hasn't been updated in a while. If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!

github-actions[bot] avatar Sep 14 '25 00:09 github-actions[bot]

doris 2.1.11版本,在arm环境上也遇到了同样的问题。

dgs511 avatar Mar 25 '26 01:03 dgs511