# HG changeset patch # User Andrey Belov # Date 1350983490 0 # Node ID 46d70031bea9f09d224ac7e37b0dcf08ec53018a # Parent 89a4b7e22e24ec362c244f565b35cdeab8e769cd Documented the recently added "auto" parameter of the "worker_processes" directive. diff -r 89a4b7e22e24 -r 46d70031bea9 xml/en/docs/ngx_core_module.xml --- a/xml/en/docs/ngx_core_module.xml Tue Oct 23 06:51:36 2012 +0000 +++ b/xml/en/docs/ngx_core_module.xml Tue Oct 23 09:11:30 2012 +0000 @@ -10,7 +10,7 @@ + rev="2">
@@ -546,7 +546,7 @@ -number +number | auto 1 main @@ -559,7 +559,8 @@ limited to) the number of CPU cores, the number of hard disk drives that store data, and load pattern. When in doubt, setting it to the number of available CPU cores -would be a good start. +would be a good start (the value “auto” +will try to autodetect it). diff -r 89a4b7e22e24 -r 46d70031bea9 xml/ru/docs/ngx_core_module.xml --- a/xml/ru/docs/ngx_core_module.xml Tue Oct 23 06:51:36 2012 +0000 +++ b/xml/ru/docs/ngx_core_module.xml Tue Oct 23 09:11:30 2012 +0000 @@ -10,7 +10,7 @@ + rev="2">
@@ -544,7 +544,7 @@ -число +число | auto 1 main @@ -557,7 +557,9 @@ (но не ограничиваясь ими) число процессорных ядер, число жёстких дисков с данными и картину нагрузок. Если затрудняетесь в выборе правильного значения, можно начать -с установки его равным числу процессорных ядер. +с установки его равным числу процессорных ядер +(значение “auto” пытается определить его +автоматически).