This topic lists all the configuration directives for Zend Job Queue Daemon.
The table below is a summary of all the Zend Job Queue Daemon configuration directives, and displays the directive name, its default value, and a description:
Directive |
Default Value |
Description |
4 |
The maximum number of HTTP based jobs which can be executed simultaneously by a single serve. Or, in a clustered environment - by the entire cluster. |
|
7 |
The maximum time (in days) a completed, failed or removed job is kept in database. |
|
0 |
The maximum time (in days) a failed job is kept in database. If it is not set - the 'history' value is used. |
|
3600 |
Number of seconds the daemon keeps inactive connection from client. |
|
30 |
Number of seconds the daemon tries to read request from client. |
|
30 |
Number of seconds the daemon tries to deliver response to client. |
|
30 |
Number of seconds the daemon tries to establish a connection with a back-end server. |
|
120 |
Number of seconds a URL-based job must be completed in. |
|
200 |
The minimal number of milliseconds between job startups. |
|
10 |
Number of retries for failed HTTP jobs. |
|
1 |
The number of seconds between retries for failed HTTP jobs. |
|
0 |
Report an event when the Job Queue Daemon reaches a margin between the number of running jobs and the maximum allowed. |
|
120 |
Report an event when a job exceeds its defined execution time. |
|
64 |
The maximum message size the daemon can accept from the extension. |
|
2 |
The Log's verbosity level. |
|
10 |
The maximum size of the log file before it is rotated. |
|
1 |
Whether to store job output in DB. If set to '0', no job output is stored. |
|
1024 |
Size in KB of maximal job output size to store in DB. |
|
2000 |
DB disk pages (SQLite only). |
|
0 |
Whether to run vacuum on the DB file after jobs cleanup (SQLite only). |
|
* |
List of queue names for which the daemon should execute jobs. |
|
10 |
Time limit to remain idle when there are no jobs to execute. |
|
0 |
The interval in which daemons update their status and check status of other daemons. 0 will disable the feature. |
|
60 |
Recover jobs of daemons whose status is outdated by the time period given by the directive. |
|
1024 |
Maximum DB space for completed jobs data. |
|
1024 |
Maximum DB space for failed jobs data. |
|
GLOBAL_DIRECTIVES_INI_FILE |
Global Directives ini file. |
|
0 |
Enable support for HTTPS jobs |
|
1 |
Whether to validate ssl errors on job requests |
The list below contains information for all the available configuration directives for Zend Job Queue Daemon: their description, type, units, default value, modification scope, and the Zend Server version they became available in.
The maximum number of HTTP based jobs which can be executed simultaneously by a single serve. Or, in a clustered environment - by the entire cluster.
Default Value: 4
Type: int
Available Since Version: 5.0
The maximum time (in days) a completed, failed or removed job is kept in database. If no directive is provided, time is unlimited and jobs are never deleted. Other than this directive, setting jobs may be kept forever by also using the "persistent" option. Set to 0 to disable cleanups.
Default Value: 7
Units: days
Type: int
Available Since Version: 5.0
The maximum time (in days) a failed job is kept in database. If it is not set - the 'history' value is used. Set to 0 to disable cleanups.
Default Value: 0
Units: days
Type: int
Available Since Version: 5.0
Number of seconds the daemon keeps inactive connection from client. If the client does not send any request during this time, the daemon closes the client's connection (default 3600 seconds = 1 hour).
Default Value: 3600
Type: int
Available Since Version: 5.0
Number of seconds the daemon tries to read request from client. If the client does not respond during this time, daemon closes the client's connection (default 10 seconds).
Default Value: 30
Type: int
Available Since Version: 5.0
Number of seconds the daemon tries to deliver response to client. If the client does not respond during this time, daemon closes the client's connection (default 10 seconds).
Default Value: 30
Type: int
Available Since Version: 5.0
Number of seconds the daemon tries to establish a connection with a back-end server.
Default Value: 30
Units: seconds
Type: int
Available Since Version: 5.0
Number of seconds a URL-based job must be completed in. After the timeout expires, daemons drops the connection to the back-end server and sets job status to "failed" and completion status to "timeout".
Default Value: 120
Units: seconds
Type: int
Available Since Version: 5.0
The minimal number of microlliseconds between job startups.
Default Value: 200
Type: int
Available Since Version: 5.0
Number of retries for failed HTTP jobs.
Default Value: 10
Type: int
Available Since Version: 5.0
The number of seconds between retries for failed HTTP jobs.
Default Value: 1
Units: seconds
Type: int
Available Since Version: 5.0
Report an event when the Job Queue Daemon reaches a margin between the number of running jobs and the maximum allowed.
Default Value: 0
Type: int
Available Since Version: 5.0
Report an event when a job exceeds its defined execution time.
Default Value: 120
Units: seconds
Type: int
Available Since Version: 5.0
The maximum message size the daemon can accept from the extension.
Default Value: 64
Units: KBytes
Type: int
Available Since Version: 5.0
The Log's verbosity level.
Default Value: 2
Type: int
Available Since Version: 5.0
The maximum size of the log file before it is rotated.
Default Value: 10
Units: MBytes
Type: int
Available Since Version: 5.0
Whether to store job output in DB. If set to '0', no job output is stored.
Default Value: 1
Type: boolean
Available Since Version: 5.0
Size in KB of maximal job output size to store in DB.
Default Value: 1024
Units: KBytes
Type: int
Available Since Version: 5.0
The suggested maximum number of database disk pages that the DB will hold in memory (SQLite only).
Default Value: 2000
Type: int
Available Since Version: 5.1
Whether to run vacuum on the DB file after jobs cleanup (SQLite only).
Default Value: 0
Type: boolean
Available Since Version: 5.5
List of queue names for which the daemon should execute jobs. The list should be comma separated. '*' means any queue.
Default Value: *
Type: string
Available Since Version: 5.6
Time limit to remain idle when there are no jobs to execute.
Default Value: 10
Units: seconds
Type: int
Available Since Version: 5.6
The interval in which daemons update their status and check status of other daemons. 0 will disable the feature.
Default Value: 0
Units: seconds
Type: int
Available Since Version: 5.6
Recover jobs of daemons whose status is outdated by the time period given by the directive. Will be disabled if 'status_check_interval' is disabled.
Default Value: 60
Units: seconds
Type: int
Available Since Version: 5.6
Maximum DB space for completed jobs data. 0 for unlimited.
Default Value: 1024
Units: MBytes
Type: int
Available Since Version: 6.1
Maximum DB space for failed jobs data. 0 for unlimited.
Default Value: 1024
Units: MBytes
Type: int
Available Since Version: 6.1
The .ini file that contains the global directives, as defined in ZendGlobalDirectiveDD.xml.
Default Value: GLOBAL_DIRECTIVES_INI_FILE
Type: string
Available Since Version: 5.0
Enable support for HTTPS jobs
Default Value: 0
Type: boolean
Available Since Version: 6.3
Whether to validate ssl errors on job requests
Default Value: 1
Type: boolean
Available Since Version: 6.3