diff options
Diffstat (limited to 'conf/templates/clamd.conf.template.in')
-rw-r--r-- | conf/templates/clamd.conf.template.in | 27 |
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 |