MarkLogic Server 11.0 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 on each host in the group;
the server may also additionally limit 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 is the default number of seconds allowed for
servicing a query request.
-
max inference size
specifies the upper bound for any request's inference size.
No request may set its inference size higher than this number.
The inference size, in turn, is the maximum amount of memory in megabytes
allowed for sem:store performing inference. The App Server gives up on queries which
exceed the memory limit, and returns an error.
-
default inference size
specifies the default value for any request's inference size.
-
queue size
specifies the maximum number of tasks that are allowed to be kept
waiting for processing threads on each host in the group.
-
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.
-
file log
level specifies the minimum log level for log messages
sent to the MarkLogic Server log file (
ErrorLog.txt
).
-
opsdirector log
level specifies the minimum log level of the current server
for application log messages sent to Ops Director. This item is
greyed out if the cluster is not managed by Ops Director.
-
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.
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.