mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 16:50:42 +01:00
21 lines
639 B
Plaintext
21 lines
639 B
Plaintext
# Threading test, we run a tcp flood to via an
|
|
# engine instructed to use multiple threads
|
|
# rgerhards, 2009-06-26
|
|
$IncludeConfig diag-common.conf
|
|
|
|
$MainMsgQueueTimeoutShutdown 10000
|
|
|
|
$MainMsgQueueWorkerThreadMinimumMessages 10
|
|
$MainMsgQueueWorkerThreads 5
|
|
|
|
$template outfmt,"%msg:F,58:2%\n"
|
|
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
|
|
# write quickly to the output file:
|
|
$OMFileFlushOnTXEnd off
|
|
$OMFileIOBufferSize 256k
|
|
# This time, also run the action queue detached
|
|
$ActionQueueWorkerThreadMinimumMessages 10
|
|
$ActionQueueWorkerThreads 5
|
|
$ActionQueueType LinkedList
|
|
:msg, contains, "msgnum:" ?dynfile;outfmt
|