| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
...which enables to configure HUP to be either a full restart
or "just" a leightweight way to close open files
|
|
|
|
|
|
| |
...to enable users to turn off pthread_yield calls which are
counter-productive on multiprocessor machines (but have been
shown to be useful on uniprocessors)
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- if queues could not be drained before timeout - thanks to
David Lang for pointing this out
- added link to german-language forum to doc set
|
| | |
| | |
| | |
| | | |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| |\|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This occured if queues could not be drained before timeout.
Thanks to David Lang for pointing this out.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This enables us to use more efficient calling conventions and
also helps us keep the on-disk structure of a msg object more
consistent in future releases.
|
|\| | |
|
| |\| |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
which so far seems to increase performance. There is also
reason for it to do so, see http://kb.monitorware.com/post14216.html#p14216
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Message parsing is now done as part of main message queue worker
processing (was part of the input thread) This should also improve
performance, as potentially more work is done in parallel.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cleaned up previous code and redid it in a way that makes
it much easier to extend it
also added a new macro DBGPRINTF which is a performance-optimzed
version of dbgprintf
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This enhances performance and, as some have pointed out, is
probably also more consistent with what users expect how
the various output-timestamp related function should work. This
commit needs some more testing.
|
| | |
| | |
| | |
| | | |
the critical section what could so with acceptable consequences
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...which enables to work with
less acurate timestamps in favor of performance. This enables querying
of the time only every n-th time if imudp is running in the tight
receive loop (aka receiving messsages at a high rate)
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| |\| |
|
| | |
| | |
| | |
| | |
| | | |
if that timestamp did not contain any subsecond information (the
resulting string was garbagge but should have been "0", what it now is).
|
| | |
| | |
| | |
| | |
| | |
| | | |
...this improves performance and consistency and also fixes
a bug where subsecond time properties generated by imfile, imklog and
internal messages could be slightly inconsistent.
|
|\| | |
|
| | | |
|
| |\ \ |
|
| | |\| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
runtime/net.c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
problem source is that getnameinfo() is not cancel-safe,
not that it is not thread-safe. It is now guarded against
cancellation.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
... but removed the mutex, as the problem seems to be in cancel
processing, so the mutex is no longer necessary
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- changed sequence when awakening thread
- removed no longer needed condition variable
- EXPERIMENTALLY added mutex guarding to hostname lookups
this is to be removed if it does not have any verifyable
useful effect
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- removed newly-introduced potential deadlock in debug system
- removed unnecessary pthread_cond_signal
- a bit general cleanup
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
runtime/debug.c
|
| | | |
|
| | |
| | |
| | |
| | | |
multi-threading
|
| | |
| | |
| | |
| | |
| | |
| | | |
destructor not yet permitted because verification is
missing that a atomic opration is sufficient for the
job required
|
| | |
| | |
| | |
| | |
| | | |
The code was potentially race, at least on systems where
a memory barrier was needed. Fix not fully tested yet.
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There was a wrong order of mutex lock operations. It is hard to
believe that really caused problems, but in theory it could and with
threading we often see that theory becomes practice if something is only
used long enough on a fast enough machine with enough CPUs ;)
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
removed
thanks to David Lang for his excellent performance analysis
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
runtime/rsyslog.h
tools/syslogd.c
|