Search Results for: queue

ChangeLog for 5.5.2 (devel)

Version 5.5.2 [DEVEL] (rgerhards), 2010-02-05

  • applied patches that make rsyslog compile under Apple OS X.
    Thanks to trey for providing these.

  • replaced data type “bool” by “sbool” because this created some portability issues.
  • added $Escape8BitCharactersOnReceive directive
    Thanks to David Lang for suggesting it.

  • worked around an issue where omfile failed to compile on32 bit platforms under some circumstances (this smells like a gcc problem, but a simple solution was available). Thanks to Kenneth Marshall for some advice.
  • extended testbench
  • bugfix: queues in direct mode could case a segfault, especially if an action failed for action queues. The issue was an invalid increment of a stack-based pointer which lead to destruction of the stack frame and thus a segfault on function return.
    Thanks to Michael Biebl for alerting us on this problem.

  • bugfix: hostname accidently set to IP address for some message sources, for example imudp. Thanks to Anton for reporting this bug. [imported v4]
  • bugfix: ompgsql had problems with transaction support, what actually rendered it unsuable. Thanks to forum user “horhe” for alerting me on this bug and helping to debug/fix it! [imported from 5.3.6]
  • bugfix: $CreateDirs variable not properly initialized, default thus was random (but most often “on”) [imported from v3]

ChangeLog for 5.3.7 (v5-beta)

Version 5.3.7 [BETA] (rgerhards), 2010-01-27

  • bugfix: queues in direct mode could case a segfault, especially if an action failed for action queues. The issue was an invalid increment of a stack-based pointer which lead to destruction of the stack frame and thus a segfault on function return.
    Thanks to Michael Biebl for alerting us on this problem. [backport from 5.5.2]

  • bugfix: wrong memory assignment for a config variable (probably without causing any harm) [backport from 5.2.2]
  • bugfix: rsyslog hangs when writing to a named pipe which nobody was reading. Thanks to Michael Biebl for reporting this bug.
    Bugzilla entry: http://bugzilla.adiscon.com/show_bug.cgi?id=169 [imported from 4.5.8]

ChangeLog for 4.5.6 (v4-beta)

Version 4.5.6 [v4-beta] (rgerhards), 2009-11-05

  • bugfix: named pipes did no longer work (they always got an open error) this was a regression from the omfile rewrite in 4.5.0
  • bugfix(minor): diag function returned wrong queue memeber count for the main queue if an active DA queue existed. This had no relevance to real deployments (assuming they are not running the debug/diagnostic module…), but sometimes caused grief and false alerts in the testbench.
  • included some important fixes from v4-stable:
    • bugfix: invalid handling of zero-sized messages
    • bugfix: zero-sized UDP messages are no longer processed
    • bugfix: random data could be appended to message
    • bugfix: reverse lookup reduction logic in imudp do DNS queries too often
  • bugfix(testbench): testcase did not properly wait for rsyslod shutdown thus some unpredictable behavior and a false negative test result could occur. [BACKPORTED from v5]
  • bugfix(testbench): sequence check was not always performed correctly, that could result in tests reporting success when they actually failed

ChangeLog for 5.3.4 (devel)

Version 5.3.4 [DEVEL] (rgerhards), 2009-11-04

  • added the ability to create custom message parsers
  • added $RulesetParser config directive that permits to bind specific parsers to specific rulesets
  • added omruleset output module, which provides great flexibility in action processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
  • added the capability to have ruleset-specific main message queues
    This offers considerable additional flexibility AND superior performance (in cases where multiple inputs now can avoid lock contention)

  • bugfix: correct default for escape (‘#’) character restored
    This was accidently changed to ‘\\’, thanks to David Lang for reporting

  • bugfix(testbench): testcase did not properly wait for rsyslogd shutdown thus some unpredictable behavior and a false negative test result could occur.

ChangeLog for 5.3.3 (devel)

Version 5.3.3 [DEVEL] (rgerhards), 2009-10-27

  • simplified and thus speeded up the queue engine, also fixed some potential race conditions (in very unusual shutdown conditions) along the way. The threading model has seriously changes, so there may be some regressions.
  • enhanced test environment (inlcuding testbench): support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench.
  • bugfix: potential abort if inputname property was not set primarily a problem of imdiag
  • bugfix: message processing states were not set correctly in all cases however, this had no negative effect, as the message processing state was not evaluated when a batch was deleted, and that was the only case where the state could be wrong.

ChangeLog for 5.3.2 (devel)

Version 5.3.2 [DEVEL] (rgerhards), 2009-10-21

  • enhanced omfile to support transactional interface. This will increase performance in many cases.
  • added multi-ruleset support to imudp
  • re-enabled input thread termination handling that does avoid thread cancellation where possible. This provides a more reliable mode of rsyslogd termination (canceling threads my result in not properly freed resouces and potential later hangs, even though we perform proper cancel handling in our code). This is part of an effort to reduce thread cancellation as much as possible in rsyslog.
    NOTE: the code previously written code for this functionality had a subtle race condition. The new code solves that.

  • enhanced immark to support non-cancel input module termination
  • improved imudp so that epoll can be used in more environments, fixed potential compile time problem if EPOLL_CLOEXEC is not available.
  • some cleanup/slight improvement:
    • changed imuxsock to no longer use deprecated submitAndParseMsg() IF
    • changed submitAndParseMsg() interface to be a wrapper around the new way of message creation/submission. This enables older plugins to be used together with the new interface. The removal also enables us to drop a lot of duplicate code, reducing complexity and increasing maintainability.
  • bugfix: segfault when starting up with an invalid .qi file for a disk queue
    Failed for both pure disk as well as DA queues. Now, we emit an error message and disable disk queueing facility.

  • bugfix: potential segfault on messages with empty MSG part. This was a recently introduced regression.
  • bugfix: debug string larger than 1K were improperly displayed. Max size is now 32K, and if a string is even longer it is meaningfully truncated.

ChangeLog for 5.1.6 (v5-beta)

Version 5.1.6 [v5-beta] (rgerhards), 2009-10-15

  • feature imports from v4.5.6
  • bugfix: potential race condition when queue worker threads were terminated
  • bugfix: solved potential (temporary) stall of messages when the queue was almost empty and few new data added (caused testbench to sometimes hang!)
  • fixed some race condition in testbench
  • added more elaborate diagnostics to parts of the testbench
  • bugfixes imported from 4.5.4:
    • bugfix: potential segfault in stream writer on destruction
    • bugfix: potential race in object loader (obj.c) during use/release
    • bugfixes: potential problems in out file zip writer
  • included some important fixes from 4.4.2:
    • bugfix: invalid handling of zero-sized messages
    • bugfix: zero-sized UDP messages are no longer processed
    • bugfix: random data could be appended to message
    • bugfix: reverse lookup reduction logic in imudp do DNS queries too often

ChangeLog for 5.1.3 (devel)

Version 5.1.3 [DEVEL] (rgerhards), 2009-07-28

  • architecture change: queue now always has at least one worker thread 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.
  • enhance: UDP spoofing supported via new output module omudpspoof. See the omudpspoof documentation for details and samples
  • bugfix: message could be truncated after TAG, often when forwarding. This was a result of an internal processing error if maximum field sizes had been specified in the property replacer.
  • bugfix: minor static memory leak while reading configuration did NOT leak based on message volume
  • internal: added ability to terminate input modules not via pthread_cancel but an alternate approach via pthread_kill. This is somewhat safer as we do not need to think about the cancel-safeness of all libraries we use. However, not all inputs can easily supported, so this now is a feature that can be requested by the input module (the most important ones request it).

ChangeLog for 4.5.1 (devel)

Version 4.5.1 [DEVEL] (rgerhards), 2009-07-15

  • CONFIG CHANGE: $HUPisRestart default is now “off”. We are doing this to support removal of restart-type HUP in v5.
  • bugfix: fromhost-ip was sometimes truncated
  • bugfix: potential segfault when zip-compressed syslog records were received (double free)
  • bugfix: properties inputname, fromhost, fromhost-ip, msg were lost when working with disk queues
  • performance enhancement: much faster, up to twice as fast (depending on configuration)
  • bugfix: abort condition when RecvFrom was not set and message reduction was on. Happend e.g. with imuxsock.
  • added $klogConsoleLogLevel directive which permits to set a new console log level while rsyslog is active
  • bugfix: message could be truncated after TAG, often when forwarding This was a result of an internal processing error if maximum field sizes had been specified in the property replacer.
  • added ability for the TCP output action to “rebind” its send socket after sending n messages (actually, it re-opens the connection, the name is used because this is a concept very similiar to $ActionUDPRebindInterval). New config directive actionSendTCPRebindInterval added for the purpose. By default, rebinding is disabled. This is considered useful for load balancers.
  • testbench improvements

ChangeLog for 5.1.2 (devel)

Version 5.1.2 [DEVEL] (rgerhards), 2009-07-08

  • bugfix: properties inputname, fromhost, fromhost-ip, msg were lost when working with disk queues
  • some performance enhancements
  • bugfix: abort condition when RecvFrom was not set and message reduction was on. Happend e.g. with imuxsock.
  • added $klogConsoleLogLevel directive which permits to set a new console log level while rsyslog is active
  • some internal code cleanup
Scroll to top