summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-14 15:12:12 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-14 15:12:12 +0000
commit51ec17e88826559b493d7a57dd9cb6ea547ed3f3 (patch)
tree1ab24f0b8c342bbacd0519f5686b66c481259b15 /syslogd.c
parent3a40f52f897e8e3ef7fa665504fbbe557420fb59 (diff)
downloadrsyslog-51ec17e88826559b493d7a57dd9cb6ea547ed3f3.tar.gz
rsyslog-51ec17e88826559b493d7a57dd9cb6ea547ed3f3.tar.xz
rsyslog-51ec17e88826559b493d7a57dd9cb6ea547ed3f3.zip
also implemented $MainMsgQueueDiscardMark logic on dequeue, changed
defaults
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index c23c6512..d3c93f92 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -408,7 +408,7 @@ static queue_t *pMsgQueue = NULL; /* the main message queue */
static int iMainMsgQueueSize = 10000; /* size of the main message queue above */
static int iMainMsgQHighWtrMark = 8000; /* high water mark for disk-assisted queues */
static int iMainMsgQLowWtrMark = 2000; /* low water mark for disk-assisted queues */
-static int iMainMsgQDiscardMark = 9750; /* begin to discard messages */
+static int iMainMsgQDiscardMark = 9800; /* begin to discard messages */
static int iMainMsgQDiscardSeverity = 4; /* discard warning and above */
static int iMainMsgQueueNumWorkers = 1; /* number of worker threads for the mm queue above */
static queueType_t MainMsgQueType = QUEUETYPE_FIXED_ARRAY; /* type of the main message queue above */
@@ -521,7 +521,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
iMainMsgQueueSize = 10000;
iMainMsgQHighWtrMark = 8000;
iMainMsgQLowWtrMark = 2000;
- iMainMsgQDiscardMark = 9750;
+ iMainMsgQDiscardMark = 9800;
iMainMsgQDiscardSeverity = 4;
iMainMsgQueMaxFileSize = 1024 * 1024;
iMainMsgQueueNumWorkers = 1;