Rsyslog是一个">自由软件,GPL的lincesed增强的syslogd。其中,它提供了MySQL和完全可配置的输出格式(包括大时间戳)的支持。 Rsyslog发起Rainer的格哈茨。据叉从标准的sysklogd包。rsyslog项目的目标是提供一个更可靠的系统日志守护进程和配置。所谓“可靠”,是指支持如TCP或RFC 3195(系统日志可靠)可靠的传输模式。我们这样做并不意味着不可靠的sysklogd包。
rsyslog 4.6.6更新日志:
bugfix: memory leak in imtcp & subsystems under some circumstances
This leak is tied to error conditions
which lead to incorrect cleanup
of some data structures. [backport from v6, limited testing under v4] bugfix: invalid processing in QUEUE_FULL condition
If the the multi-submit interface was used and a QUEUE_FULL condition
occured, the failed message was properly destructed. However, the
rest of the input batch, if it existed, was not processed. So this
lead to potential loss of messages and a memory leak. The potential
loss of messages was IMHO minor, because they would have been dropped
in most cases due to the queue remaining full, but very few lucky ones
from the batch may have made it. Anyhow, this has now been changed so
that the rest of the batch is properly tried to be enqueued and, if
not possible, destructed. bugfix: invalid storage type for config variables bugfix: stream driver mode was not correctly set on tcp ouput on big
endian systems.
thanks varmojfekoj for the patch bugfix:
IPv6-address could not be specified in omrelp
this was due to improper parsing of “:”
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=
250 bugfix: memory and file descriptor leak in stream processing
Leaks could occur under some circumstances if the file stream handler
errored out during the open call. Among others, this could cause very
big memory leaks if there were a problem with unreadable disk queue
files. In regard to the memory leak, this
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=256 bugfix: imfile potentially duplicates lines
This can happen when 0 bytes are read from the input file, and some
writer appends data to the file BEFORE we check if a rollover happens.
The check for rollover uses the inode and size as a criterion. So far,
we checked for equality of sizes, which is not given in this scenario,
but that does not indicate a rollover. From the source code comments:
Note that when we check the size, we MUST NOT check for equality.
The reason is that the file may have been written right after we
did try to read (so the file size has increased). That is NOT in
indicator of a rollover (this is an actual bug scenario we
experienced). So we need to check if the new size is smaller than
what we already have seen!
Also, under some circumstances an invalid truncation was detected. This
code has now been removed, a file change (and thus resent) is only
detected if the inode number changes. bugfix: a couple of problems that imfile had on some platforms, namely
Ubuntu (not their fault, but occured there) bugfix: imfile utilizes 32 bit to track offset. Most importantly,
this problem can not experienced on
Fedora 64 bit OS (which has
64 bit long’s!) bugfix: abort if imfile reads file line of
more than 64KiB
Thanks to Peter Eisentraut for reporting and analysing this problem.
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221 bugfix: omlibdbi did not use password from rsyslog.con
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=271 some improvements thanks to clang’s static code analyzer overall cleanup (mostly unnecessary writes and otherwise unused stuff) bugfix: fixed a very remote problem in msg.c which could occur when
running under extremely low memory conditions
rsyslog 4.6.6 (v4-stable)下载地址:
md5sum: ec3957b1420803ac0a1ca482c7840923
Author: Rainer Gerhards (rgerhards@adiscon.com)
Version: 4.6.6 File size: 2,08 MB
http://www.rsyslog.com/files/download/rsyslog/rsyslog-4.6.6.tar.gz