summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 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 '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
| | * imfile: bugfixes in regard to large files (> 2GB)Rainer Gerhards2010-10-151-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | - 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!)
| * | Merge branch 'v4-stable-imptcp' into tmpRainer Gerhards2010-08-111-0/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am configure.ac runtime/rsyslog.h tests/Makefile.am
| | * | added imptcpRainer Gerhards2010-08-101-0/+4
| | |/ | | | | | | | | | | | | imptcp is a simplified, Linux-specific and potentielly fast syslog plain tcp input plugin (NOT supporting TLS!)
| * | solving an error ID collision with v5 buildRainer Gerhards2010-08-061-1/+1
| | |
* | | Merge branch 'v4-devel'Rainer Gerhards2010-08-061-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/rsyslog_conf_modules.html runtime/rsyslog.h tests/Makefile.am
| * | added omuxsock, which permits to write message to local Unix socketsRainer Gerhards2010-08-061-0/+1
| | | | | | | | | | | | this is the counterpart to imuxsock, enabling fast local forwarding
* | | Merge branch 'v4-devel' into masterRainer Gerhards2010-08-051-1/+1
|\| | | | | | | | | | | | | | Conflicts: ChangeLog
| * | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-08-051-1/+1
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-08-051-1/+1
| | |\ | | | | | | | | | | | | | | | | Conflicts: runtime/conf.c
| | | * program name filter ! in the configuration cannot be resetKiss Gabor (Bitman)2010-08-051-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'v4-devel'Rainer Gerhards2010-07-051-0/+1
|\| | |
| * | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-07-051-0/+1
| |\| |
| | * | bugfix: segfault on HUP when "HUPIsRestart" was set to "on"varmojfekoj2010-07-051-0/+1
| | | | | | | | | | | | | | | | 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-241-0/+15
|/ / / /
* | | | bugfix: "$ActionExecOnlyWhenPreviousIsSuspended on" was brokenRainer Gerhards2010-06-244-23/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-235-34/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | milestone(BUGGY): batch now pushed down to actionRainer Gerhards2010-06-156-16/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-105-36/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-0/+7
| | | | | | | | | | | | | | | | | | | | as well as some work in preparation of storing doAction params inside the batch
* | | | Merge branch 'concurrent-output' into tmpRainer Gerhards2010-06-104-21/+43
|\ \ \ \
| * | | | main msg q consumer now preprocesses messages before doing rule processingRainer Gerhards2010-06-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-18/+41
| | | | | | | | | | | | | | | | | | | | | | | | | ... 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-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | bugfix: regression caused more locking action in msg.c than necessaryRainer Gerhards2010-06-082-12/+25
| | | | | | | | | | | | | | | | also: bugfix: mutexes used to similate atomic instructions were not destructed
* | | | finshed implementation of strgen modulesRainer Gerhards2010-06-045-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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-018-6/+439
| | | | | | | | | | | | | | | | | | | | 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-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | 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-172-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | small cleanupRainer Gerhards2010-05-101-5/+0
| | | |
* | | | fixed recent regression: did not compile on systems with atomic instructionsRainer Gerhards2010-04-291-1/+1
| | | |
* | | | adapted new atomic instruction emulation to v5 engineRainer Gerhards2010-04-278-34/+60
| | | | | | | | | | | | | | | | code did not compile after merge from v4
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-2716-221/+112
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/atomic.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h runtime/wtp.c runtime/wtp.h
| * | | bugfix: problems with atomic operations emulationRainer Gerhards2010-04-2715-226/+125
| | | | | | | | | | | | | | | | | | | | | | | | replaced atomic operation emulation with new code. The previous code seemed to have some issue and also limited concurrency severely. The whole atomic operation emulation has been rewritten.
* | | | Merge branch 'v5-stable' into masterRainer Gerhards2010-04-261-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | bugfix(minor): status variable was uninitializedRainer Gerhards2010-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | However, this would have caused harm only if NO parser modules at all were loaded, which would lead to a defunctional configuration at all. And, even more important, this is impossible as two parser modules are built-in and thus can not be "not loaded", so we always have a minimum of two.
| * | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-04-012-9/+9
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * | | temporary bugfix replaced by permanent one for...Rainer Gerhards2010-03-312-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...message-induced off-by-one error (potential segfault) (see 4.6.2) The analysis has been completed and a better fix been crafted and integrated.
* | | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-232-3/+1
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | minor fix: invalid duplicated include of config.hRainer Gerhards2010-04-231-2/+0
| | | | |
| * | | | fixed typo ... that caused compilation to fail on non-SolarisRainer Gerhards2010-04-221-1/+1
| | | | |
* | | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-233-14/+23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h runtime/wtp.c
| * | | | solved alignment errors on Solaris SparcRainer Gerhards2010-04-223-17/+21
| | | | |