summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* free last processed message in all casesRainer Gerhards2009-05-206-68/+129
| | | | | | | | | so far, the last processed message was only freed when the next one was processed. This has been changed now. More precisely, a better algorithm has been selected for the queue worker process, which also involves less overhead than the previous one. The fix for "free last processed message" as then more or less a side-effect (easy to do) of the new algorithm.
* yield() no longer needed on uniproc thanks to new algorithmsRainer Gerhards2009-05-203-42/+8
|
* solved the intended-discard-during-dequeue issueRainer Gerhards2009-05-193-11/+19
|
* some cleanupRainer Gerhards2009-05-192-87/+0
|
* queue size calculation now based on logical/physical dequeueRainer Gerhards2009-05-192-49/+68
| | | | | | ... needed to split the old single counter into two. I wouldn't bet that I made some mistakes while doing so, but at least some ad-hoc tests plus the testbench do no longer indicate errors.
* Merge branch 'master' into tmpRainer Gerhards2009-05-191-0/+1
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * Fix compiler warningsMichael Biebl2009-05-191-0/+1
| | | | | | | | | | | | include <string.h> for memcpy and strlen. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | removed queue's UngetObj() callRainer Gerhards2009-05-182-105/+11
| | | | | | | | ... which is no longer needed thanks to the new queue design.
* | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-185-57/+337
| | | | | | | | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
* | moved user object destruction to queue itselfRainer Gerhards2009-05-132-4/+38
| | | | | | | | | | | | So far, the consumer was responsible for destroying objects. However, this does not work well with ultra-reliable queues. This is the first move to support them.
* | added test for property replacer field functionality to testbenchRainer Gerhards2009-05-131-3/+1
| | | | | | | | plus some cosmetic changes
* | action batch processing implementedRainer Gerhards2009-05-122-1/+4
| | | | | | | | ... passed initial tests, but of course more are needed
* | one astrisk too much - and we have a segfault... - fixed ;)Rainer Gerhards2009-05-121-1/+1
| |
* | moving to a cleaner implementation of batchesRainer Gerhards2009-05-128-44/+114
| | | | | | | | ... now that we know what we need from a theoretical POV.
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-05-121-0/+1
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * added capability to draw configuration graphsRainer Gerhards2009-05-111-0/+1
| | | | | | | | | | | | | | | | - added $GenerateConfigGraph configuration command which can be used to generate nice-looking (and very informative) rsyslog configuration graphs. - added $ActionName configuration directive (currently only used for graph generation, but may find other uses)
* | first shot at action state machine implemention (untested)Rainer Gerhards2009-05-072-3/+24
| | | | | | | | | | I am commiting it so that the code is visible, but will no begin with the test environment.
* | begin implementation of new transactional output module interfaceRainer Gerhards2009-04-274-2/+112
| | | | | | | | code is not complete, error cases are not handled.
* | fixed abort condition in DA modeRainer Gerhards2009-04-233-4/+2
| |
* | fixing a small (newly-introduced) memory leakRainer Gerhards2009-04-233-17/+9
| | | | | | | | | | ... plus simplifying free() calls after agreement on mailing list that we no longer need to check if the pointer is non-NULL
* | added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-235-20/+19
| | | | | | | | configuration directives
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-04-231-4/+4
|\|
| * Merge branch 'beta'Rainer Gerhards2009-04-231-6/+8
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-231-6/+8
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| | | * bugfix: light and full delay watermarks had invalid valuesRainer Gerhards2009-04-231-6/+8
| | | | | | | | | | | | | | | | | | | | ... badly affecting performance for delayable inputs (but not causeing any other issues)
| | * | Merge branch 'beta'Rainer Gerhards2009-04-091-0/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tcpsrv.c tcpsrv.h Note: we have a slight inconsistency, as interface version v4 was already used for tcpsrv in this branch. We accept this inconsistency.
| | | * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-091-0/+2
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2009-04-091-0/+2
| | | | |
* | | | | improving debugging info a bitRainer Gerhards2009-04-231-2/+4
| | | | |
* | | | | now batches are handed down to the actual consumerRainer Gerhards2009-04-222-18/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but the action consumer does not do anything really intelligent with them. But the DA consumer is already done, as is the main message queue consumer.
* | | | | first attempt at dequeueing multiple batches inside the queueRainer Gerhards2009-04-227-79/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but this code has serious problems when terminating the queue, also it is far from being optimal. I will commit a series of patches (hopefully) as I am on the path to the final implementation.
* | | | | Merge branch 'master' into multi-dequeueRainer Gerhards2009-04-221-0/+2
|\| | | |
| * | | | some cleanupRainer Gerhards2009-04-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | ... mostly removal of compile-time warnings (thanks to Michael Biebl for suggesting to look after that)
* | | | | some cleanupRainer Gerhards2009-04-171-39/+0
|/ / / /
* | | | Merge branch 'nextmaster' into oracleRainer Gerhards2009-04-162-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * \ \ \ Merge branch 'omprog' into nextmasterRainer Gerhards2009-04-142-1/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| | * | | | improved omprog, now ready for first practical testingRainer Gerhards2009-04-011-0/+1
| | | | | |
| | * | | | initial work on omprog, an output module to send messages to another programRainer Gerhards2009-04-012-1/+2
| | | | | |
| * | | | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | | | | added a new error code for too-old rsyslog coreRainer Gerhards2009-04-161-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | which can be emittend when plugin can not load due to missing core functionality.
* | | | | bugfix: solved potential memory leak in msg processingRainer Gerhards2009-04-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | could manifest itself in imtcp (loss of a few bytes for *each* received message - but depended on config) -- this was newly introduced
* | | | | Merge branch 'master' into nextmasterRainer Gerhards2009-04-073-3/+11
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | Merge branch 'beta'Rainer Gerhards2009-04-073-3/+11
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html
| | * | | Merge branch 'v3-stable' into betaRainer Gerhards2009-04-027-9/+109
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | | * | preparing for 3.20.5 releasev3.20.5Rainer Gerhards2009-04-021-0/+8
| | | | |
| | | * | Merge branch 'dapatch' into v3-stableRainer Gerhards2009-04-025-6/+98
| | | |\ \
| | | * | | fixed bugs in RainerScriptvarmojfekoj2009-03-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - when converting a number and a string to a common type, both were actually converted to the other variable's type. - the value of rsCStrConvertToNumber() was miscalculated. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | improved internal handling of RainerScript functionsRainer Gerhards2009-04-069-30/+335
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - building the necessary plumbing to support more functions with decent runtime performance. This is also necessary towards the long-term goal of loadable library modules. - added new RainerScript function "tolower"
* | | | | improved parser test suiteRainer Gerhards2009-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | new tests added, now much better
* | | | | added a new way how output plugins may be passed parameters.Rainer Gerhards2009-04-033-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | This is more efficient for some outputs. They new can receive fields not only as a single string but rather in an array where each string is seperated.