Am 11.04.2013 15:50, schrieb Greg Folkert:
Is that checking your *OWN* mirror? If not, you are being throttled.
sure, I ask my own server of course.
But back to my main problem. clamscan wastes 3 seconts time loading the complete engine every time it is called.
Notice the timestamps! # echo 'DatabaseMirror clamav.datev.de'> /tmp/freshclam.conf # (/usr/bin/freshclam --config-file=/tmp/freshclam.conf --verbose --debug --no-dns; echo $?) 2>&1 | tai64n | tai64nlocal 2013-04-10 14:49:25.241597500 Current working dir is /var/lib/clamav 2013-04-10 14:49:25.241655500 Max retries == 3 2013-04-10 14:49:25.241840500 ClamAV update process started at Wed Apr 10 14:49:25 2013 2013-04-10 14:49:25.241841500 Using IPv6 aware code 2013-04-10 14:49:25.241935500 If-Modified-Since: Tue, 11 Oct 2011 14:34:20 GMT 2013-04-10 14:49:25.244810500 Connected to clamav.datev.de (IP: 193.27.49.165). 2013-04-10 14:49:25.244812500 Trying to retrieve CVD header ofhttp://clamav.datev.de/main.cvd 2013-04-10 14:49:25.246660500 OK 2013-04-10 14:49:25.246665500 main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven) 2013-04-10 14:49:25.246758500 If-Modified-Since: Wed, 10 Apr 2013 02:36:19 GMT 2013-04-10 14:49:25.246759500 Reading CVD header (daily.cvd): Connected to clamav.datev.de (IP: 193.27.49.165). 2013-04-10 14:49:25.248873500 Trying to retrieve CVD header ofhttp://clamav.datev.de/daily.cvd 2013-04-10 14:49:25.250376500 OK 2013-04-10 14:49:25.250380500 daily.cvd is up to date (version: 16985, sigs: 1079403, f-level: 63, builder: guitar) 2013-04-10 14:49:25.250449500 If-Modified-Since: Wed, 13 Feb 2013 15:29:15 GMT 2013-04-10 14:49:25.250449500 Reading CVD header (bytecode.cvd): Connected to clamav.datev.de (IP: 193.27.49.165). 2013-04-10 14:49:25.252128500 Trying to retrieve CVD header ofhttp://clamav.datev.de/bytecode.cvd 2013-04-10 14:49:25.253427500 OK 2013-04-10 14:49:25.253432500 bytecode.cvd is up to date (version: 214, sigs: 41, f-level: 63, builder: neo) 2013-04-10 14:49:25.253533500 LibClamAV debug: Initialized 0.97.7 engine 2013-04-10 14:49:25.253533500 LibClamAV debug: in cli_cvdload() 2013-04-10 14:49:25.253744500 LibClamAV debug: MD5(.tar.gz) = ff0c9c4e86dee9e705840537bd13ee71 2013-04-10 14:49:25.254423500 LibClamAV debug: cli_versig: Decoded signature: ff0c9c4e86dee9e705840537bd13ee71 2013-04-10 14:49:25.254424500 LibClamAV debug: cli_versig: Digital signature is correct. 2013-04-10 14:49:25.254435500 LibClamAV debug: in cli_tgzload() 2013-04-10 14:49:25.259901500 LibClamAV debug: bytecode.info loaded 2013-04-10 14:49:25.259913500 LibClamAV debug: in cli_tgzload() 2013-04-10 14:49:25.264665500 LibClamAV debug: Cleaning up phishcheck 2013-04-10 14:49:25.264666500 LibClamAV debug: Phishcheck cleaned up 2013-04-10 14:49:25.264699500 LibClamAV debug: Initialized 0.97.7 engine 2013-04-10 14:49:25.264699500 LibClamAV debug: in cli_cvdload() 2013-04-10 14:49:25.339354500 LibClamAV debug: MD5(.tar.gz) = ef015484e18b983ddf08425e2dad6a3f 2013-04-10 14:49:25.339964500 LibClamAV debug: cli_versig: Decoded signature: ef015484e18b983ddf08425e2dad6a3f 2013-04-10 14:49:25.339964500 LibClamAV debug: cli_versig: Digital signature is correct. 2013-04-10 14:49:25.339975500 LibClamAV debug: in cli_tgzload() 2013-04-10 14:49:25.345214500 LibClamAV debug: main.info loaded 2013-04-10 14:49:25.345219500 LibClamAV debug: in cli_tgzload() 2013-04-10 14:49:26.804849500 LibClamAV debug: Cleaning up phishcheck 2013-04-10 14:49:26.804850500 LibClamAV debug: Phishcheck cleaned up 2013-04-10 14:49:26.804873500 LibClamAV debug: Initialized 0.97.7 engine 2013-04-10 14:49:26.804874500 LibClamAV debug: in cli_cvdload() 2013-04-10 14:49:26.869060500 LibClamAV debug: MD5(.tar.gz) = da5da571c1a0369904550994d15dcc99 2013-04-10 14:49:26.869653500 LibClamAV debug: cli_versig: Decoded signature: da5da571c1a0369904550994d15dcc99 2013-04-10 14:49:26.869654500 LibClamAV debug: cli_versig: Digital signature is correct. 2013-04-10 14:49:26.869658500 LibClamAV debug: in cli_tgzload() 2013-04-10 14:49:26.875003500 LibClamAV debug: daily.info loaded 2013-04-10 14:49:26.875004500 LibClamAV debug: in cli_tgzload() 2013-04-10 14:49:28.147514500 LibClamAV debug: Cleaning up phishcheck 2013-04-10 14:49:28.147515500 LibClamAV debug: Phishcheck cleaned up 2013-04-10 14:49:28.147994500 0 Andreas _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml