@@ -558,10 +558,30 @@ appRoot=C:\Program Files\MyApplications\AppRoot
558558
559559 <dd>Every session is mapped a dedicated process, allowing maximal
560560 session isolation, but at an increased session cost. This is
561- not supported by the ISAPI connector. Note: when using the
562- <tt>wthttp</tt> adapter, this will create a listening socket
563- on the loopback interface (<tt>127.0.0.1</tt>) for every session,
564- with the parent process acting as a proxy.</dd>
561+ not supported by the ISAPI connector. Note: when using the
562+ <tt>wthttp</tt> adapter, this will create a listening socket
563+ on the loopback interface (<tt>127.0.0.1</tt>) for every session,
564+ with the parent process acting as a proxy. The following options
565+ can be put in the <b><dedicated-process></b> subsection.
566+ <dl>
567+
568+ <dt><strong>max-num-sessions</strong></dt>
569+ <dd>
570+ Limits the amount of session processes.
571+ </dd>
572+
573+ <dt><strong>num-session-threads</strong></dt>
574+ <dd>
575+ Usually the dedicated session processes uses the same amount
576+ of threads as the parent process. This option changes the
577+ amount of threads the session processes use independently of
578+ the parent process. When this option is set the
579+ <strong>num-threads</strong> configuration option and the <strong>-t</strong>
580+ command line argument will only affect the parent process.
581+ </dd>
582+
583+ </dl>
584+ </dd>
565585
566586 <dt><strong>shared-process</strong></dt>
567587
@@ -639,6 +659,12 @@ appRoot=C:\Program Files\MyApplications\AppRoot
639659 request will result in a WApplication::requestTooLarge() signal.
640660 </dd>
641661
662+ <dt><strong>num-threads</strong></dt>
663+
664+ <dd>Sets the number of threads to be used to handle %Wt traffic.
665+ Depending on your application, you may want to increase the
666+ default size of 10 threads. </dd>
667+
642668 <dt><strong>session-id-length</strong></dt>
643669
644670 <dd>The length (in number of characters) for the unique session ID.</dd>
@@ -918,14 +944,6 @@ Settings may be set in the configuration file /etc/wt/wthttpd
918944 are specified inside a <b><connector-isapi></b> subsection.
919945
920946 <dl>
921- <dt><strong>num-threads</strong></dt>
922-
923- <dd>Sets the number of threads to be used to handle %Wt traffic. The
924- connector will never use IIS threads to do any processing, but will
925- forward the requests to a thread pool of the size given in this variable.
926- Depending on your application, you may want to increase the default size
927- of 10 threads.</dd>
928-
929947 <dt><strong>max-memory-request-size</strong></dt>
930948
931949 <dd>Every HTTP request whose size is smaller than this parameter will
0 commit comments