rno,
"setrlimit(RLIMIT_NOFILE, %i) failed",
ccf->rlimit_nofile);
+} else {
+ngx_max_sockets = ccf->rlimit_nofile;
}
}
___
nginx-devel mailing list
nginx-d
# HG changeset patch
# User Andrey Kolyshkin
# Date 1555075759 -10800
# Fri Apr 12 16:29:19 2019 +0300
# Node ID 549f07c848d82ef152ed54f31b25dcfe89452a66
# Parent 5155d0296a5ef9841f035920527ffdb771076b44
Avoid multiple bind for the same address during config test
If reuseport is specified
Hi!
ngx_http_time() is called once per request and it call a heavy
ngx_sprintf() function.
Why not cache the output for one second (resolution of time_t)?
I find nice time caching framework on ngx_times.c, with slots and memory
barriers, but ngx_http_time() is not using it for some reason
Hi,
While researching nginx, I found that there are a lot of dead code, mostly
in ngx_event_accept.c
One of those blocks:
if (ngx_event_flags NGX_USE_RTSIG_EVENT) {
ev-available = 1;
} else if (!(ngx_event_flags NGX_USE_KQUEUE_EVENT)) {
ev-available = ecf-multi_accept
Well, please apply the proper patch.
It will also speeds up building on Linux, because rt signals (and
included sysctl.h) are very rare nowadays.
Yes, that's fine. But you placed the include added before
semaphore.h instead of adding it to other event method related
includes. I mean to do