openresty/t
spacewander cf7516fcbc optimize: added an NGINX core patch to ensure unused listening fds are closed when 'reuseport' is used.
When `reuseport` is enabled in the `listen` directive, Nginx will create
a listening fd for each worker process in the master process.

These fds will be inherited by the worker processes, but most of them
are unused. For example, considering we have 32 listening ip:port
configurations and 64 worker processes, each worker process will inherit
2048 (32 * 64) listening fds, but only 32 fds are used. By closing the
unused fds, this change could save up to 2016 (32 * 63) fds in a worker
process.

It doesn't affect the listening socket, since there is only one used fd
which associates to the socket with or without this change.

Co-authored-by: Thibault Charbonnier <thibaultcha@me.com>
2019-08-05 18:54:51 -07:00
..
001-resolver.t test: fixed test failure due to NGINX core change introduced in 1.15.1 2018-11-01 20:48:02 -07:00
002-reuseport-close-unused-fds.t optimize: added an NGINX core patch to ensure unused listening fds are closed when 'reuseport' is used. 2019-08-05 18:54:51 -07:00
Config.pm bugfix: Config.pm: fixed an issue when generating t/sanity.t_. 2019-05-30 14:52:10 -07:00
sanity.t upgraded the nginx core to 1.17.1. 2019-07-11 11:29:40 -07:00