MarkLogic 9 Product Documentation
Task Server Configuration Help
The
Task Server
is an App Server that is used to process requests that have been
spawned. Spawned requests can originate from the
xdmp:spawn
command or from a post-commit trigger
action (for example, as the result of a document running through
a pipeline in the Content Processing Framework).
-
threads
specifies the maximum number of App Server threads.
-
max time limit
specifies the upper bound for any request's time limit.
No request may set its time limit (for example with
xdmp:set-request-time-limit
) higher than this number.
The time limit, in turn, is the maximum number of seconds allowed for
servicing a query request. The App Server gives up on queries which
take longer, and returns an error.
-
default
time limit
specifies the default value for any request's time limit,
when otherwise unspecified.
A request can change its time limit using
xdmp:set-request-time-limit
.
The time limit, in turn, is the maximum number of seconds allowed for
servicing a query request. The App Server gives up on queries which
take longer, and returns an error.
-
queue size
specifies the maximum number of tasks that are allowed to be kept
waiting for processing threads.
-
pre-commit trigger
limit specifies the maximum number of pre-commit triggers
a single statement against this App Server can invoke.
-
post-commit trigger
depth specifies the maximum depth (how many triggers can
cause other triggers to fire, which in turn cause others to
fire, and so on) for post-commit triggers that are executed
against the Task Server.
-
pre-commit trigger
depth specifies the maximum depth (how many triggers can
cause other triggers to fire, which in turn cause others to
fire, and so on) for pre-commit triggers that are executed
against this App Server.
-
log-errors
specifes whether to log uncaught errors for this App Server to the
ErrorLog.txt
file. This is useful to log exceptions
that might occur on an App Server for later debugging.
-
debug-allow
specifies whether to allow requests against this App Server to be
stopped for debugging, using the MarkLogic Server debugging APIs.
-
profile-allow
specifies whether to allow requests against this App Server to be
profiled, using the MarkLogic Server profiling APIs.
Buttons and Tabs:
- The
Status
tab displays current information on the Task Server, including
the number of tasks waiting in the queue and the number of requests
currently running.