Mercurial > hg > nginx-site
comparison xml/en/docs/ngx_core_module.xml @ 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 | 05e58829de2e |
children | 0f43f2c32c0b |
comparison
equal
deleted
inserted
replaced
225:46ef98b7513f | 226:c4b33b07dcfe |
---|---|
289 | 289 |
290 <para> | 290 <para> |
291 Defines the number of worker processes. | 291 Defines the number of worker processes. |
292 </para> | 292 </para> |
293 | 293 |
294 <para> | |
295 The optimal value depends on many factors including (but not | |
296 limited to) the number of CPU cores, the number of hard disk | |
297 drives that store data, and load pattern. | |
298 When in doubt, setting it to the number of available CPU cores | |
299 would be a good start. | |
300 </para> | |
301 | |
294 </directive> | 302 </directive> |
295 | 303 |
296 | 304 |
297 <directive name="worker_rlimit_core"> | 305 <directive name="worker_rlimit_core"> |
298 <syntax><argument>size</argument></syntax> | 306 <syntax><argument>size</argument></syntax> |