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
[EMAIL PROTECTED] http://www.bandsman.co.uk


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to