summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | bugfix: potential abort condition when $RepeatedMsgReduction set to onRainer Gerhards2011-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as well as potentially in a number of other places where MsgDup() was used. This only happened when the imudp input module was used and it depended on name resolution not yet had taken place. In other words, this was a strange problem that could lead to hard to diagnose instability. So if you experience instability, chances are good that this fix will help.
* | | | bugfix: fixed a memory leak and potential abort conditionRainer Gerhards2011-02-252-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this could happen if multiple rulesets were used and some output batches contained messages belonging to more than one ruleset. fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=226 fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=218
* | | | Merge branch 'v5-stable' into v5-betaRainer Gerhards2011-02-251-0/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Conflicts: ChangeLog
| * | | bugfix: memory leak when $RepeatedMsgReduction on was usedRainer Gerhards2011-02-251-0/+5
| | | | | | | | | | | | | | | | bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=225
* | | | added debug support for trying to find well-hidden bugRainer Gerhards2011-02-232-1/+12
| | | |
* | | | bugfix: fixed compile problem due to empty structsDražen Kačar2011-02-164-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this occured only on some platforms/compilers. thanks to Dražen Kačar for the fix Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | improved error reporting for $WorkDirectoryRainer Gerhards2011-02-152-1/+37
| | | | | | | | | | | | | | | | | | | | non-existance and other detectable problems are now reported, and the work directory is NOT set in this case
* | | | bugfix: very long running actions could prevent shutdown under some ↵Rainer Gerhards2011-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | circumstances This has now been solved, at least for common situations.
* | | | removed no longer needed codeRainer Gerhards2011-02-112-3/+0
| | | |
* | | | bugfix: queue engine did not properly slow down inputs in FULL_DELAY mode...Rainer Gerhards2011-02-111-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | ...when in disk-assisted mode. This especially affected imfile, which created unnecessarily queue files if a large set of input file data was to process.
* | | | bugfix: abort if imfile reads file line of more than 64KiBRainer Gerhards2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | Thanks to Peter Eisentraut for reporting and analysing this problem. bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
* | | | cosmetic: making comments in stream.c a bit more readableRainer Gerhards2011-02-101-4/+6
| | | |
* | | | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-01-261-10/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-01-261-10/+11
| |\| |
| | * | imfile bugfix: potential duplication of log contentRainer Gerhards2011-01-101-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | forgot the actual patch with the last commit :(Rainer Gerhards2010-12-171-1/+1
| | | |
| | * | bugfix: imfile potentially duplicates linesRainer Gerhards2010-12-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | | enhanced imfile to support multi-line messagesDavid Lang2011-01-252-28/+88
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'v5.6.2-newimudp' into v5-devel-newimudpRainer Gerhards2011-01-104-1/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imudp/imudp.c threads.c
| * | | | improved imudp real-time scheduling support & bugfixDražen Kačar2011-01-104-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original code had quite some issues, which are fixed by this commit. Also we do more error checking now. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | Merge branch 'v4-devel' into v5-develRainer Gerhards2010-12-171-7/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html doc/manual.html plugins/imudp/imudp.c runtime/msg.h tools/syslogd.c
| * | | | | added $IMUDPSchedulingPolicy and $IMUDPSchedulingPriority config settingsRainer Gerhards2010-12-171-0/+1
| | | | | |
| * | | | | added $LocalHostName config directive & some bugfixingRainer Gerhards2010-12-162-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added $LocalHostName config directive - bugfix: local hostname was pulled too-early, so that some config directives (namely FQDN settings) did not have any effect
| * | | | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-12-168-18/+11
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | Conflicts: runtime/parser.c
| * | | | | bugfix: atomic increment for msg object may not work correct on all platforms.Chris Metcalf2010-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-11-241-0/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac
| * \ \ \ \ \ Merge branch 'v4-stable' into v4-develRainer Gerhards2010-10-192-2/+9
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/cfsysline.c tools/ompipe.c
* | \ \ \ \ \ \ Merge branch 'v5-stable' into v5-develRainer Gerhards2010-12-178-26/+25
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | | | | bug fixes in action processingRainer Gerhards2010-12-171-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: action processor released mememory too early, resulting in potential issue in retry cases (but very unlikely due to another bug, which I also fixed -- only after the fix this problem here became actually visible). - bugfix: batches which had actions in error were not properly retried in all cases
| * | | | | | | bugfix: batch processing flagged invalid message as "bad" under some ↵Rainer Gerhards2010-12-163-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | circumstances also fixed some cosmetic nits
| * | | | | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-12-165-12/+6
| |\ \ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.c
| | * | | | | | some cleanup based on clang static analyzer resultsRainer Gerhards2010-12-166-15/+8
| | | | | | | |
| | * | | | | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-12-162-3/+3
| | |\ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | / | | | | |_|_|/ | | | |/| | | Conflicts: ChangeLog
| | | * | | | improved some code based on clang static analyzer resultsRainer Gerhards2010-12-162-3/+3
| | | | | | |
| * | | | | | bugfix: unitialized variable could cause issues under extreme conditionsRainer Gerhards2010-12-162-2/+7
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | plus some minor nits. This was found after a clang static code analyzer analysis (great tool, and special thanks to Marcin for telling me about it!)
* | | | | | bugfix: one type of 64bit atomics was enabled when 32bit atomics were supportedRainer Gerhards2010-12-021-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | also cleaned up some minor things
* | | | | | bugfix: fixed build problems on some platformsRainer Gerhards2010-12-012-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | namely those that have 32bit atomic operations but not 64 bit ones
* | | | | | Merge branch 'v5-beta' into v5-develRainer Gerhards2010-11-259-129/+212
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html plugins/imfile/imfile.c runtime/rsyslog.h
| * | | | | bugfix: replacements for atomic operations for non-int sized types had problems.Rainer Gerhards2010-11-255-124/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least one instance of that problem could potentially lead to abort (inside omfile).
| * | | | | bugfix: atomic increment for msg object may not work correct on all platforms.Chris Metcalf2010-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-11-241-0/+17
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac
| | * | | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-11-241-0/+17
| | |\| | | | | | |_|/ | | |/| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| | | * | bugfix(important): problem in TLS handling could cause rsyslog to loopv3.22.3Rainer Gerhards2010-11-241-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... in a tight loop, effectively disabling functionality and bearing the risk of unresponsiveness of the whole system. Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=194
| * | | | bugfix: compile failed with --enable-unlimited-selectvarmojfekoj2010-11-052-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | Merge branch 'v5-stable' into v5-develRainer Gerhards2010-10-222-2/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-10-192-2/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac runtime/cfsysline.c tools/ompipe.c
| | * | | fixing some compile problems on FreeBSDRainer Gerhards2010-10-193-5/+12
| | | | |
* | | | | Merge branch 'v5-beta' into v5-develRainer Gerhards2010-10-151-8/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am plugins/imfile/imfile.c runtime/stream.c tests/tcpflood.c
| * | | | Merge branch 'v4-devel' into v5-betaRainer Gerhards2010-10-152-8/+12
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | Conflicts: Makefile.am tests/tcpflood.c
| | * | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-10-151-8/+8
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/stream.c