diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-26 14:08:30 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-26 14:08:30 +0200 |
commit | 6be06d50e328c4b8c79b263e176e6b4e384a03f9 (patch) | |
tree | 4e443d83edf86726e10154bde72afeb2e432e75d /tests/testsuites/threadingmqaq.conf | |
parent | d88803c8e471b0b822108106137f5383c7efd57e (diff) | |
download | rsyslog-6be06d50e328c4b8c79b263e176e6b4e384a03f9.tar.gz rsyslog-6be06d50e328c4b8c79b263e176e6b4e384a03f9.tar.xz rsyslog-6be06d50e328c4b8c79b263e176e6b4e384a03f9.zip |
added some basic multithreading tests to testbench
Diffstat (limited to 'tests/testsuites/threadingmqaq.conf')
-rw-r--r-- | tests/testsuites/threadingmqaq.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/testsuites/threadingmqaq.conf b/tests/testsuites/threadingmqaq.conf new file mode 100644 index 00000000..f1bb72df --- /dev/null +++ b/tests/testsuites/threadingmqaq.conf @@ -0,0 +1,24 @@ +# 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 +# This time, also run the action queue detached +$ActionQueueWorkerThreadMinimumMessages 10 +$ActionQueueWorkerThreads 5 +$ActionQueueType LinkedList +:msg, contains, "msgnum:" ?dynfile;outfmt |