I made the change to the 

sys/types.h

and everything now works fine without any errors.

Thanks...


Marc S. Brooks
Programmer/Systems Admin
Tech Deck/Modifiers Cars/Skumm/X Concepts
975 Andreasen
Escondido, CA 92029
760-740-2625 ph
760-740-2643 fx
[EMAIL PROTECTED]


> On Monday 29 Dec 2003 7:52 pm, Marc Brooks wrote:
> 
> > I have recently installed Clamav w/ clamav-milter and everything seems
to
> > work o.k.
> > Occasionally clamd will stop and the /var/messages logs the errors
below.
> >
> > Dec 25 11:09:59 localhost clamav-milter: ClamAv: fd 2224 is larger than
> > FD_SETSIZE 1024
> 
> This is a sendmail issue. As I understand it (and someone will no doubt
> gleefully shout at me if I am wrong), the problem is that whilst the
number of
> file descriptors available per process is configurable on some operating
systems (you
> didn't state which you are using), sendmail uses hard coded Posix values.
Look up
> FD_SETSIZE in /usr/include and set you number of per process file
descriptors to that, 
> restart the milter and then see what happens, on mine (Linux - Fedora Core
1) it is 
> 1024.
> Please report back to here since it will be useful to include in the
documentation.
> 
> -Nigel
> 
> -- 
> Nigel Horne. Arranger, Composer, Typesetter.
> NJH Music, Barnsley, UK.  ICQ#20252325
>
>
>-----Original Message-----
>From:  Marc Brooks  
>Sent:  Mon, 29 Dec 2003 13:04:27 -0800 
>To:    '[EMAIL PROTECTED]'
>Subject:       FD_SETSIZE error
>
> Hello,
>
> I have recently installed Clamav w/ clamav-milter and everything seems to
> work o.k.
> Occasionally clamd will stop and the /var/messages logs the errors below.
>
> Dec 25 11:09:59 localhost clamav-milter: ClamAv: fd 2224 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:02 localhost clamav-milter: ClamAv: fd 2225 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:05 localhost clamav-milter: ClamAv: fd 2225 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:05 localhost clamav-milter: ClamAv: fd 2226 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:05 localhost clamav-milter: ClamAv: fd 2225 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:11 localhost last message repeated 3 times
> Dec 25 11:10:11 localhost clamav-milter: ClamAv: fd 2226 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:13 localhost clamav-milter: ClamAv: fd 2225 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:33 localhost last message repeated 10 times
> Dec 25 11:10:37 localhost clamav-milter: ClamAv: fd 2228 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:38 localhost last message repeated 2 times
> Dec 25 11:10:38 localhost clamav-milter: ClamAv: fd 2229 is larger than
> FD_SETSIZE 1024
> Dec 25 11:10:39 localhost clamav-milter: ClamAv: fd 2228 is larger than
> FD_SETSIZE 1024
> Dec 25 11:11:08 localhost last message repeated 12 times
> Dec 25 11:11:17 localhost clamav-milter: ClamAv: fd 2233 is larger than
> FD_SETSIZE 1024
> Dec 25 11:11:49 localhost last message repeated 21 times
> Dec 25 11:13:04 localhost last message repeated 50 times
> Dec 25 11:13:04 localhost clamav-milter: ClamAv: fd 2234 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:04 localhost clamav-milter: ClamAv: fd 2233 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:37 localhost last message repeated 10 times
> Dec 25 11:13:43 localhost last message repeated 5 times
> Dec 25 11:13:43 localhost clamav-milter: ClamAv: fd 2234 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:43 localhost clamav-milter: ClamAv: fd 2235 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:46 localhost clamav-milter: ClamAv: fd 2233 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:48 localhost clamav-milter: ClamAv: fd 2233 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:48 localhost clamav-milter: ClamAv: fd 2234 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:48 localhost clamav-milter: ClamAv: fd 2233 is larger than
> FD_SETSIZE 1024
> Dec 25 11:13:48 localhost clamav-milter: ClamAv: fd 2234 is larger than
> FD_SETSIZE 1024

> Been pulling my hair out on this one. I realy don't understand why this is
> happening.
> Is this a file descriptor issue. If so what do I need to change to avoid
> this issue in the future.
> 
> Currently my # limit 's are:
> 
> cputime         unlimited
> filesize        unlimited
> datasize        524288 kbytes
> stacksize       65536 kbytes
> coredumpsize    unlimited
> memoryuse       unlimited
> vmemoryuse      unlimited
> descriptors     unlimited 
> memorylocked    unlimited
> maxproc         unlimited 
> sbsize  unlimited
> 
> Thanks in advance...
> 
> M. Brooks
> Sys Admin/Programmer


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to