summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2009-05-13 11:08:04 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2009-05-13 11:08:04 (GMT)
commita8145dd9e8d45fa73c344f32e5ae979b50d4c5fb (patch)
tree56ab0acc66c7a269da6971686fc5e8c5a733ad5b
parent29a7ae79b2a3968e85d7155f20685faa90d33b4e (diff)
downloadkolab-conf-a8145dd9e8d45fa73c344f32e5ae979b50d4c5fb.tar.gz
Updated kolabd templates for clamav-0.95.1-20090409
kolab/issue3513 (Clamav - new upstream version 0.95.1)
-rw-r--r--conf/templates/clamd.conf.template.in27
1 files changed, 21 insertions, 6 deletions
diff --git a/conf/templates/clamd.conf.template.in b/conf/templates/clamd.conf.template.in
index a530e65..1caae23 100644
--- a/conf/templates/clamd.conf.template.in
+++ b/conf/templates/clamd.conf.template.in
@@ -121,6 +121,26 @@ FixStaleSocket yes
# Default: 120
#ReadTimeout 300
+# This option specifies the time (in seconds) after which clamd should
+# timeout if a client doesn't provide any initial command after connecting.
+# Default: 5
+#CommandReadTimeout 5
+
+# This option specifies how long to wait (in miliseconds) if the send buffer is full.
+# Keep this value low to prevent clamd hanging
+#
+# Default: 500
+#SendBufTimeout 200
+
+# Maximum number of queued items (including those being processed by MaxThreads threads)
+# It is recommended to have this value at least twice MaxThreads if possible.
+# WARNING: you shouldn't increase this too much to avoid running out of file descriptors,
+# the following condition should hold:
+# MaxThreads*MaxRecursion + (MaxQueue - MaxThreads) + 6< RLIMIT_NOFILE (usual max is 1024)
+#
+# Default: 100
+#MaxQueue 200
+
# Waiting for a new job will timeout after this time (seconds).
# Default: 30
#IdleTimeout 60
@@ -144,7 +164,7 @@ FixStaleSocket yes
#FollowFileSymlinks yes
# Perform a database check.
-# Default: 1800 (30 min)
+# Default: 600 (10 min)
#SelfCheck 600
# Execute a command when virus is found. In the command string %v will
@@ -342,11 +362,6 @@ User @clamav_rusr@
# Default: yes
#ScanArchive yes
-# Use slower but memory efficient decompression algorithm.
-# only affects the bzip2 decompressor.
-# Default: no
-#ArchiveLimitMemoryUsage yes
-
# Mark encrypted archives as viruses (Encrypted.Zip, Encrypted.RAR).
# Default: no
#ArchiveBlockEncrypted no