diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-14 15:12:12 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-14 15:12:12 +0000 |
commit | 51ec17e88826559b493d7a57dd9cb6ea547ed3f3 (patch) | |
tree | 1ab24f0b8c342bbacd0519f5686b66c481259b15 /syslogd.c | |
parent | 3a40f52f897e8e3ef7fa665504fbbe557420fb59 (diff) | |
download | rsyslog-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |