summaryrefslogtreecommitdiffstats
path: root/doc/rsyslog_conf.html
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-10-06 14:25:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-10-06 14:25:23 +0200
commit65f74a712b111f946faaddd0583a6c7b22bd062f (patch)
treed9bafbb142d97004b856e71865a87a19324e5b7c /doc/rsyslog_conf.html
parentb849df20045ca5dfec36cdff5641e8a78d326b49 (diff)
downloadrsyslog-65f74a712b111f946faaddd0583a6c7b22bd062f.tar.gz
rsyslog-65f74a712b111f946faaddd0583a6c7b22bd062f.tar.xz
rsyslog-65f74a712b111f946faaddd0583a6c7b22bd062f.zip
added $UDPServerTimeRequery option
...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
Diffstat (limited to 'doc/rsyslog_conf.html')
-rw-r--r--doc/rsyslog_conf.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html
index 7cd40cb7..2b773476 100644
--- a/doc/rsyslog_conf.html
+++ b/doc/rsyslog_conf.html
@@ -243,6 +243,14 @@ address (or name) the UDP listens should bind to</li>
<li>$UDPServerRun &lt;port&gt; (imudp) -- former
-r&lt;port&gt; option, default 514, start UDP server on this
port, "*" means all addresses</li>
+<li>$UDPServerTimeRequery &lt;nbr-of-times&gt; (imudp) -- this is a performance
+optimization. Getting the system time is very costly. With this setting, imudp can
+be instructed to obtain the precise time only once every n-times. This logic is
+only activated if messages come in at a very fast rate, so doing less frequent
+time calls should usually be acceptable. The default value is two, because we have
+seen that even without optimization the kernel often returns twice the identical time.
+You can set this value as high as you like, but do so at your own risk. The higher
+the value, the less precise the timestamp.
<li><a href="rsconf1_umask.html">$UMASK</a></li>
</ul>
<p><b>Where &lt;size_nbr&gt; is specified above,</b>