Files
openstreetmap-tile-server/tirex.conf
T

90 lines
3.5 KiB
Plaintext

#-----------------------------------------------------------------------------
#
# /etc/tirex/tirex.conf
#
# Configuration file for the Tirex tile rendering system.
#
#-----------------------------------------------------------------------------
# Directory where statistics are stored
#stats_dir=/var/lib/tirex/stats
# How many rows and columns of tiles are there in a metatile.
#metatile_rows=8
#metatile_columns=8
# The name of the UNIX domain socket for communicating with ModTile.
#modtile_socket_name=/var/lib/tirex/modtile.sock
modtile_socket_name=/var/run/renderd/renderd.sock
# Directory where UNIX domain sockets are created
#socket_dir=/var/run/tirex
#-----------------------------------------------------------------------------
# MASTER
#-----------------------------------------------------------------------------
# The master writes its process ID into this file.
#master_pidfile=/var/run/tirex/tirex-master.pid
# Syslog facility used in tirex-master.
#master_syslog_facility=daemon
# Logfile where all rendered jobs are logged.
#master_logfile=/var/log/tirex/jobs.log
# If the rendering of a metatile takes more than this many minutes the master
# gives up on it and removes the job from the list of currently rendering tiles.
# This must be larger than backend_manager_alive_timeout and should be larger than
# the rendering of any tile can need. Its only used to make sure that a
# rendering process that is long gone doesn't take up resources forever.
#master_rendering_timeout=10
# Buckets for different priorities.
bucket name=live minprio=1 maxproc=4 maxload=20
bucket name=important minprio=10 maxproc=3 maxload=8
bucket name=background minprio=20 maxproc=2 maxload=4
#-----------------------------------------------------------------------------
# BACKEND-MANAGER
#-----------------------------------------------------------------------------
# The tirex-backend-manager writes its process ID into this file
#backend_manager_pidfile=/var/run/tirex/tirex-backend-manager.pid
# Syslog facility used by tirex-backend-manager
#backend_manager_syslog_facility=daemon
# If a rendering process doesn't send an alive message in this many minutes
# to the backend-manager, it will be killed by the manager. Make this smaller
# than master_rendering_timeout.
#backend_manager_alive_timeout=8
#-----------------------------------------------------------------------------
# SYNCD
#-----------------------------------------------------------------------------
# The syncd process writes its process ID into this file
#syncd_pidfile=/var/run/tirex/tirex-syncd.pid
# If this is defined, the syncd will copy rendered tiles to this server.
# A comma-separated list is allowed.
#sync_to_host=some.other.host,yet.another.host
# UDP port where the syncd listens for messages from master.
#syncd_udp_port=9323
# Number of seconds syncd will sleep after doing something, to allow
# some tiles to collect in the replication queue. This queue is simply
# the UDP packet buffer of the local OS. If this number is larger than
# 10 or 20 seconds then there's a danger of replications being dropped
#syncd_aggregate_delay=5
# command to execute for replicating the space-separated list of files
# %FILES% to host %HOST%. By default uses a ssh connection with a
# persistent control connection that will be re-created on demand.
#syncd_command=tar -C/ -cf - %FILES% | ssh %HOST% -oControlMaster=auto -oControlPersist=1h -oControlPath=/var/run/tirex/ssh-control-%h-%r-%p -Tq "tar -C/ -xf -"
#-- THE END ------------------------------------------------------------------