You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/05/07 16:13:55 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #3488: [Config] allow user to config BRPC socket_max_unwritten_bytes

morningman commented on a change in pull request #3488:
URL: https://github.com/apache/incubator-doris/pull/3488#discussion_r420808809



##########
File path: be/src/common/config.h
##########
@@ -488,8 +488,10 @@ namespace config {
     // Valid configs: ALPHA, BETA
     CONF_String(default_rowset_type, "ALPHA");
 
-    // brpc config, 200M
+    // Maximum size of a single message body in all protocols
     CONF_Int64(brpc_max_body_size, "209715200")
+    // Max unwritten bytes in each socket, if the limit is reached, Socket.Write fails with EOVERCROWDED
+    CONF_Int64(brpc_socket_max_unwritten_bytes, "67108864")

Review comment:
       If this value is set large, eg, 200MB, by default, are there any side effects?




----------------------------------------------------------------
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org