Are you losing system logging information (and don't know it)?
Last Updated: 2013-02-06 20:30:17 UTC
by Johannes Ullrich (Version: 1)
(This is a guest diary submitted by Bill Parker)
Comments
New Comments closed for all Diaries older than two(2) weeks
Please send your comments to our Contact Form

Diary Archives
The text below is what Mr. Rollinson sent me:
Part of your recommendation to reduce the risk of losing logging information uses incorrect logic. As you stated, if the "Burst Limit" is 500 and the "Interval Limit" is 10, then more than 200 messages in a 5 second period will trigger rate limiting. This is equivalent to an average rate of 40 messages/second. If we followed you first recommendation and increased the "Burst Limit" AND the "Interval Limit," we might do something like set the "Burst Limit" to 250 and the "Burst Interval" to 10 which would cause the rate limit to be triggered if we received more than 250 messages in a 10 second period. This is equivalent to an average of 25 messages/second.
This means that if something triggered 100 messages/second for a 10 second time interval, the default would discard approximately 600 messages (depending on the exact implementation) but the "improved" method could discard approximately 750 messages. The proper way to reduce the risk of discarding messages would be to INCREASE the "Burst Limit" and/or DECREASE the "Interval Limit." This would guarantee that the message rate that triggers the limit has increased.
I didn't consider the issue of the values when examining this issue, though the second solution in the article (turning off rate-limiting completely) would solve the problem faced in the first solution.