summaryrefslogtreecommitdiffstats
path: root/runtime/queue.c
Commit message (Collapse)AuthorAgeFilesLines
* debug: improve queue startup debug outputRainer Gerhards2013-07-191-4/+4
|
* regression fix: %d used for long long types in debug outputRainer Gerhards2013-07-171-1/+3
| | | | | regression from recent DA queue bug fix set of patches; not present in any released code.
* cosmetic bugfix: file name buffer was not freed on disk queue destructionRainer Gerhards2013-07-171-1/+2
| | | | | This was an extremely small one-time per run memleak, so nothing of concern. However, it bugs under valgrind and similar memory debuggers.
* add note on a potential future troublespotRainer Gerhards2013-07-161-1/+8
|
* Fixed return state handling in ConsumerDAAndre Lorbach2013-07-161-2/+19
| | | | | | | | | The queue full loop fix added a problem to the queue when rsyslog was shutdown. This problem has been corrected now. Conflicts: runtime/queue.c
* bugfix: 100% CPU utilization when DA queue became fullAndre Lorbach2013-07-151-3/+15
|
* nit: use correct function names in new debug instrumentationRainer Gerhards2013-07-131-12/+12
|
* Changed and extended debug output in queue/action classes for further analysisAndre Lorbach2013-07-131-6/+6
|
* bugfix: segfault on startup if a disk queue was configure without file nameRainer Gerhards2013-05-081-0/+6
| | | | | Now this triggers an error message and the queue is changed to linkedList type.
* cleanupRainer Gerhards2013-04-241-2/+0
|
* Merge branch 'c7' into tmpRainer Gerhards2013-04-091-3/+4
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/queue.c
| * make imrelp properly terminate on system shutdownRainer Gerhards2013-04-091-1/+4
| | | | | | | | it didn't do so if it was inside a retry loop
| * add output module interface to facilitate cooperative shutdownRainer Gerhards2013-04-081-2/+0
| | | | | | | | | | | | ... in more complex cases (where receiving SIGTTIN is not sufficient). See also: http://blog.gerhards.net/2013/04/rsyslog-output-plugin-wrangling.html
| * Merge branch 'v6-stable' into tmpRainer Gerhards2013-03-201-1/+1
| |\
* | \ Merge branch 'v6-stable'Rainer Gerhards2013-03-121-1/+1
|\ \ \ | | |/ | |/|
| * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-121-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: action.c queue.c (some code moved from action.c --> queue.c)
| | * \ Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-08-221-3/+5
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/ruleset.c
| | | * | undo last queue patch - caused a regressionRainer Gerhards2012-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | some more elaborate patch is needed and will be provided
| | | * | bugfix: DA queue fixed handling of bad queue files.Andre Lorbach2012-07-311-1/+1
| | | | |
* | | | | optimize memory layout for much better cache hitsRainer Gerhards2013-01-151-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!).
* | | | | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-2/+41
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * | | | fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-301-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
| * | | | silence compiler warningsRainer Gerhards2012-11-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | the changes do not affect actual code execution, just keep the compile log clean.
| * | | | silence compiler warnings & some cleanupRainer Gerhards2012-11-141-1/+1
| | | | |
* | | | | queue: file delete stream does no longer do real ioRainer Gerhards2012-11-191-62/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stream is primarily used for state tracking, and has been modified to do just that. This results in considerable less io being done and the respective speedup.
* | | | | queue: reduce CPU load for deserializing message propertiesRainer Gerhards2012-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Linear runtime due to message order. Was quadratic before. However, not a big overall improvement.
* | | | | queue: mini-improvement in deserializer (stage work)Rainer Gerhards2012-11-051-2/+2
| | | | |
* | | | | queue: handle unknown queue type in debug outputRainer Gerhards2012-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | note: can not happen, but...
* | | | | queue: remove time() calls from msg deserializationRainer Gerhards2012-11-031-4/+16
| | | | |
* | | | | queue: use specific deserializer for msg objectRainer Gerhards2012-11-031-3/+2
| | | | | | | | | | | | | | | | | | | | spares lengthy table lookups
* | | | | queue: remove unnecessary (obj_t*) redirection from msg ptrsRainer Gerhards2012-11-031-42/+40
| | | | |
* | | | | queue: change generic msg ptr (pUsr) to be of msg_t typeRainer Gerhards2012-11-031-30/+29
| | | | |
* | | | | queue: change gerenic queue pUsr ptr to be action_tRainer Gerhards2012-11-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was always action_t, but the initial design was more generic. We are making it specific now in order to gain better performance (after all, we did not need the generic engine in the past 8 years...)
* | | | | generate disk .qi file once at queue constructionRainer Gerhards2012-11-021-16/+11
| | | | | | | | | | | | | | | | | | | | | | | | | ... instead of each time a file write happens. In some situations (very frequent sync), this can probably be a big performane win.
* | | | | cosmetic: get rid of compiler warning on currently unused debug codeRainer Gerhards2012-10-191-1/+1
|/ / / /
* | | | fix optimizer-introduced memleak in action destructionRainer Gerhards2012-09-251-61/+63
| | | |
* | | | bugfix: debug output indicated improper queue typeRainer Gerhards2012-09-191-0/+4
| | | |
* | | | new ruleengine: fixed action handling in regard to filtersRainer Gerhards2012-09-121-2/+2
|/ / / | | | | | | | | | This was not yet adapted to the new "active" structure.
* | | Merge branch 'beta'Rainer Gerhards2012-07-241-0/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * \ \ Merge branch 'v5-stable' into betaRainer Gerhards2012-07-241-3/+5
| |\ \ \ | | | |/ | | |/|
| * | | debug log: cleaned up & streamlined queue param outputRainer Gerhards2012-07-051-20/+43
| | | |
| * | | debug log: emit (some) action queue parameters to debug logRainer Gerhards2012-07-051-0/+26
| | | |
* | | | Merge branch 'v5-stable'Rainer Gerhards2012-07-241-3/+5
|\ \ \ \ | | |/ / | |/| |
| * | | bugfix: DA queue could cause abortRainer Gerhards2012-07-241-3/+5
| | | | | | | | | | | | | | | | | | | | ...due to invalid mutex synchronisation in DA worker. In case of idle queue, mutex was incorrectly locked.
* | | | Merge branch 'beta'Rainer Gerhards2012-06-011-10/+16
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'v5-beta' into betaRainer Gerhards2012-06-011-10/+16
| |\ \ \ | | | |/ | | |/|
| | * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-011-10/+16
| | |\| | | | | | | | | | | | | | | | | Conflicts: runtime/queue.c
| | | * some better code to handle queue congestionRainer Gerhards2012-06-011-10/+15
| | | | | | | | | | | | | | | | | | | | This is a minor optimization to spare some cycles if the timeout is set to immediate discard
| | * | bugfix: disk queue was not persisted on shutdown, regression of fix toRainer Gerhards2012-05-101-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://bugzilla.adiscon.com/show_bug.cgi?id=299 The new code also handles the case of shutdown of blocking light and full delayable sources somewhat smarter and permits, assuming sufficient timouts, to persist message up to the max queue capacity. Also some nits debug instrumentation have been fixed.
| | * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-05-031-7/+47
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html