summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
| * | | removed some complier warningsRainer Gerhards2010-04-212-4/+16
| | | |
* | | | cleanup of some compiler warningsRainer Gerhards2010-04-212-5/+17
| | | |
* | | | Merge branch 'v4-devel'Rainer Gerhards2010-04-192-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.h runtime/rsyslog.h runtime/stream.c
| * | | improved quality of imsolaris codeRainer Gerhards2010-04-192-1/+3
| | | | | | | | | | | | | | | | including refctoring for a more simple solution
| * | | changed flag value for v5-compatibilityRainer Gerhards2010-04-191-1/+1
| | | |
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-192-12/+18
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.h
| * | | changed imsolaris to use submitMsg() APIRainer Gerhards2010-04-192-12/+18
| | | | | | | | | | | | | | | | | | | | This includes a modification to the rsyslog engine so that messages without PRI inside the message can properly be handled.
* | | | some cleanupRainer Gerhards2010-04-191-1/+1
| | | |
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-192-1/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html runtime/debug.c runtime/rsyslog.h tests/Makefile.am tests/diag.sh tests/nettester.c tools/syslogd.c
| * | | first version of imsolaris created, cleanup for solaris doneRainer Gerhards2010-04-151-0/+2
| | | | | | | | | | | | | | | | more cleanup required, but things now basically work
| * | | slightly improved/cleaned up debugging systemRainer Gerhards2010-04-141-3/+16
| | | |
| * | | Merge branch 'v4-stable-solaris' into v4-develRainer Gerhards2010-04-1219-144/+498
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/omfile.c tools/syslogd.c
| * \ \ \ Merge branch 'v4-beta' into tmpRainer Gerhards2010-01-264-14/+28
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ Merge branch 'v4-beta' into v4-develRainer Gerhards2009-12-041-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ \ Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-251-1/+4
| |\ \ \ \ \ \
* | | | | | | | bugfix: netstream ptcp support class was not correctly build on systems ↵Rainer Gerhards2010-04-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without epoll() support
* | | | | | | | Merge branch 'beta' into masterRainer Gerhards2010-04-099-70/+150
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imudp/imudp.c runtime/stream.h tests/Makefile.am tests/diag.sh tools/omfile.c
| * \ \ \ \ \ \ \ Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-097-12/+219
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | / / | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| | * | | | | | bugfix: the T/P/E config size specifiers did not work properly under call ↵Rainer Gerhards2010-04-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32-bit platforms
| | * | | | | | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-072-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself
| | * | | | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-253-7/+33
| | |\ \ \ \ \ \ | | | | |_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | | | | | forgot to add file with last commitRainer Gerhards2010-03-231-0/+70
| | | | | | | |
| | * | | | | | added replacements for atomic instructions on systems that do not support them.Rainer Gerhards2010-03-233-0/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [backport of Stefen Sledz' patch for v5]
| | * | | | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-237-58/+129
| | |\ \ \ \ \ \