summaryrefslogtreecommitdiffstats
path: root/runtime/queue.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | * \ \ Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-04-071-4/+8
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html
| | * \ \ \ Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-03-141-3/+2
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac
| | * \ \ \ \ Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-03-121-0/+9
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/imuxsock.html doc/manual.html runtime/queue.c
* | | | | | | | added --enable-debugless configure option for very high demanding environmentsRainer Gerhards2012-05-291-6/+6
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This actually at compile time disables a lot of debug code, resulting in some speedup (but serious loss of debugging capabilities)
* | | | | | | Merge branch 'v6-stable'Rainer Gerhards2012-05-101-11/+5
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | | | 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 in debug instrumentation have been fixed.
* | | | | | Merge branch 'v6-stable'Rainer Gerhards2012-05-031-6/+47
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| * | | | | bugfix: rsyslog did not terminate when delayable inputs were blockedRainer Gerhards2012-05-031-5/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...due to unvailable sources. Fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=299 Thanks to Marcin M for bringing up this problem and Andre Lorbach for helping to reproduce and fix it.
| * | | | | bugfix: inside queue.c, some thread cancel states were not correctly reset.Rainer Gerhards2012-05-031-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this is a bug, we assume it did have no practical effect because the reset as it was done was set to the state the code actually had at this point. But better fix this...
| * | | | | bugfix: active input in "light delay state" could block rsyslog terminationRainer Gerhards2012-04-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | at least for prolonged period of time...
* | | | | | Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-0/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c configure.ac doc/imuxsock.html plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c runtime/ruleset.c tcpsrv.h tools/syslogd.c
| * | | | | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-04-071-4/+8
| |\| | | | | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: configure.ac
| * | | | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-03-141-3/+2
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c runtime/queue.c runtime/queue.h
| * | | | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-03-121-1/+8
| |\ \ \ \
| * | | | | added configuration directives to customize queue light delay marksRainer Gerhards2012-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $MainMsgQueueLightDelayMark, $ActionQueueLightDelayMark; both specify number of messages starting at which a delay happens.
| * | | | | added instrumentationRainer Gerhards2011-12-191-1/+10
| | | | | |
* | | | | | Merge branch 'v6-stable'Rainer Gerhards2012-04-071-4/+8
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | bugfix: segfault on startup if $actionqueuefilename was missing for disk ↵Tomas Heinrich2012-04-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queue config Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | | | bugfix: segfault if disk-queue was started up with old queue fileTomas Heinrich2012-04-051-3/+6
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | added "date-unixtimestamp" property replacer option to format as a unix ↵Rainer Gerhards2012-03-291-1/+0
| | | | | | | | | | | | | | | | | | | | timestamp
* | | | | Merge branch 'v6-stable'Rainer Gerhards2012-03-171-3/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c runtime/queue.c runtime/queue.h
| * | | | changed statsobj interface and added better docRainer Gerhards2012-03-141-3/+2
| | |/ / | |/| |
* | | | Merge branch 'v6-stable'Rainer Gerhards2012-03-121-0/+8
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/queue.c
| * | | bugfix: stopped DA queue was never processed after a restartRainer Gerhards2012-03-121-1/+8
| |/ / | | | | | | | | | ...due to a regression from statistics module.
* | | Merge branch 'v5-devel'Rainer Gerhards2011-12-191-0/+9
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c
| * | experimental: added first stats counter to action objectRainer Gerhards2011-12-161-1/+1
| | |
| * | more work on queue statistics counterRainer Gerhards2011-12-161-4/+8
| | |
| * | new stats counter "discarded" for queue objectRainer Gerhards2011-12-161-0/+5
| | | | | | | | | | | | Tells how many messages have been discarded due to queue full condition.
| * | Merge branch 'v5-stable' into v5-develAndre Lorbach2011-08-181-0/+9
| |\| | | | | | | | | | | | | Conflicts: configure.ac
* | | Merge branch 'beta'Andre Lorbach2011-08-181-1/+8
|\ \ \ | | |/ | |/| | | | | | | Conflicts: runtime/queue.c
| * | removed debug code from action.c and runtime/queue.c after testingAndre Lorbach2011-08-181-4/+0
| | |
| * | bugfix: fixed incorrect state handling for Discard Action (transactions)Andre Lorbach2011-08-181-0/+13
| | |
* | | milestone: queue-params are properly initialized for action queuesRainer Gerhards2011-08-011-0/+34
| | |
* | | milestone: generic action parameters parsed via new config systemRainer Gerhards2011-08-011-1/+1
| | |
* | | milestone: queue object now has a param handler for new conf interfaceRainer Gerhards2011-07-221-39/+168
| |/ |/| | | | | ... and action queue defs use this new interface (but not yet the main queues)
* | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-06-211-4/+8
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * bugfix: mutex was invalidly left unlocked during action processingv5.8.2Rainer Gerhards2011-06-211-4/+8
| | | | | | | | | | | | | | | | | | At least one case where this can occur is during thread shutdown, which may be initiated by lower activity. In most cases, this is quite unlikely to happen. However, if it does, data structures may be corrupted which could lead to fatal failure and segfault. I detected this via a testbench test, not a user report. But I assume that some users may have had unreproducable aborts that were cause by this bug.
* | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-05-111-1/+5
|\|