mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 02:40:42 +01:00
...if not running in direct mode. Previous versions could run without any active workers. This simplifies the code at a very small expense. See v5 compatibility note document for more in-depth discussion.
31 lines
1.9 KiB
HTML
31 lines
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><title>Compatibility notes for rsyslog v5</title>
|
|
</head>
|
|
<body>
|
|
<h1>Compatibility Notes for rsyslog v5</h1>
|
|
<p><small><i>Written by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a>
|
|
(2009-07-15)</i></small></p>
|
|
<p>The changes introduced in rsyslog v5 are numerous, but not very intrusive.
|
|
This document describes things to keep in mind when moving from v4 to v5. It
|
|
does not list enhancements nor does it talk about compatibility concerns introduced
|
|
by earlier versions (for this, see their respective compatibility documents).
|
|
<h2>HUP processing</h2>
|
|
<p>The $HUPisRestart directive is supported by some early v5 versions, but has been removed
|
|
in 5.1.3 and above. That means that restart-type HUP processing is no longer
|
|
available. This processing was redundant and had a lot a drawbacks.
|
|
For details, please see the
|
|
<a href="v4compatibility.html">rsyslog v4 compatibility notes</a> which elaborate
|
|
on the reasons and the (few) things you may need to change.
|
|
<h2>Queue Worker Thread Shutdown</h2>
|
|
<p>Previous rsyslog versions had the capability to "run" on zero queue worker
|
|
if no work was required. This was done to save a very limited number of resources. However,
|
|
it came at the price of great complexity. In v5, we have decided to let a minium of one
|
|
worker run all the time. The additional resource consumption is probably not noticable at
|
|
all, however, this enabled us to do some important code cleanups, resulting in faster
|
|
and more reliable code (complex code is hard to maintain and error-prone). From the
|
|
regular user's point of view, this change should be barely noticable. I am including the
|
|
note for expert users, who will notice it in rsyslog debug output and other analysis tools.
|
|
So it is no error if each queue in non-direct mode now always runs at least one worker
|
|
thread.
|
|
</body></html>
|