Commit Graph

1447 Commits (39e77fd086734863b6f23e2fc3e1d51eb68bfc3e)
 

Author SHA1 Message Date
spacewander 39e77fd086 feature: closed unused listening fds in worker processes.
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 eaxmple, considered 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.
6 years ago
Thibault Charbonnier 023b9d4f88 tests: updated sanity test suite to reflect recent changes in bumped components. 6 years ago
Thibault Charbonnier 8954793847 bumped resty-cli to v0.24rc1. 6 years ago
Thibault Charbonnier 0b5ebedd47 bumped ngx_http_lua to 0.10.15rc1, ngx_stream_lua to 0.0.7rc1, and lua-resty-core to 0.1.17rc1. 6 years ago
Thibault Charbonnier 7e897a8b2b upgraded LuaJIT to 2.1-20190329. 6 years ago
Yichun Zhang (agentzh) 99d72856a7 upgraded LuaJIT to 2.1-20190302. 6 years ago
Yichun Zhang (agentzh) ed32897702 bugfix: added an openssl patch to fix the parallel build regression in openssl 1.1.0j. 6 years ago
Yichun Zhang (agentzh) 083403fb43 win32: upgraded openssl to 1.1.0j. 6 years ago
Yichun Zhang (agentzh) eff3e0d7db bumped version to 1.15.8.1 RC1. 6 years ago
Thibault Charbonnier 88e214aad2 bumped LuaJIT to 2.1-20190228. 6 years ago
Thibault Charbonnier ec8f1b0753 bumped lua-resty-upstream-healthcheck to 0.06. 6 years ago
Thibault Charbonnier 191ca1fdec bumped resty-cli to 0.23. 6 years ago
Yichun Zhang (agentzh) e2ca65128f tests: updated tests to reflect recent changes. 6 years ago
Yichun Zhang (agentzh) 76cd3954e3 upgraded resty-cli to 0.23rc2. 6 years ago
Thibault Charbonnier f238a7542a bumped ngx_lua, ngx_stream_lua, and lua-resty-core to formal releases. 6 years ago
Thibault Charbonnier 95cfc25189 bumped resty-cli, lua-cjson, lua-resty-redis, lua-resty-limit-traffic, lua-resty-websocket, lua-resty-lock, and lua-resty-lrucache to formal release tags. 6 years ago
Yichun Zhang (agentzh) 0b956ca748 upgraded ngx_stream_lua to v0.0.6rc6. 6 years ago
Thibault Charbonnier 7630d23428 bumped ngx_lua to 0.10.14rc7 and lua-resty-shell to 0.02. 6 years ago
Thibault Charbonnier 60589ee251 upgraded LuaJIT to 2.1-20190221. 6 years ago
Thibault Charbonnier 94d0e8ed52 tests: bumped ngx_lua and removed lua-resty-shell/lua-resty-signal from windows builds to reflect recent changes. 6 years ago
Yichun Zhang (agentzh) 892a001f4a upgraded ngx_lua to 0.10.14rc6. 6 years ago
Yichun Zhang (agentzh) 4cb86c999c bugfix: lua-resty-signal and lua-resty-shell should not be enabled on windows. 6 years ago
Thibault Charbonnier b84a47de27 travis: added travis-ci support. 6 years ago
Thibault Charbonnier 73c881bddf tests: added support for `--- out_like` blocks. 6 years ago
Thibault Charbonnier 72962e0125 bugfix: we now build lua-resty-signal's shared lib component. 6 years ago
Thibault Charbonnier 2e7e51e649 feature: bundled the lua-resty-signal and lua-resty-shell libraries. 6 years ago
Thibault Charbonnier 06468602b9 tests: bumped ngx_lua, ngx_stream_lua, and LuaJIT references according to recent changes. 6 years ago
Thibault Charbonnier 7639fe0dba upgraded ngx_stream_lua to 0.0.6rc5. 7 years ago
Thibault Charbonnier 00a89c4b2d upgraded ngx_lua to 0.10.14rc5. 7 years ago
Yichun Zhang (agentzh) 0964e437bd upgraded LuaJIT to 2.1-20190131. 7 years ago
Yichun Zhang (agentzh) 4dc7d668cc upgraded LuaJIT to v2.1-20190130. 7 years ago
Thibault Charbonnier c3b7c3b1b9 upgraded ngx_lua to 0.10.14rc4, ngx_stream_lua to 0.0.6rc4, and lua-resty-core to 0.1.16rc4. 7 years ago
Thibault Charbonnier 3f42731e50
change: we now enable the GC64 mode by default in our bundled LuaJIT build for x86_64 architectures; this can be disabled with ./configure --without-luajit-gc64. 7 years ago
spacewander 2879e59e7b feature: updated the socket_cloexec patches to support the ngx.pipe API.
Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
7 years ago
Thibault Charbonnier 3c053fff33 tests: bumped lua-cjson references to 2.1.0.7rc2. 7 years ago
Thibault Charbonnier 7b290a582f feature: bundled the lua-tablepool library. 7 years ago
Thibault Charbonnier b5d0128311 upgraded lua-cjson to 2.1.0.7rc2. 7 years ago
Yichun Zhang (agentzh) f56ee1ecd8 updated the tests to reflect recent changes. 7 years ago
Yichun Zhang (agentzh) 8c8d51663e upgraded the nginx core 1.15.8. 7 years ago
Yichun Zhang (agentzh) 97e580a851 upgraded LuaJIT+ to v2.1-20190115. 7 years ago
Thibault Charbonnier 1c11dfa811 doc: updated the copyright year to 2019. 7 years ago
Yichun Zhang (agentzh) e70dfd0fac upgraded resty-cli to 0.22rc7. 7 years ago
Yichun Zhang (agentzh) 8cf0d9b097 upgraded resty-cli to 0.22rc6. 7 years ago
Yichun Zhang (agentzh) e2cb54c1ba upgraded resty-cli to 0.22rc5. 7 years ago
Yichun Zhang (agentzh) 2cfd8e5f04 feature: ./configure: added support for the -h option. 7 years ago
Yichun Zhang (agentzh) c441759ce3 make sure we also remove .tar.bz2 files. thanks Zexuan Luo for the patch. 7 years ago
Yichun Zhang (agentzh) 03f09b5c25 upgraded ngx_lua to 0.10.14rc3, ngx_stream_lua to 0.0.6rc3, and lua-resty-core to 0.1.16rc3. 7 years ago
Yichun Zhang (agentzh) b91001a87e upgraded the nginx core to 1.15.6. 7 years ago
Yichun Zhang (agentzh) 2d5699cfe5 fixed bugs in dist-check. 7 years ago
Yichun Zhang (agentzh) 71b9f46595 upgraded ngx_lua to 0.10.14rc2. 7 years ago