comparison 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
comparison
equal deleted inserted replaced
544:1507ec5ba69a 545:e97b46d1842d
329 </para> 329 </para>
330 330
331 </directive> 331 </directive>
332 332
333 333
334 <directive name="worker_connections">
335 <syntax><value>number</value></syntax>
336 <default>512</default>
337 <context>events</context>
338
339 <para>
340 Sets the maximum number of simultaneous connections that
341 can be opened by a worker process.
342 </para>
343
344 <para>
345 It should be kept in mind that this number includes all connections
346 (e.g. connections with proxied servers, among other things),
347 not only connections with clients.
348 Another consideration is that the actual number of simultaneous
349 connections may not exceed the current limit on
350 the maximum number of open files, see
351 <link id="worker_rlimit_nofile"/>.
352 </para>
353
354 </directive>
355
356
334 <directive name="worker_cpu_affinity"> 357 <directive name="worker_cpu_affinity">
335 <syntax><value>cpumask</value> ...</syntax> 358 <syntax><value>cpumask</value> ...</syntax>
336 <default/> 359 <default/>
337 <context>main</context> 360 <context>main</context>
338 361