Difference between revisions of "Ns pools"

From AOLserver Wiki
Jump to navigation Jump to search
(New page: <manpage>ns_startcontent</manpage> '''NAME''' : ns_pools - Set connection to streaming state for streaming content via ns_write '''SYNOPSIS''' : '''ns_pools''' ''option ?arg arg ...?''...)
 
Line 11: Line 11:
 
'''DESCRIPTION'''
 
'''DESCRIPTION'''
  
: This command enables configuration of one or more
+
: This command enables configuration of one or more pools of connection processing threads. The pools allow certain requests to be handled by specific threads. This could, for example, ensure multiple long running requests don't block other short running requests. Pools are selected based on method/url pairs similar to the mappings managed by the [[ns_register_proc]] command. By default, all requests
pools of connection processing threads. The pools allow
+
are handled by a single, unlimited, "default" pool. There is also an "error" pool as described below. Coupled with the [[ns_limits]] command, pools can provide for sophisticated resource management.
certain requests to be handled by specific threads. This
 
could, for example, ensure multiple long running requests
 
don't block other short running requests. Pools are selected
 
based on method/url pairs similar to the mappings managed
 
by the [[ns_register_proc]] command. By default, all requests
 
are handled by a single, unlimited, "default" pool. There
 
is also an "error" pool as described below. Coupled with
 
the [[ns_limits]] command, pools can provide for sophisticated
 
resource management.
 
  
 
: This command can be used to set to retrieve various pieces of information about a pool configuration.
 
: This command can be used to set to retrieve various pieces of information about a pool configuration.
Line 28: Line 19:
 
: The legal ''option''s (which may be abbreviated) are:
 
: The legal ''option''s (which may be abbreviated) are:
  
* '''ns_pools set''' ''poolname ?-maxthreads maxt? ?-minthreads mint? ?-maxconns maxc? ?-timeout t? ?-spread s?''
+
* '''ns_pools set''' ''poolname'' ''?'' '''-maxthreads''' ''maxt?'' ?-minthreads mint? ?-maxconns maxc? ?-timeout t? ?-spread s?''
  
 
: Configure the specified pool with the given values
 
: Configure the specified pool with the given values

Revision as of 09:37, 30 January 2009

<manpage>ns_startcontent</manpage>

NAME

ns_pools - Set connection to streaming state for streaming content via ns_write

SYNOPSIS

ns_pools option ?arg arg ...?

DESCRIPTION

This command enables configuration of one or more pools of connection processing threads. The pools allow certain requests to be handled by specific threads. This could, for example, ensure multiple long running requests don't block other short running requests. Pools are selected based on method/url pairs similar to the mappings managed by the ns_register_proc command. By default, all requests

are handled by a single, unlimited, "default" pool. There is also an "error" pool as described below. Coupled with the ns_limits command, pools can provide for sophisticated resource management.

This command can be used to set to retrieve various pieces of information about a pool configuration.


The legal options (which may be abbreviated) are:
  • ns_pools set poolname ? -maxthreads maxt? ?-minthreads mint? ?-maxconns maxc? ?-timeout t? ?-spread s?
Configure the specified pool with the given values

EXAMPLES

ns_startcontent -type "text/html; charset=[ns_config ns/parameters OutputCharset iso-8859-1]"

SEE ALSO

ns_limits