mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
![]() 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. |
||
---|---|---|
.. | ||
ngx_aio_module.c | ||
ngx_devpoll_module.c | ||
ngx_epoll_module.c | ||
ngx_eventport_module.c | ||
ngx_iocp_module.c | ||
ngx_iocp_module.h | ||
ngx_kqueue_module.c | ||
ngx_poll_module.c | ||
ngx_rtsig_module.c | ||
ngx_select_module.c | ||
ngx_win32_select_module.c |