| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
configure.ac
runtime/queue.c
|
| | |
| | |
| | |
| | | |
it didn't do so if it was inside a retry loop
|
| |/
| |
| |
| |
| |
| | |
... in more complex cases (where receiving SIGTTIN is not sufficient).
See also:
http://blog.gerhards.net/2013/04/rsyslog-output-plugin-wrangling.html
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
grammar/rainerscript.c
runtime/ruleset.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ |
|
|\ \ \
| | |/
| |/| |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
action.c
queue.c (some code moved from action.c --> queue.c)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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!).
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
I did yet another safety-check that there are no problems
with removing that de-init.
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
runtime/msg.c
runtime/queue.c
tools/syslogd.c
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
tools/syslogd.c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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).
|
| | | |
| | | |
| | | |
| | | | |
v7 does not even have this code any longer
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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...)
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
doc/v7compatibility.html
|
| |\| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was former the case after 1,000 failures and could cause rsyslog
to be spammed/ressou
|
| | | | | |
|
|/ / / / |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This still needs more optimizing as the call is very often
NOT needed - but we need to know about the templates in that
case.
|
| | |
| | |
| | |
| | | |
could lead to execution of not-to-be-executed action. very recent regression.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- removed no longer needed function
- debug log now contains action type for action objects
|
| | | |
|
|\| | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
This most importantly could happen due to configuration errors.
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
This was not yet adapted to the new "active" structure.
|
| | |
| | |
| | |
| | |
| | | |
NOTE: this is only compile-tested! For real testing, a module using
that mode is required. Will be done as next steps.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This patch does NOT contain any implementation, this will happen
next. Thanks to Miloslav Trmac, who suggested a similar mode, which
I based the JSON idea on.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
configure.ac
runtime/ruleset.c
tools/syslogd.c
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
action.c
configure.ac
doc/manual.html
runtime/ruleset.c
template.h
threads.c
tools/syslogd.c
|
| | |
| | |
| | |
| | | |
This is done to prevent name claches with libraries.
|