diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-17 18:11:03 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-17 18:11:03 +0100 |
commit | 5c7225b77636b5f8231ccb0edc61fb7d68eb752b (patch) | |
tree | f2f964db77dbb16d219135e38acf736301780f69 /tests/testsuites | |
parent | 679434312c20d9651faff26b8b3a5ab203be7ff3 (diff) | |
download | rsyslog-5c7225b77636b5f8231ccb0edc61fb7d68eb752b.tar.gz rsyslog-5c7225b77636b5f8231ccb0edc61fb7d68eb752b.tar.xz rsyslog-5c7225b77636b5f8231ccb0edc61fb7d68eb752b.zip |
added test for deadlock with dynafile writing and cache exhaustion
Note that this introduces a test case that breaks the current code. This
commit does NOT yet provide the necessary code patch. Thus "make check"
does currently hang.
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/asynwr_deadlock2.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testsuites/asynwr_deadlock2.conf b/tests/testsuites/asynwr_deadlock2.conf new file mode 100644 index 00000000..c3eecae3 --- /dev/null +++ b/tests/testsuites/asynwr_deadlock2.conf @@ -0,0 +1,15 @@ +# rgerhards, 2010-03-17 +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 10000 +$InputTCPServerRun 13514 + +$template outfmt,"%msg:F,58:3%,%msg:F,58:4%,%msg:F,58:5%\n" +$template dynfile,"rsyslog.out.%msg:F,58:2%.log" # use multiple dynafiles + +$OMFileFlushOnTXEnd on +$OMFileFlushInterval 10 +$OMFileIOBufferSize 10k +$DynaFileCacheSize 4 +local0.* ?dynfile;outfmt |