summaryrefslogtreecommitdiffstats
path: root/runtime/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-04 12:27:50 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-04 12:27:50 +0200
commitb7dc779ba97320b8dde9a8978f8c11b22d5179e3 (patch)
tree1af002000e9437b2a91dd2584f3f0555c8d9110a /runtime/queue.c
parenta67ef0dee98b117571e5b1d861ecb572db53186a (diff)
downloadrsyslog-b7dc779ba97320b8dde9a8978f8c11b22d5179e3.tar.gz
rsyslog-b7dc779ba97320b8dde9a8978f8c11b22d5179e3.tar.bz2
rsyslog-b7dc779ba97320b8dde9a8978f8c11b22d5179e3.zip
change main/ruleset queue defaults to be more enterprise-like
new defaults are queue.size 100,000 max workers 2, worker activation after 40,000 msgs are queued, batch size 256. These settings are much more useful for enterprises and will not hurt low-end systems that much. This is part of our re-focus on enterprise needs.
Diffstat (limited to 'runtime/queue.c')
-rw-r--r--runtime/queue.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/queue.c b/runtime/queue.c
index f82d30ab..66cb7218 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -2149,11 +2149,13 @@ qqueueStart(qqueue_t *pThis) /* this is the ConstructionFinalizer */
}
DBGOPRINT((obj_t*) pThis, "type %d, enq-only %d, disk assisted %d, maxFileSz %lld, maxQSize %d, lqsize %d, pqsize %d, child %d, "
- "full delay %d, light delay %d, deq batch size %d starting, high wtrrmrk %d, low wtrmrk %d\n",
+ "full delay %d, light delay %d, deq batch size %d starting, high wtrmrk %d, low wtrmrk %d\n"
+ "max wrkr %d, min msgs f. wrkr %d\n",
pThis->qType, pThis->bEnqOnly, pThis->bIsDA, pThis->iMaxFileSize, pThis->iMaxQueueSize,
getLogicalQueueSize(pThis), getPhysicalQueueSize(pThis),
pThis->pqParent == NULL ? 0 : 1, pThis->iFullDlyMrk, pThis->iLightDlyMrk,
- pThis->iDeqBatchSize, pThis->iHighWtrMrk, pThis->iLowWtrMrk);
+ pThis->iDeqBatchSize, pThis->iHighWtrMrk, pThis->iLowWtrMrk,
+ pThis->iNumWorkerThreads, pThis->iMinMsgsPerWrkr);
pThis->bQueueStarted = 1;
if(pThis->qType == QUEUETYPE_DIRECT)