diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-09-20 07:30:09 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-09-20 07:30:09 +0000 |
commit | c8df23cb29146c1dfca82141e19b1049b1fc1011 (patch) | |
tree | b55c3a854d9d592aae14eecaa9807f5679219dc9 /src/http/modules/ngx_http_fastcgi_module.c | |
parent | a823c550e45bb653c5d660cceaea3f153b3b28e8 (diff) | |
download | nginx-c8df23cb29146c1dfca82141e19b1049b1fc1011.tar.gz nginx-c8df23cb29146c1dfca82141e19b1049b1fc1011.zip |
The "worker_aio_requests" directive.
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.
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
0 files changed, 0 insertions, 0 deletions