clamav-users November 2010 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] What is the overhead of opening

Re: [Clamav-users] What is the overhead of opening and closing sockets?

From: Török Edwin <edwintorok_at_nospam>
Date: Thu Nov 04 2010 - 16:15:23 GMT
To: Wendy J Bossons <wbossons@MIT.EDU>

On Thu, 4 Nov 2010 11:50:40 -0400
Wendy J Bossons <wbossons@MIT.EDU> wrote:

> Ok. I see. That's good -- it is clearer.
>
> One question and this has been blocking my understanding as well --
> when I scan a small pdf, I am getting this . . . INSTREAM: Size limit
> reached, (requested: 4294967295, max: 25946112)
>
> The file is the clam doc.
> clamdoc
> (1).pdf<http://sts-demo.mit.edu/bitstream/handle/123456789/7/clamdoc%20%281%29.pdf?sequence=3>
> 262Kb
>
> The default chunk size is 2048.
>
>
> I am not sure why this would occur, or how to remedy it. Bumping this
> number in the clamd.conf to 50xxxxxxxxxx does not get rid of the
> error.

Read the docs, you need to send the chunk's size, then the contents.

Run clamd with Debug yes in clamd.conf, it will give more details about
protocol errors.

--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml