summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v7-devel'masterRainer Gerhards2013-11-291-44/+44
|\
| * another round of const qualifiers...Rainer Gerhards2013-11-291-44/+44
| |
| * nit: apply const qualifier to some functionsRainer Gerhards2013-11-291-15/+15
| |
* | nit: apply const qualifier to some functionsRainer Gerhards2013-11-291-15/+15
| |
* | Merge branch 'v7-devel' into tmpRainer Gerhards2013-11-295-46/+88
|\| | | | | | | | | Conflicts: action.c
| * actions now report if they suspend and resume themselvesRainer Gerhards2013-11-291-0/+4
| |
| * nit: update copyright datesRainer Gerhards2013-11-293-3/+3
| |
| * introduce new function to emit warning and other non-error messagesRainer Gerhards2013-11-294-42/+80
| | | | | | | | also refactor the error message subsystem a bit
| * use const keyword at (some) appropriate placesRainer Gerhards2013-11-294-8/+8
| |
| * regression fix: action queues with default settings did not start worker threadv7.5.7Rainer Gerhards2013-11-251-5/+3
| |
* | Merge branch 'v7-devel'Rainer Gerhards2013-11-211-12/+59
|\| | | | | | | | | Conflicts: runtime/queue.c
| * queue: dynamic default for discardMark, emit warning if set very lowRainer Gerhards2013-11-211-4/+29
| |
| * queue: guard various config param defaults against very low queue sizesRainer Gerhards2013-11-211-8/+27
| |
* | Merge branch 'v7-devel'Rainer Gerhards2013-11-211-8/+42
|\|
| * queue: add config parameter queue.spooldirectoryRainer Gerhards2013-11-211-0/+12
| | | | | | | | | | | | Conflicts: runtime/queue.c
| * Merge branch 'v7-stable' into v7-develRainer Gerhards2013-11-211-8/+30
| |\ | | | | | | | | | | | | Conflicts: runtime/queue.c
| | * queue: spool directory setting was not properly propagated to DA queueRainer Gerhards2013-11-211-1/+21
| | |
| | * refactor queue spool directory config handlingRainer Gerhards2013-11-211-7/+7
| | |
| | * bugfix: legacy directive $ActionQueueWorkerThreads was not honoredRainer Gerhards2013-11-192-0/+2
| | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| | * do not adjust batch size for disk queuesRainer Gerhards2013-11-071-1/+1
| | |
| | * do not complain for queue size on DA queuesRainer Gerhards2013-11-071-1/+2
| | |
* | | regression fix: prevent queue stall if ratelimiter is usedRainer Gerhards2013-11-202-3/+11
| | | | | | | | | | | | | | | Thanks to Pavel Levshin for alerting us. This regression was introduced roughly 2 hours ago and was never released.
* | | Merge branch 'master' into master-alternate-queue-mutexRainer Gerhards2013-11-201-5/+3
|\ \ \
| * | | regression fix: action queues with default settings did not start workersRainer Gerhards2013-11-201-5/+3
| | | | | | | | | | | | | | | | This was introduced yesterday and has not been part of any released version.
* | | | queue workers: eliminate unnecessary queue mutex operationsRainer Gerhards2013-11-201-12/+13
|/ / /
* | | Merge branch 'v7-devel'Rainer Gerhards2013-11-192-11/+42
|\| |
| * | queue.workerThreadMinimumMessage set to queue.size / num workersRainer Gerhards2013-11-191-2/+18
| | |
| * | bugfix: legacy directive $ActionQueueWorkerThreads was not honoredRainer Gerhards2013-11-192-0/+3
| | |
| * | queue: auto-adjust watermarksRainer Gerhards2013-11-191-10/+14
| | |
| * | queue: warn if high watermark is set too lowRainer Gerhards2013-11-191-0/+8
| | |
* | | bugfix: STOP/discard(~) was mostly NOT honoredRainer Gerhards2013-11-181-26/+49
| | | | | | | | | | | | This lead to execution of config code that was not meant to be executed.
* | | bugfix: memory leak on worker thread terminationRainer Gerhards2013-11-181-0/+4
| | |
* | | fix: ruleset queues were activated too earlyRainer Gerhards2013-11-143-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | This does not cause issues in v7, but here we have the problem that the total number of actions, which now is required for wti sizing, is not available at that early stage. So we needed to delay queue startup until everything is processed (just as it should have been already!). Note the previously we could have a segfault on first message when ruleset queues were used.
* | | regression fix: misadressing if worker thread was restartedRainer Gerhards2013-11-141-0/+1
| | |
* | | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-132-0/+16
|\ \ \
| * | | Merge branch 'master' into master-ruleengRainer Gerhards2013-11-072-0/+16
| |\| |
| | * | emit warning message if output module with msg passing mode runs asynchronouslyRainer Gerhards2013-11-072-0/+16
| | | |
* | | | Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-076-23/+25
|\| | |
| * | | Merge branch 'master' into master-ruleengRainer Gerhards2013-11-076-23/+25
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/wti.c runtime/wti.h
| | * | bugfix: regular workers are no longer started if DA worker is activePavel Levshin2013-11-071-8/+7
| | | | | | | | | | | | | | | | | | | | form mail: Look, below, if it is time to activate DA worker, we call it explicitly. But in this case we do not advise regular workers. They are likely already running at this point, but it is not guaranteed. What if, for example, the system is set to start additional workers when the queue is going over high watermark? What if HighWatermark is set to 1? Regular workers will not be started, and DA worker may fail. Thus, it is reasonable to advise regular workers even if we are going DA.
| | * | cleanup no longer needed codeRainer Gerhards2013-11-074-8/+1
| | | |
| | * | Merge branch 'master' into master-newwtipoolRainer Gerhards2013-11-071-2/+3
| | |\ \
| | | * | do not adjust batch size for disk queuesRainer Gerhards2013-11-071-1/+1
| | | | |
| | | * | do not complain for queue size on DA queuesRainer Gerhards2013-11-061-1/+2
| | | | |
| | * | | improve worker thread pool handlingPavel Levshin2013-11-064-6/+15
| | |/ / | | | | | | | | | | | | | | | | among others, make possible that workers really timeout and the pool thus shrinks
* | | | refactor iparams to use arrayRainer Gerhards2013-11-062-10/+16
| | | | | | | | | | | | | | | | this is also prep work for a single doTransaction() output mode api
* | | | refactor action disablingRainer Gerhards2013-11-062-6/+1
| | | |
* | | | enforce that actions can no longer "do something" on action creationRainer Gerhards2013-11-061-3/+2
| | | | | | | | | | | | | | | | | | | | This doesn't play well with config load/priv drop and was not strictly enforced in v7.
* | | | make batches of 1 commit automatically after each actionRainer Gerhards2013-11-062-0/+14
| | | | | | | | | | | | | | | | | | | | This improves failover handling and makes it consistent with doc (precise handling for batches of one).
* | | | re-enable bPrevWasSuspended handlingRainer Gerhards2013-11-061-0/+3
| | | |