summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-0913-38/+46
| | | | | | 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.
* Merge branch 'master' into perfRainer Gerhards2008-10-092-1/+4
|\
| * Merge branch 'beta'Rainer Gerhards2008-10-092-1/+4
| |\
| | * Merge branch 'v3-stable' into betaRainer Gerhards2008-10-092-1/+4
| | |\
| | | * bugfix[minor]: light delay queue mark not properly handledRainer Gerhards2008-10-092-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | if queue size reached light_delay mark, enqueuing could potentially be blocked for a longer period of time, which was not the behaviour desired.
* | | | minor: reorder to slightly reduce size of critical sectionRainer Gerhards2008-10-091-1/+1
| | | |
* | | | added experimental pthread_yield()Rainer Gerhards2008-10-091-0/+5
| | | | | | | | | | | | | | | | | | | | which so far seems to increase performance. There is also reason for it to do so, see http://kb.monitorware.com/post14216.html#p14216
* | | | restoring msg parsing for imudpRainer Gerhards2008-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | I tried to work too quick this morning. A side-effect of an earlier change was that no UDP messages were parsed, which lead to their loss, because no PRI was set in this case.
* | | | bumped interface version number to reflect change to message parsingRainer Gerhards2008-10-092-2/+5
| | | |
* | | | fixing segfault caused by all inputs but imudpRainer Gerhards2008-10-092-1/+3
| | | |
* | | | reordered imudp processing.Rainer Gerhards2008-10-0811-20/+396
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | restructured imudp receive loopRainer Gerhards2008-10-082-60/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | cleanup of output timestamp generationRainer Gerhards2008-10-072-36/+6
| | | |
* | | | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-0713-33/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | slightly improved lock contention situation by moving out ofRainer Gerhards2008-10-071-3/+9
| | | | | | | | | | | | | | | | the critical section what could so with acceptable consequences
* | | | simple (yet efficient) name caching added to imudpRainer Gerhards2008-10-071-2/+18
| | | |
* | | | added $UDPServerTimeRequery optionRainer Gerhards2008-10-0610-35/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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)
* | | | Merge branch 'master' into perfRainer Gerhards2008-10-067-7/+18
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | Merge branch 'beta'Rainer Gerhards2008-10-022-1/+5
| |\| |
| | * | bugfix: subseconds where not correctly extracted from a timestampRainer Gerhards2008-10-022-1/+5
| | | | | | | | | | | | | | | | | | | | if that timestamp did not contain any subsecond information (the resulting string was garbagge but should have been "0", what it now is).
| * | | consolidated time calls during msg object creationRainer Gerhards2008-10-026-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | ...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.
* | | | very minor: performance optimization hint addedRainer Gerhards2008-10-021-0/+1
| | | |
* | | | performance-optimized imudpRainer Gerhards2008-10-022-34/+46
| | | |
* | | | some code cleanupRainer Gerhards2008-10-021-50/+48
| | | | | | | | | | | | | | | | removed code not actually needed in imupd
* | | | Merge branch 'helgrind' into perfRainer Gerhards2008-10-0214-24/+154
|\| | |
| * | | fixed git merge bug (duplicate code could not be detected)Rainer Gerhards2008-10-021-19/+0
| | | |
| * | | Merge branch 'master' into helgrindRainer Gerhards2008-10-029-10/+137
| |\ \ \
| | * | | Merge branch 'beta'Rainer Gerhards2008-10-029-13/+140
| | |\| |
| | | * | Merge branch 'v3-stable' into betaRainer Gerhards2008-10-029-13/+140
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/net.c
| | | | * bugfix: rsyslogd could hang on HUPRainer Gerhards2008-10-022-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because getnameinfo() is not cancel-safe, but was not guarded against being cancelled. pthread_cancel() is routinely being called during HUP processing.
| | | | * added doc on how to build from source repositoryRainer Gerhards2008-10-017-8/+77
| | | | |
| | | | * added index.html as an entry point to the manualRainer Gerhards2008-09-242-0/+33
| | | | | | | | | | | | | | | | | | | | thanks to Michael Biebl for suggesting it
| | | | * doc fix: the gss-api output plugin is called omgssapiMichael Biebl2008-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | | removed no longer needed mutex callsRainer Gerhards2008-10-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem source is that getnameinfo() is not cancel-safe, not that it is not thread-safe. It is now guarded against cancellation.
| * | | | bugfix: segfault when main queue was in direct modeRainer Gerhards2008-10-011-1/+1
| | | | |
| * | | | prevent getnameinfo() from being cancelledRainer Gerhards2008-09-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | ... but removed the mutex, as the problem seems to be in cancel processing, so the mutex is no longer necessary
| * | | | improved threadingRainer Gerhards2008-09-305-13/+35
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | Merge branch 'master' into perfRainer Gerhards2008-09-305-16/+221
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | bumping version number (partial)Rainer Gerhards2008-09-302-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am changing the way the version number is bumped so that viewer git merge conflicts happen. In the future, it will be bumped immediately before release and not immediately after (though this means I need to be more careful with interim versions).
| * | | Merge branch 'helgrind'v3.21.5Rainer Gerhards2008-09-309-157/+206
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | some prep for 3.21.5 releaseRainer Gerhards2008-09-301-1/+4
| | | | |
| * | | | minor: typo fixRainer Gerhards2008-09-231-1/+1
| | | | |
| * | | | Merge branch 'beta'Rainer Gerhards2008-09-234-6/+206
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | Conflicts: doc/troubleshoot.html
| | * | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-234-6/+205
| | |\ \ \ | | | | |/ | | | |/|
| | | * | added doc on malformed messages, cause and how to work-around, to the doc setRainer Gerhards2008-09-234-6/+205
| | | | |
* | | | | Merge branch 'helgrind' into perfRainer Gerhards2008-09-262-8/+15
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | some more threading cleanupRainer Gerhards2008-09-262-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed newly-introduced potential deadlock in debug system - removed unnecessary pthread_cond_signal - a bit general cleanup
* | | | | Merge branch 'helgrind' into perfRainer Gerhards2008-09-266-137/+103
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/debug.c
| * | | | fixed potential race condition on HUP and terminationRainer Gerhards2008-09-261-0/+2
| | | | |
| * | | | cleaned up internal debug system code and made it behave better in regard to ↵Rainer Gerhards2008-09-263-131/+89
| | | | | | | | | | | | | | | | | | | | multi-threading