[svs-devel] SVS clamdscan error
Brought to you by:
renereucher
From: Sebastien C. <sc...@dc...> - 2010-10-15 22:44:07
|
Hi! I've been using SVS for a while and it works pretty well. Performance is good too (that may also be due in part to samba 3.5 vs 3.0). Soon I'm going to install it on our production server but during testing I've come across something strange. A file would take some time to open and with debug activated I found this message : result = -1 (error spawning clamdscan, will retry operation) Sometime after 1-2 retry it works, sometime it's much more. I don't know why it does this. I couldn't find any issue with clamav. So far, it only does this on a virtual linux server (on ESX4). When I run clamdscan on the CLI, it works fine. SLES10, Samba 3.5.6, ClamAV 0.96.1, QT 4.5.3 and latest SVS from trunk. This is the full log trace : Oct 15 18:12:25 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: I: session started Oct 15 18:12:25 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: I: scanner thread 0: ready Oct 15 18:12:25 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: I: scanner thread 1: ready Oct 15 18:12:25 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: I: scanner thread 2: ready Oct 15 18:12:25 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: I: scanner thread 3: ready Oct 15 18:12:25 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: I: monitoring thread: readyOct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: open: handle = 93825002963344, path = /home/test-svr/test.txt, modified = no Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: thread manager: synchronous scan request: object enqueued for scanning: file = /home/test-svr/test.txt Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: thread manager: processing scan queue: queued objects = 1 Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 0: starting virus scan: file = /home/test-svr/test.txt Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 0: object re-enqueued for scanning: file = /home/test-svr/test.txt Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 0: finished virus scan: file = /home/test-svr/test.txt, result = -1 (error spawning clamdscan, will retry operation) Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 1: starting virus scan: file = /home/test-svr/test.txt Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 1: object re-enqueued for scanning: file = /home/test-svr/test.txt Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 1: finished virus scan: file = /home/test-svr/test.txt, result = -1 (error spawning clamdscan, will retry operation) Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 2: starting virus scan: file = /home/test-svr/test.txt Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: scanner thread 2: finished virus scan: file = /home/test-svr/test.txt, result = 0 (clean) Oct 15 18:12:27 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: thread manager: synchronous scan request: object contained in result cache: file = /home/test-svr/test.txt, result = clean Oct 15 18:12:34 test-svr svs_clamav[15458]: {76fa7434-ffe6-4051-81bf-55be7625ac28}: D: close: handle = 93825002963344, path = /home/test-svr/test.txt, modified = no If you need more information and testing I can help. |