<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rsyslog.git/tools, branch v4.6.2</title>
<subtitle>rsyslog development for Lumberjack - various unofficial and potentially rebased branches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/'/>
<entry>
<title>$OMFileAsyncWriting directive did not work properly</title>
<updated>2010-03-25T16:36:50+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T16:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=77f4230c10f9f2a1c9605f0b4208d7209b2ccf27'/>
<id>77f4230c10f9f2a1c9605f0b4208d7209b2ccf27</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>new feature: $OMFileAsyncWriting directive added</title>
<updated>2010-03-25T14:23:39+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T14:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=d102aab886fcde914677146caf20bd68ca41bfff'/>
<id>d102aab886fcde914677146caf20bd68ca41bfff</id>
<content type='text'>
it permits to specifiy if asynchronous writing should be done or not
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it permits to specifiy if asynchronous writing should be done or not
</pre>
</div>
</content>
</entry>
<entry>
<title>undo experimental commit dccadb677c5a6b8379f631e4c1f14c8c4089d4a6</title>
<updated>2010-03-25T07:13:58+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T07:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=bcddd30c2e9d8594a67a853c389c4424aa0c6524'/>
<id>bcddd30c2e9d8594a67a853c389c4424aa0c6524</id>
<content type='text'>
Further testing turned out that the rsyslog core works correctly and
this fix is not needed. The concurrency we saw was actually caused by
other actions (even processes) during directory creation. See commit
9e5b31fc44136dbcc1e443cfe7714e9daf97d844 for further details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Further testing turned out that the rsyslog core works correctly and
this fix is not needed. The concurrency we saw was actually caused by
other actions (even processes) during directory creation. See commit
9e5b31fc44136dbcc1e443cfe7714e9daf97d844 for further details.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: potential segfault in dynafile cache</title>
<updated>2010-03-25T06:56:03+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-25T06:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=28b3703c95cb06642ff245f4d7e265c4591c128f'/>
<id>28b3703c95cb06642ff245f4d7e265c4591c128f</id>
<content type='text'>
This bug was triggered by an open failure. The the cache was full and
a new entry needed to be placed inside it, a victim for eviction was
selected. That victim was freed, then the open of the new file tried. If
the open failed, the victim entry was still freed, and the function
exited. However, on next invocation and cache search, the victim entry
was used as if it were populated, most probably resulting in a segfault.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bug was triggered by an open failure. The the cache was full and
a new entry needed to be placed inside it, a victim for eviction was
selected. That victim was freed, then the open of the new file tried. If
the open failed, the victim entry was still freed, and the function
exited. However, on next invocation and cache search, the victim entry
was used as if it were populated, most probably resulting in a segfault.
</pre>
</div>
</content>
</entry>
<entry>
<title>streamline dynafile cache entry deletion a bit</title>
<updated>2010-03-23T13:21:33+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-23T13:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=5d58774813d4ecd4fc9f8230f8d5446457eb2ed5'/>
<id>5d58774813d4ecd4fc9f8230f8d5446457eb2ed5</id>
<content type='text'>
The old code looks a bit "strange", though not necessarily incorrect.
The new code looks correct and is probably less irritating during bug
hunting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old code looks a bit "strange", though not necessarily incorrect.
The new code looks correct and is probably less irritating during bug
hunting.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: potential re-use of free()ed file stream object in omfile</title>
<updated>2010-03-23T13:11:50+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-23T13:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=f8dee56243d7378864fdcdcc21262fc563639827'/>
<id>f8dee56243d7378864fdcdcc21262fc563639827</id>
<content type='text'>
when dynaCache is enabled, the cache is full, a new entry needs to
be allocated, thus the LRU discarded, then a new entry is opend and that
fails. In that case, it looks like the discarded stream may be reused
improperly (based on code analysis, test case and confirmation pending)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when dynaCache is enabled, the cache is full, a new entry needs to
be allocated, thus the LRU discarded, then a new entry is opend and that
fails. In that case, it looks like the discarded stream may be reused
improperly (based on code analysis, test case and confirmation pending)
</pre>
</div>
</content>
</entry>
<entry>
<title>previous (experimental) patch was somewhat incorrect, fixed</title>
<updated>2010-03-22T13:22:22+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-22T13:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=a28a31feeab1bec5f4c74e3b6121f866f68eac54'/>
<id>a28a31feeab1bec5f4c74e3b6121f866f68eac54</id>
<content type='text'>
This is what caused the new test to fail...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is what caused the new test to fail...
</pre>
</div>
</content>
</entry>
<entry>
<title>exp: made omfile ensure that it is not called twice in parallel on the same file instance</title>
<updated>2010-03-21T17:52:51+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-21T17:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=dccadb677c5a6b8379f631e4c1f14c8c4089d4a6'/>
<id>dccadb677c5a6b8379f631e4c1f14c8c4089d4a6</id>
<content type='text'>
In theory, the rsyslog core should never call in parallel into an output
module for the same instance. However, it looks like this seems to happen
under (strange?) circumstances. I have now enhanced omfile so that it guards
itself against being called in parallel on the same instance data. This is
done to help troubleshooting and may stay as an interim solution if it
proves to solve an anomaly we see in at least one installation (to trigger
this problem, an extremely large traffic volume is needed).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In theory, the rsyslog core should never call in parallel into an output
module for the same instance. However, it looks like this seems to happen
under (strange?) circumstances. I have now enhanced omfile so that it guards
itself against being called in parallel on the same instance data. This is
done to help troubleshooting and may stay as an interim solution if it
proves to solve an anomaly we see in at least one installation (to trigger
this problem, an extremely large traffic volume is needed).
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fix</title>
<updated>2010-03-19T08:42:46+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-19T08:42:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=89216d6a96ea5f6d1fa9893d56fa877a2131d390'/>
<id>89216d6a96ea5f6d1fa9893d56fa877a2131d390</id>
<content type='text'>
The previous fix fixed an issue with on/off bying used in the exact wrong
semantic. It corrected the situation, but failed to fix one spot where the
wrong semantics were used. This is done with this commit.

Note that this is NOT a bug seen in any released version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous fix fixed an issue with on/off bying used in the exact wrong
semantic. It corrected the situation, but failed to fix one spot where the
wrong semantics were used. This is done with this commit.

Note that this is NOT a bug seen in any released version.
</pre>
</div>
</content>
</entry>
<entry>
<title>new feature: "." action type added to support writing files to relative pathes</title>
<updated>2010-03-17T15:25:24+00:00</updated>
<author>
<name>Rainer Gerhards</name>
<email>rgerhards@adiscon.com</email>
</author>
<published>2010-03-17T15:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/rsyslog.git/commit/?id=ba0f23182a55b26b2265d2138c707cbc7ddbb72e'/>
<id>ba0f23182a55b26b2265d2138c707cbc7ddbb72e</id>
<content type='text'>
(this is primarily meant as a debug aid)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(this is primarily meant as a debug aid)
</pre>
</div>
</content>
</entry>
</feed>
