Welcome! Log In Create A New Profile

Advanced

listen backlog for stream servers

Dmitry Krikov
June 05, 2015 08:26AM
Hi,

Listen backlog in Nginx defaults to NGX_LISTEN_BACKLOG=511 on Linux & other platforms (excepting FreeBSD & MacOS), not to system somaxconn (why does it differ for different OSes?).

It’s not a problem to increase it using «backlog» option of «listen» directive for HTTP servers (http://nginx.org/en/docs/http/ngx_http_core_module.html#listen),
but there is no such option for stream server (http://nginx.org/en/docs/stream/ngx_stream_core_module.html#listen).

Is there any proper way to increase listen queue length for stream server (without patching source code) or globally? Seems to be a subject to fix.

--
Best Regards,
Dmitry Krikov








_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

listen backlog for stream servers

Dmitry Krikov June 05, 2015 08:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready