On Fri, 2005-03-04 at 11:59 -0500, Robert Blayzor wrote:
> Trog wrote:
> > What software are you using to do stream scanning? It is switched off by
> > default in clamav-milter 0.83
> 
> 
> I'm using a PERL script that is taking the messages and stream scanning
> them with clamd.  It's been running fine for many months with various
> versions of clamd.  I've just only recently noticed this twice while
> using clamd 0.83...
> 
> In the script's log it shows it connecting to clamd, sending the STREAM
> command but then clamd never responds.  The script times out after 20
> seconds and continues.
> 
> It seems to be sparked by sending about half a dozen scan requests all
> at the same time.  I thought maybe it was load related, but the box goes
> for several minutes with no load while waiting for clamd to respond.
> 

You can't send multiple commands. You *must* follow the following sequence:

send: SESSION
pause
send: SCAN /my/file
read reply
send: SCAN /my/file2
read reply

etc.

-trog

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to