summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/threadingmq.conf
blob: aa5197bbe8c47f7f452a12c5a13a3a6ca0af5707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Threading test, we run a tcp flood to via an
# engine instructed to use multiple threads
# rgerhards, 2009-06-26
$IncludeConfig diag-common.conf

$ModLoad ../plugins/imtcp/.libs/imtcp
$MainMsgQueueTimeoutShutdown 10000
$MaxOpenFiles 2000
$InputTCPMaxSessions 1100
$InputTCPServerRun 13514

$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 
:msg, contains, "msgnum:" ?dynfile;outfmt