Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
da714683
Commit
da714683
authored
Nov 17, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set up a trackrdrd.conf suitable for a package install.
parent
bb218669
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
23 deletions
+29
-23
trackrdrd.conf
etc/trackrdrd.conf
+29
-23
No files found.
etc/
sample
.conf
→
etc/
trackrdrd
.conf
View file @
da714683
# Sample configuration for the varnish log tracking reader
# This sample shows the default values
# Shared object implementing the MQ interface, may be the full path to
# the so file, or the SO name, provided it can be found according to
# the rules in ld.so(8)
# There is no default, this parameter MUST be specified
mq
.
module
=
trackrdrd
/
libtrackrdr
-
kafka
.
so
# Configuration file for the MQ implementation, if required
mq
.
config_file
= /
etc
/
trackrdr
-
kafka
.
conf
# PID file for the management process
pid
.
file
= /
var
/
run
/
trackrdrd
.
pid
# Varnish instance name, as used in the -n CLI option for varnishd
# and other Varnish binaries
# The config may specify only one of varnish.name or varnish.bindump
varnish
.
name
= $(
hostname
)
#
varnish.name = $( hostname )
# Binary log dump obtained from 'varnishlog -B -w'
# varnish.bindump = /path/to/dump.file
...
...
@@ -18,47 +27,41 @@ varnish.name = $( hostname )
# Facility name for syslog(3), may be 'user' or 'local0' through
# 'local7'
syslog
.
facility
=
local0
#
syslog.facility = local0
# Owner of the child process
user
=
nobody
#
user = nobody
# How often the management process restarts the worker process after
# abnormal termination
restarts
=
1
#
restarts = 1
# Pause in seconds between restarts of the worker process
restart
.
pause
=
1
#
restart.pause = 1
# Interval in seconds at which the monitoring thread emits statistics
# to the log
monitor
.
interval
=
30
#
monitor.interval = 30
# Shared object implementing the MQ interface, may be the full path to
# the so file, or the SO name, provided it can be found according to
# the rules in ld.so(8)
# There is no default, this parameter MUST be specified
mq
.
module
=
mq
-
impl
.
so
# Configuration file for the MQ implementation, if required
# mq.config_file = /path/to/config.file
# Whether statistics about worker threads should be logged
# monitor.workers = false
# Maximum number of completed messages to be buffered for forwarding
# to message brokers by the worker threads
max
.
records
=
1024
#
max.records = 1024
# Maximum length of a message in bytes
max
.
reclen
=
1024
#
max.reclen = 1024
# Size in bytes of fixed-length buffers in which buffered messages are
# stored. May not be less than 64
# See 'DATA BUFFERS' in trackrdrd(3) for considerations on setting
# the buffer size
chunk
.
size
=
256
#
chunk.size = 256
# Maximum length in bytes of sharding keys (if required by the MQ
# implementation)
maxkeylen
=
128
#
maxkeylen = 128
# Time in seconds (with subsecond precision) for the reader thread
# to pause when it encounters the end of the Varnish log.
...
...
@@ -69,20 +72,23 @@ idle.pause = 0.01
# Limit for the number of concurrent incomplete transactions
# aggregated by the Varnish log API, as used in the CLI option
# -L for varnishlog(3) and other Varnish logging tools
tx
.
limit
=
1000
#
tx.limit = 1000
# Timeout in seconds for incomplete transactions aggregated by the
# logging API, as used in the option -T for Varnish logging tools
tx
.
timeout
=
120
#
tx.timeout = 120
# Number of worker threads
nworkers
=
1
# nworkers = 1
# Stack size for worker threads
# worker.stack = 131072
# How often worker threads are restarted after unrecoverable message
# send failures
thread
.
restarts
=
1
#
thread.restarts = 1
# Goal length for the internal queue from the reader thread to the
# worker threads. This affects the decision to wake worker threads
# to handle increasing loads.
qlen
.
goal
=
512
#
qlen.goal = 512
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment