Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | refactor: move action resume retry counter to wti_t | Rainer Gerhards | 2013-11-01 | 1 | -3/+4 | |
| | | | ||||||
* | | | some debug aids & useful commments for going forward | Rainer Gerhards | 2013-11-01 | 1 | -1/+11 | |
| | | | ||||||
* | | | refactor: move handling too-frequent tryResume == OK to wti_t | Rainer Gerhards | 2013-11-01 | 1 | -6/+6 | |
| | | | ||||||
* | | | refactor: move action state to wti (as we are now on a per-thread basis) | Rainer Gerhards | 2013-11-01 | 1 | -62/+64 | |
| | | | ||||||
* | | | cosmetic: remove commented-out code | Rainer Gerhards | 2013-11-01 | 1 | -2/+0 | |
|/ / | ||||||
* | | fix v8 output interface transaction begin handling | Rainer Gerhards | 2013-10-31 | 1 | -12/+22 | |
| | | ||||||
* | | call freeWrkrInstance() on worker thread termination | Rainer Gerhards | 2013-10-29 | 1 | -4/+6 | |
| | | ||||||
* | | milestone: action mutex removed | Rainer Gerhards | 2013-10-29 | 1 | -27/+6 | |
| | | | | | | | | | | This means actions may now be called concurrently and must make provisions themselves to handle multi-threading. | |||||
* | | add debug output for worker actions | Rainer Gerhards | 2013-10-29 | 1 | -0/+1 | |
| | | ||||||
* | | milestone: action engine changed to partially support wrkr instance action ↵ | Rainer Gerhards | 2013-10-28 | 1 | -8/+13 | |
| | | | | | | | | interface | |||||
* | | milestone: now shuffeling wti ptr correctly down to action handler | Rainer Gerhards | 2013-10-27 | 1 | -5/+5 | |
| | | | | | | | | | | except if main queue is in direct mode -- this need smore work and thinking (probably via pthreads state variables, but let's see later) | |||||
* | | milestone: calling sequence changed so that wti is passed to many functions | Rainer Gerhards | 2013-10-26 | 1 | -31/+34 | |
| | | ||||||
* | | maintain action ids (actionNbr) | Rainer Gerhards | 2013-10-26 | 1 | -4/+5 | |
|/ | ||||||
* | experimental: make impstats return delta values where possible | Rainer Gerhards | 2013-09-07 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'v7-stable' | Rainer Gerhards | 2013-09-03 | 1 | -1/+1 | |
|\ | ||||||
| * | make rsyslog use the new json-c pkgconfig file if available | hwoarang | 2013-09-03 | 1 | -1/+1 | |
| | | ||||||
* | | enable shuffling of crypto parameters down through queue definition | Rainer Gerhards | 2013-05-10 | 1 | -9/+6 | |
|/ | ||||||
* | cleanup | Rainer Gerhards | 2013-04-24 | 1 | -1/+0 | |
| | ||||||
* | Merge branch 'v7-stable' | Rainer Gerhards | 2013-04-12 | 1 | -1/+1 | |
|\ | ||||||
| * | bugfix: parameter action.execOnlyWhenPreviousIsSuspended was accidently of ↵ | Rainer Gerhards | 2013-04-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | integer-type For obvious reasons, it needs to be boolean. Note that this change can break existing configurations if they circumvented the problem by using 0/1 values. | |||||
* | | Merge branch 'c7' into tmp | Rainer Gerhards | 2013-04-09 | 1 | -3/+9 | |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/queue.c | |||||
| * | | make imrelp properly terminate on system shutdown | Rainer Gerhards | 2013-04-09 | 1 | -3/+7 | |
| | | | | | | | | | | | | it didn't do so if it was inside a retry loop | |||||
| * | | add output module interface to facilitate cooperative shutdown | Rainer Gerhards | 2013-04-08 | 1 | -0/+2 | |
| |/ | | | | | | | | | | | ... 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 'v7-stable' | Rainer Gerhards | 2013-04-08 | 1 | -10/+20 | |
|\| | | | | | | | | | | | Conflicts: grammar/rainerscript.c runtime/ruleset.c | |||||
| * | bugfix: failover/action suspend did not work correctly | Rainer Gerhards | 2013-04-07 | 1 | -10/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This was experienced if the retry action took more than one second to complete. For suspending, a cached timestamp was used, and if the retry took longer, that timestamp was already in the past. As a result, the action never was kept in suspended state, and as such no failover happened. The suspend functionalit now does no longer use the cached timestamp (should not have any performance implication, as action suspend occurs very infrequently). Also added some better debug logging for the action engine. | |||||
| * | Merge branch 'v6-stable' into tmp | Rainer Gerhards | 2013-03-20 | 1 | -1/+1 | |
| |\ | ||||||
* | \ | Merge branch 'v6-stable' | Rainer Gerhards | 2013-03-12 | 1 | -1/+1 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Merge branch 'v5-stable' into v6-stable | Rainer Gerhards | 2013-03-12 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c queue.c (some code moved from action.c --> queue.c) | |||||
| | * | | bugfix: divide action queue discard mark by 10 - was out of range | Tomas Heinrich | 2013-03-12 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | optimize memory layout for much better cache hits | Rainer Gerhards | 2013-01-15 | 1 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!). | |||||
* | | | | optimize: do not iterate over batch items if unneeded ;) | Rainer Gerhards | 2013-01-15 | 1 | -5/+8 | |
| | | | | ||||||
* | | | | optimize: minor cleanup (long scheduled...) | Rainer Gerhards | 2013-01-14 | 1 | -9/+0 | |
| | | | | | | | | | | | | | | | | | | | | I did yet another safety-check that there are no problems with removing that de-init. | |||||
* | | | | optimize: do date() call in template processing only if actually needed | Rainer Gerhards | 2013-01-13 | 1 | -25/+2 | |
| | | | | ||||||
* | | | | Merge branch 'v7-stable-newmsglock' into master-newmsglock | Rainer Gerhards | 2012-12-06 | 1 | -8/+0 | |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c | |||||
| * | | | Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglock | Rainer Gerhards | 2012-12-06 | 1 | -8/+0 | |
| |\| | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c | |||||
| | * | | bugfix: some message properties could be garbled due to race condition | Rainer Gerhards | 2012-12-06 | 1 | -8/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened only on very high volume systems, if the same message was being processed by two different actions. This was a regression caused by the new config processor, which did no longer properly enable msg locking in multithreaded cases. The bugfix is actually a refactoring of the msg locking code - we no longer do unlocked operations, as the use case for it has mostly gone away. It is potentially possible only at very low-end systems, and there the small additional overhead of doing the locking does not really hurt. Instead, the removal of that capability can actually slightly improve performance in common cases, as the code path is smaller and requires slightly less memory writes. That probably outperforms the extra locking overhead (which in the low-end case always happens in user space, without need for kernel support as we can always directly aquire the lock - there is no contention at all). | |||||
| | * | | cosmetic: remove irrelevant compiler warning | Rainer Gerhards | 2012-09-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | v7 does not even have this code any longer | |||||
* | | | | bugfix: error message had an extra LF in it (can break forwarding & tools) | Rainer Gerhards | 2012-11-29 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | queue: change generic msg ptr (pUsr) to be of msg_t type | Rainer Gerhards | 2012-11-03 | 1 | -8/+8 | |
| | | | | ||||||
* | | | | queue: change gerenic queue pUsr ptr to be action_t | Rainer Gerhards | 2012-11-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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...) | |||||
* | | | | Merge branch 'master' into master-ratelimit | Rainer Gerhards | 2012-10-24 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/v7compatibility.html | |||||
| * | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2012-10-24 | 1 | -1/+1 | |
| |\| | | | ||||||
| | * | | | make rsyslog core suspened actions after 10 failures in a row | Rainer Gerhards | 2012-10-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This was former the case after 1,000 failures and could cause rsyslog to be spammed/ressou | |||||
| * | | | | bugfix: segfault on startup when modules using MSG_PASSING mode are used | Rainer Gerhards | 2012-10-23 | 1 | -1/+4 | |
| | | | | | ||||||
* | | | | | remove "last message repeated n times" from rsyslog output part | Rainer Gerhards | 2012-10-23 | 1 | -126/+16 | |
|/ / / / | ||||||
* | | | | do "template date call" only when actually needed | Rainer Gerhards | 2012-10-11 | 1 | -1/+22 | |
| | | | | ||||||
* | | | | optimize: do "template time() call" only once per batch | Rainer Gerhards | 2012-10-10 | 1 | -5/+8 | |
|/ / / | | | | | | | | | | | | | | | | This still needs more optimizing as the call is very often NOT needed - but we need to know about the templates in that case. | |||||
* | | | fix invalid state handling during action execution | Rainer Gerhards | 2012-09-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | could lead to execution of not-to-be-executed action. very recent regression. | |||||
* | | | fix optimizer-introduced memleak in action destruction | Rainer Gerhards | 2012-09-25 | 1 | -1/+2 | |
| | | | ||||||
* | | | cleanup & better debug output | Rainer Gerhards | 2012-09-24 | 1 | -27/+0 | |
| | | | | | | | | | | | | | | | - removed no longer needed function - debug log now contains action type for action objects |