Mercurial > hg > nginx-site
changeset 749:2abb92a19101
Documented 'worker_aio_requests' directive.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 31 Oct 2012 11:11:12 +0000 |
parents | 95344046d2d8 |
children | 6a1b1ba62cab |
files | xml/en/docs/ngx_core_module.xml xml/ru/docs/ngx_core_module.xml |
diffstat | 2 files changed, 34 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml +++ b/xml/en/docs/ngx_core_module.xml @@ -10,7 +10,7 @@ <module name="Core functionality" link="/en/docs/ngx_core_module.html" lang="en" - rev="3"> + rev="4"> <section id="example" name="Example Configuration"> @@ -462,6 +462,22 @@ that of <value>user</value> is used. </directive> +<directive name="worker_aio_requests"> +<syntax><value>number</value></syntax> +<default>32</default> +<context>events</context> + +<para> +When using <link doc="http/ngx_http_core_module.xml" id="aio"/> +with the <link doc="../docs/events.xml" id="epoll"/> +connection processing method, sets the maximum <value>number</value> of +outstanding asynchronous I/O operations +for a single worker process. +</para> + +</directive> + + <directive name="worker_connections"> <syntax><value>number</value></syntax> <default>512</default>
--- a/xml/ru/docs/ngx_core_module.xml +++ b/xml/ru/docs/ngx_core_module.xml @@ -10,7 +10,7 @@ <module name="Основная функциональность" link="/ru/docs/ngx_core_module.html" lang="ru" - rev="3"> + rev="4"> <section id="example" name="Пример конфигурации"> @@ -459,6 +459,22 @@ nginx сам выбирает наиболее эффективный метод. </directive> +<directive name="worker_aio_requests"> +<syntax><value>число</value></syntax> +<default>32</default> +<context>events</context> + +<para> +При использовании <link doc="http/ngx_http_core_module.xml" id="aio"/> +совместно с методом обработки соединений +<link doc="../docs/events.xml" id="epoll"/>, +задаёт максимальное <value>число</value> ожидающих обработки операций +асинхронного ввода-вывода для одного рабочего процесса. +</para> + +</directive> + + <directive name="worker_connections"> <syntax><value>число</value></syntax> <default>512</default>