Job Queue Directives

Directive

Mode

Reload

Description

zend_jq.host (string)

daemon  

no  

The host's IP

 

zend_jq.alias (string)

daemon  

no  

The alias of the JobQueue daemon in the platform GUI  

zend_jq.port (int)

daemon  

no  

The port on which the daemon listens for requests (such as adding a job)

zend_jq.message_server_port (int)

daemon  

no  

The port on which the daemon listens to control signals from Platform Central (such as stopping the daemon)  

zend_jq.data_dir (string)

daemon  

no

The path to the base directory for the file system persistency  

zend_jq.fastcgi_conf (string)

daemon  

no  

The path to configuration file for the fastcgi used to perform the jobs  

zend_jq.document_root (string)

daemon  

no  

The root directory in which the scripts for execution reside  

zend_jq.login_pwd (string)

daemon  

no  

The MD5 of the login password for the queue  

zend_jq.max_num_of_request_workers (int)

daemon  

no

 The number of threads used to accept incoming requests (jobs)  

zend_jq.max_num_of_process_workers (int)

daemon  

no

The number of threads used to process jobs (should be equal to the number of fastcgi processes)  

zend_jq.debug_level (int)

daemon  

yes  

Level of debug messages:

0 - Displays only critical errors ("unrecoverable application errors")

1-3 - Also displays warnings ("recoverable errors")

zend_jq.max_queue_depth (int)

daemon  

yes  

The maximum jobs allowed in the queue. if no directive is provided depth is unlimited  

zend_jq.initial_backoff (int)

daemon  

yes

The time in seconds used as the basis for the for the backoff time  

zend_jq.backoff_factor (int)

daemon  

yes  

The factor by which the the backoff time is multiplied after each execution failure  

zend_jq.max_exec_failures (int)

daemon  

yes  

The maximum number of allowed retries for an execution failed job  

zend_jq.allowed_hosts (string)

daemon  

yes  

The IPs that are allowed to connect to the daemon  

zend_jq.max_history_time (float)

daemon  

yes  

The maximum time (in hours) a job is kept in history (unless it has property preserved=yes). If no directive is provided time is unlimited.  

zend_jq.history_refresh_interval (float)

daemon  

yes  

The interval in hours between persistent storage refreshes (jobs that passed their max_history_time are removed).  

zend_jq.db_host (string)

daemon  

no  

The hostname of the database used by daemon  

zend_jq.db_port (int)

daemon  

no  

The port of the database used by daemon (if omitted the default database port is used)  

zend_jq.db_socket (int)  daemon  no  the socket file of the database used by daemon ( relevant only for UNIX)  

zend_jq.log_rotation_size (int)

daemon  

no

The maximum size of the log (in MB) before it is rotated  

zend_jq.log_rotation_delta (int)

daemon  

no

The frequency to check whether to rotate log  

zend_jq.db_user (string)

daemon  

no  

the username of the database used by daemon  

zend_jq.db_password (string)

daemon  

no

The password of the database used by daemon  

zend_jq.db_password (string)

daemon  

no

 the password of the database used by daemon

zend_jq.moving_window_size (int)

daemon  

no  

The size of the moving window in seconds used for queue statistics  

zend_jq.client_connection_timeout (int)

client  

no

The number of seconds until connection from client to daemon is timed out

 

 

Related Links

Related Links:
Job Queues

Job Queue API