/etc/evqueue.conf is in evqueue-core 2.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | ##############################
# Core
##############################
# UID and GID of the process
# If you want the process to change user or group, you must run evqueue as root
core.gid=evqueue
core.uid=evqueue
# PID file
core.pidfile = /var/run/evqueue/evqueue.pid
# Default locale
core.locale = C.UTF-8
# Dead peer detection
# Interval between dead peer detection (DPD) in seconds.
# Use 0 to disable DPD (not recommended)
dpd.interval = 10
# Client authentication
# Configure whether clients should authenticate or not
core.auth.enable = yes
##############################
# MySQL configuration
##############################
mysql.database=evqueue
mysql.host=localhost
# mysql.user=
# mysql.password=
##############################
# Network configuration
##############################
# Node name
cluster.node.name = localhost
# TCP
# Use "*" to bind on all interfaces
# Remove this entries to disable TCP binding
network.bind.ip=127.0.0.1
network.bind.port=5000
# UNIX
network.bind.path = /var/run/evqueue/evqueue.socket
# TCP and UNIX
network.listen.backlog=64
network.rcv.timeout=30
network.snd.timeout=30
##############################
# Process manager
##############################
# Where to store tasks outputs
processmanager.logs.directory=/tmp
# Delete logs at the end of task execution
# It is strongly recommended to delete logs as the can quickly grow up
processmanager.logs.delete=yes
# Path to the evqueue monitor
processmanager.monitor.path=/usr/bin/evqueue_monitor
# Path to prepend when task filename is relative
processmanager.tasks.directory=/usr/share/evqueue-core/tasks
##############################
# Notifications
##############################
# Path to the evqueue notifications monitor
notifications.monitor.path = /usr/bin/evqueue_notification_monitor
# Where the notifications plugins are stored
# Must be writable by the evqueue process if you want to install plugins
# directly from the web board
notifications.tasks.directory = /usr/share/evqueue-core/plugins/notifications
# Timout (in seconds) for the notifications plugins
# Use 0 to disable
# It is higly recommanded to keep a timeout to prevent buggy plugins
# from creating many hanged processes
notifications.tasks.timeout = 5
# Maximum number of concurrent notification scripts
# Above this number, new notifications will not be executed
notifications.tasks.concurrency = 16
##############################
# SSH configuration
##############################
# This is used for remote task execution
# If no key is specified, default SSH key of the user will be used
# If you want to use the default key you must comment "processmanager.monitor.ssh_key"
# processmanager.monitor.ssh_key=
processmanager.monitor.ssh_path=/usr/bin/ssh
##############################
# workflow instance database
##############################
# Save workflow parameters in database
# This is required if you want to use search on parameters
#
# As on line is inserted for each parameter of each workflow,
# the table t_workflow_instance_parameters can grow quickly.
# You should be careful when using this option on high loaded platforms
workflowinstance.saveparameters=yes
# Savepoint level
#
# 0 : Save workflows only on engine restart
# This has the best performance as no database is used
# No history will be kept at all
#
# 1 : Save workflows only on workflow exit and restart
# Be aware that in case of engine crash, you will loose all running workflows
# This will disable recording of parameters
# See workflowinstance.saveparameters
#
# 2 : Save workflows on start, stop or when the engine is restarted
# This is the recommended setting
#
# 3 : Save workflows on each state change
# This can be useful if you want to monitor workflows from database
# However, be aware that this can generate very high load on MySQL and that
# this will slow down the engine
workflowinstance.savepoint.level=2
# Retry controls what to do on database errors when saving workflows
# It is recommended to enable this whis at least 2 retry
# Wait time is in seconds
workflowinstance.savepoint.retry.enable=yes
workflowinstance.savepoint.retry.times=2
workflowinstance.savepoint.retry.wait=2
##############################
# Logger
##############################
# Log notice or higher priority to syslog
# It is recommended to always keep this active
logger.syslog.enable = yes
logger.syslog.filter = LOG_NOTICE
# Log errors to database
# This is required if you want to access logs from the web board
# This can slow down the engine on busy systems and it is recommanded to filter warnings only in production
logger.db.enable = yes
logger.db.filter = LOG_WARNING
##############################
# Garbage collector
##############################
# The garbage collector is used to free old hostory from database
gc.enable = yes
# Interval in seconds between executions of the GC
gc.interval = 43200
# If entries are to be removed, GC will not free more than this limit at once
# You should really use this to avoid long locks on your database
gc.limit = 1000
# If the limit is reached, GC will wait this interval (in seconds) before trying to free again up to gc.limit
gc.delay = 2
# Clean database logs older than (in days)
gc.logs.retention = 7
# Clean terminated workflow instances older than (in days)
gc.workflowinstance.retention = 30
# Clean cluster locks older than (in days)
gc.uniqueaction.retention = 30
|