summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* preparing for 5.5.6 releasev5.5.6Rainer Gerhards2010-07-216-7/+5
|
* added new parser modulesRainer Gerhards2010-07-1312-8/+341
| | | | | | | most importantly pmlastmsg, which handles the pathetic "last message repeated n times" messages that some syslogd's emit. Also some minor fixes, like wrong files names in make dist (for new files introduced after last release)
* fix: pmrfc3164 did not load because modInit was not specifiedRainer Gerhards2010-07-091-1/+1
| | | | ... in the proper way for a non.builtin module.
* added new pm3164sd parser moduleRainer Gerhards2010-07-074-0/+368
| | | | | | this permits to accept RFC5424 structured data from messages with RFC3164 header. This was compiled from existing modules by user izotov.
* Merge branch 'v5-stable' into masterRainer Gerhards2010-07-051-0/+6
|\ | | | | | | | | | | Conflicts: ChangeLog Makefile.am
| * Merge branch 'v4-stable' into tmpRainer Gerhards2010-07-0517-51/+340
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am tests/Makefile.am
* | \ Merge branch 'v4-devel'Rainer Gerhards2010-07-052-0/+3
|\ \ \
| * \ \ Merge branch 'v4-stable' into v4-develRainer Gerhards2010-07-052-0/+3
| |\ \ \ | | | |/ | | |/|
| | * | bugfix: segfault on HUP when "HUPIsRestart" was set to "on"varmojfekoj2010-07-052-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'tmp' into concurrent-outputRainer Gerhards2010-06-242-6/+12
|\ \ \ \
| * | | | made hardcoded max string number persistentRainer Gerhards2010-06-242-6/+12
| | | | | | | | | | | | | | | | | | | | see commit for reasoning
* | | | | added missing support for systems without atomic instructionsRainer Gerhards2010-06-243-1/+19
|/ / / /
* | | | bugfix: "$ActionExecOnlyWhenPreviousIsSuspended on" was brokenRainer Gerhards2010-06-2416-31/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that, as it looks, the directive was already broken in previous v5 versions. So while I solved what looked like a (intentional) regression from the performance tuning, I actually solved a previous regression as well ;) I have also added new test cases to the testbench in order to capture such problems in the future. This version does now look pretty good in shape.
* | | | fixed a couple of regressionsRainer Gerhards2010-06-2311-113/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by implementing some code that was missing so far ;) as well as finding some real bugs. I also did some general cleanup, removing debug strings and such. This code should be fairly OK to use, except when "exec only when previous action was suspended" is used -- this is NOT yet re-implemented in the tuned engine.
* | | | fixed problem in action message induced failure handlingRainer Gerhards2010-06-211-2/+2
| | | |
* | | | minor cleanupRainer Gerhards2010-06-211-3/+0
| | | |
* | | | fixed a problem with ACT_MESSAGE_PASSING type of doAction interfaceRainer Gerhards2010-06-152-28/+15
| | | |
* | | | milestone(BUGGY): batch now pushed down to actionRainer Gerhards2010-06-1512-79/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | at least in important cases (not for non-direct action queues and some other minor things). This version is definitely buggy, but may be tried with success on a non-production system. I will continue to work on the correctness, but needed to commit now to get a baseline.
* | | | milestone commit(BUGGY): batch is now handed down to rule processingRainer Gerhards2010-06-106-45/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, the full batch is passed down to the rule, which then enqueues the elements as single messages. Note that this code has some known defects and needs more changes until it is correct again. This is primarily a commit to be able to return to a known-(somewhat)-good state.
* | | | some cleanupRainer Gerhards2010-06-105-60/+24
| | | | | | | | | | | | | | | | | | | | as well as some work in preparation of storing doAction params inside the batch
* | | | fixed regression for omruleset use caseRainer Gerhards2010-06-102-6/+16
| | | | | | | | | | | | | | | | | | | | I did not revert to using the action ppMsg data element, as one of the next steps is to remove it by an overall much better solution.
* | | | Merge branch 'concurrent-output' into tmpRainer Gerhards2010-06-108-105/+162
|\ \ \ \
| * | | | main msg q consumer now preprocesses messages before doing rule processingRainer Gerhards2010-06-094-43/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things like ACL check and message parsing. This leads to a greater level of concurrent processing. Beware, though, that this commit duplicates some messages. May be a regression from this or an earlier commit. I will soon sort out.
| * | | | somewhat improved direct mode queue performanceRainer Gerhards2010-06-093-19/+42
| | | | | | | | | | | | | | | | | | | | | | | | | ... but only for batch enqueues. This will not help much with the current code, but will play well with upcoming changes.
| * | | | added support for high-performance action queue submission if not all mark ↵Rainer Gerhards2010-06-084-43/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | messages should be logged this was previously not properly handeld. This is also the first occurence of a (real) CAS loop inside rsyslog. Note that the performance is now very well in the default configuration, and mark message directives are still correctly being handled. So this code looks close to final, but needs to have some bug cleanup as the testsuite shows.
* | | | | fixing msg duplication & loss regression, causes slowdownRainer Gerhards2010-06-103-8/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | messages could get lost or be duplicated due to non-proper sync of transactions. This is a notable slowdown again, but we know how to get back concurrency, it just takes "some" more programming. It is important now to come back to correct code, so that we can base further improvements on that.
* | | | performance enhancement: implemented stage 1 firehose mode for actionsRainer Gerhards2010-06-083-13/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... plus some other tests, namely string generation in parallel to action processing. The code is not yet solid and not fully compatible to older versions. But it is good enough for an early commit and some early testing/gaining of experience. The optimization was done based on the fine-grained partitioning paradigm worked on the past couple of weeks -- seems to work out really great :)
* | | | bugfix: regression caused more locking action in msg.c than necessaryRainer Gerhards2010-06-086-43/+39
| | | | | | | | | | | | | | | | also: bugfix: mutexes used to similate atomic instructions were not destructed
* | | | finshed implementation of strgen modulesRainer Gerhards2010-06-0419-115/+705
| | | | | | | | | | | | | | | | | | | | | | | | and also provided four build-in modules for the most common use cases, hopefully resulting in a speedup of around 5% for typical rsyslog processing.
* | | | first implementation of strgen interfaceRainer Gerhards2010-06-0114-64/+644
| | | | | | | | | | | | | | | | | | | | and a first built-in strgen module. Some tweaks and more default strgens are needed, but the code doesn't look too bad ;)
* | | | experimental commit: facility to generate template via C functionRainer Gerhards2010-06-013-7/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a test done to try to generate templates with C code, via a new (potentially to-be-implemented) class of template modules. We have a rough POC inside this code, and it showed around 5% or better speedup. So it semms worth continuing in this direction. Note that this experimental commit works correct, but does any template in the form of $template tpl,=somewhat will lead to fixed template expansion based on the default file format.
* | | | Merge branch 'v4-devel'Rainer Gerhards2010-05-203-3/+4
|\| | |
| * | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-05-203-3/+4
| |\| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | some doc fixes; incorrect config samples could cause confusionRainer Gerhards2010-05-203-3/+4
| | | | | | | | | | | | | | | | thanks to Anthony Edwards for pointing the problems out
* | | | project status updateRainer Gerhards2010-05-201-4/+4
| | | |
* | | | fixed typo in docRainer Gerhards2010-05-201-1/+1
| | | |
* | | | preparing for 5.5.5v5.5.5Rainer Gerhards2010-05-203-3/+3
| | | |
* | | | fixed race conditions during queue shutdown (DA case, disks active)Rainer Gerhards2010-05-184-15/+33
| | | |
* | | | added new cancel-reduced action thread termination methodRainer Gerhards2010-05-175-3/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now manage to cancel threads that block inside a retry loop to terminate without the need to cancel the thread. Avoiding cancellation helps keep the system complexity minimal and thus provides for better stability. This also solves some issues with improper shutdown when inside an action retry loop.
* | | | some more cleanup and a nasty little bug i doDie()Rainer Gerhards2010-05-102-13/+15
| | | |
* | | | small cleanupRainer Gerhards2010-05-101-5/+0
| | | |
* | | | made ompgsql identify its version on loadRainer Gerhards2010-05-071-0/+1
| | | |
* | | | improved syncdemo tool - added "partition" mode...Rainer Gerhards2010-05-051-9/+47
| | | | | | | | | | | | | | | | | | | | ... and also analyzed the resulting assembly code to find out weak spots for the test. Explanations and new suggestions added.
* | | | updating project statusRainer Gerhards2010-05-032-8/+11
| | | |
* | | | Merge branch 'v4-devel'v5.5.4Rainer Gerhards2010-05-031-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | preparing for 4.7.2v4.7.2Rainer Gerhards2010-05-033-3/+3
| | | |
* | | | preparing for 5.5.4 releaseRainer Gerhards2010-05-034-6/+7
| | | |
* | | | added semaphores to sync test scenarioRainer Gerhards2010-05-021-12/+32
| | | |
* | | | enhanced tool to test timing of sync methodsRainer Gerhards2010-05-021-29/+93
| | | |
* | | | fixed recent regression: did not compile on systems with atomic instructionsRainer Gerhards2010-04-291-1/+1
| | | |