Mercurial > hg > nginx-site
diff xml/en/docs/ngx_core_module.xml @ 545:e97b46d1842d
Documented the "worker_connections" directive.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 21 Jun 2012 10:58:32 +0000 |
parents | a8daad8e83bb |
children | ccb7451af1d8 |
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml +++ b/xml/en/docs/ngx_core_module.xml @@ -331,6 +331,29 @@ that of <value>user</value> is used. </directive> +<directive name="worker_connections"> +<syntax><value>number</value></syntax> +<default>512</default> +<context>events</context> + +<para> +Sets the maximum number of simultaneous connections that +can be opened by a worker process. +</para> + +<para> +It should be kept in mind that this number includes all connections +(e.g. connections with proxied servers, among other things), +not only connections with clients. +Another consideration is that the actual number of simultaneous +connections may not exceed the current limit on +the maximum number of open files, see +<link id="worker_rlimit_nofile"/>. +</para> + +</directive> + + <directive name="worker_cpu_affinity"> <syntax><value>cpumask</value> ...</syntax> <default/>