You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/03/03 10:45:27 UTC

[GitHub] [incubator-brpc] lifeiyang edited a comment on issue #1346: brpc 作为client 访问grpc server 返回Err=[E2004] remote_window_left is not enough

lifeiyang edited a comment on issue #1346:
URL: https://github.com/apache/incubator-brpc/issues/1346#issuecomment-789618396


   > 是因为_remote_window_left的初始值是MAX_WINDOW_SIZE,这个fetch_sub是把初始值恢复到DEFAULT_INITIAL_WINDOW_SIZE。
   > 
   > 改完grpc server的配置后再看看你之前贴图里面的H2Context { remote_setting =...} 有没有生效,否则再检查一下有没有正确设置,用grpc-go的话,需要设置两个变量。
   
   server端使用的是grpc-c, 那边通过常量修改stream_window_size为1GB,观察remote_window_left值,还是只有几十KB, 如下图所示:
   ![image](https://user-images.githubusercontent.com/3754939/109794193-93925200-7c50-11eb-8258-37e6285cf9e6.png)
   
   下一步调整哪些参数或者逻辑能让remote_window_left继续增大呢?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org