> 1. System parameters:

We can write it in the user installation manual.

> 2. nginx.conf:

How about changing the default value of `backlog` to 512?

According to the current hardware and network, this value is better.


On Wed, Apr 15, 2020 at 3:56 PM hui li <[email protected]> wrote:

> APISIX backlog is currently the default value(Usually 128), and it is prone
> to packet loss in the listen queue and semi-link queue in large concurrent
> scenarios.
>
> APISIX is based on nginx. The backlog value of nginx is determined by two
> system configurations and one configuration value in nginx.conf:
> 1. System parameters:
> sysctl net.ipv4.tcp_max_syn_backlog
> sysctl net.core.somaxconn
> 2. nginx.conf:
> default_server backlog
>
> How to check the backlog size of APISIX process?
> Use the 'ss -lnt' command
>


-- 
*MembPhis*
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

Reply via email to