Mercurial > hg > nginx-site
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 Tue Dec 06 08:01:35 2011 +0000 +++ b/xml/en/docs/ngx_core_module.xml Tue Dec 06 17:19:19 2011 +0000 @@ -291,6 +291,14 @@ 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>