You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/14 02:45:52 UTC

[GitHub] [incubator-doris] imay commented on a change in pull request #1638: Make Netty SO_BACKLOG configurable

imay commented on a change in pull request #1638: Make Netty SO_BACKLOG configurable
URL: https://github.com/apache/incubator-doris/pull/1638#discussion_r313685761
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/common/Config.java
 ##########
 @@ -215,6 +215,14 @@
      * Currently, all FEs' http port must be same.
      */
     @ConfField public static int http_port = 8030;
+
+    /*
+     * The backlog_num for netty http server
+     * When you enlarge this backlog_num, you should ensure it's value larger than
+     * the linux /proc/sys/net/core/somaxconn config
+     */
+    @ConfField public static int http_backlog_num = 128;
 
 Review comment:
   ```suggestion
       @ConfField public static int http_backlog_num = 1024;
   ```
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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