mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 13:59:00 +08:00
c8df23cb29
The default value is 32 AIO simultaneous requests per worker. Previously they were hardcoded to 1024, and it was too large, since Linux allocated them early on io_setup(), but not on request itself. So with default value of /proc/sys/fs/aio-max-nr equal to 65536 only 64 worker processes could be run simultaneously. 32 AIO requests are enough for modern disks even if server runs only 1 worker. |
||
---|---|---|
.. | ||
modules | ||
ngx_event_accept.c | ||
ngx_event_acceptex.c | ||
ngx_event_busy_lock.c | ||
ngx_event_busy_lock.h | ||
ngx_event_connect.c | ||
ngx_event_connect.h | ||
ngx_event_connectex.c | ||
ngx_event_mutex.c | ||
ngx_event_openssl.c | ||
ngx_event_openssl.h | ||
ngx_event_pipe.c | ||
ngx_event_pipe.h | ||
ngx_event_posted.c | ||
ngx_event_posted.h | ||
ngx_event_timer.c | ||
ngx_event_timer.h | ||
ngx_event.c | ||
ngx_event.h |