changeset 226:c4b33b07dcfe

Added some basic hints on how to tune "worker_processes".
author Ruslan Ermilov <ru@nginx.com>
date Tue, 06 Dec 2011 17:19:19 +0000
parents 46ef98b7513f
children 8fead61b7b03
files xml/en/docs/ngx_core_module.xml
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml
+++ b/xml/en/docs/ngx_core_module.xml
@@ -291,6 +291,14 @@ worker_priority -10;
 Defines the number of worker processes.
 </para>
 
+<para>
+The optimal value depends on many factors including (but not
+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.
+</para>
+
 </directive>