Code

rrdtool plugin: Respect RandomTimeout while calling CacheFlush handler
[collectd.git] / src / collectd.conf.pod
index 27acc9974ea7cf8eac852da1ed7c001966fd7ed4..f94669ada70fd77a3f8b8f57822d029592928306 100644 (file)
@@ -6469,12 +6469,12 @@ it writes all values for a certain RRD-file if the oldest value is older than
 (or equal to) the number of seconds specified by B<CacheTimeout>.
 That check happens on new values arriwal. If some RRD-file is not updated
 anymore for some reason (the computer was shut down, the network is broken,
-etc.) some values may still be in the cache. If B<CacheFlush> is set, then the
-entire cache is searched for entries older than B<CacheTimeout> seconds and
-written to disk every I<Seconds> seconds. Since this is kind of expensive and
-does nothing under normal circumstances, this value should not be too small.
-900 seconds might be a good value, though setting this to 7200 seconds doesn't
-normally do much harm either.
+etc.) some values may still be in the cache. If B<CacheFlush> is set, then
+every I<Seconds> seconds the entire cache is searched for entries older than
+B<CacheTimeout> + B<RandomTimeout> seconds. The entries found are written to
+disk. Since entire cache scan is kind of expensive and does nothing under normal
+circumstances, this value should not be too small. 900 seconds might be a good
+value, though setting this to 7200 seconds doesn't normally do much harm either.
 
 Default value for this option is 10x of B<CacheTimeout>.
 If value of B<CacheFlush> less than value of B<CacheTimeout> then default value