I am running FreeBSD 4.9 w/ sendmail -> mimedefang -> clamav and spamassasin.
clamd seems to die for no apparent reason.. here is what I had from logs: >From ClamAV debug: ----- LibClamAV debug: Scanning /var/spool/MIMEDefang/mdefang-i1B7omll041275/Work/msg-39331-137.zip LibClamAV debug: Starting scanzip() LibClamAV debug: Zip -> DMSscan.psd, compressed: 11779462, normal: 13992803. LibClamAV debug: Zip -> DMSscan.psd: Size exceeded (13992803, max: 10485760) ----- >From ClamAV syslog: (Note the last line "ERROR") ----- Tue Feb 10 21:12:05 2004 -> +++ Started at Tue Feb 10 21:12:05 2004 Tue Feb 10 21:12:05 2004 -> Log file size limited to 5242880 bytes. Tue Feb 10 21:12:05 2004 -> Reading databases from /usr/local/share/clamav Tue Feb 10 21:12:06 2004 -> Protecting against 10131 viruses. Tue Feb 10 21:12:06 2004 -> Unix socket file /tmp/clamd Tue Feb 10 21:12:06 2004 -> Setting connection queue length to 15 Tue Feb 10 21:12:06 2004 -> Maximal number of threads: 5 Tue Feb 10 21:12:06 2004 -> Archive: Archived file size limit set to 10485760 b ytes. Tue Feb 10 21:12:06 2004 -> Archive: Recursion level limit set to 5. Tue Feb 10 21:12:06 2004 -> Archive: Files limit set to 1000. Tue Feb 10 21:12:06 2004 -> Archive support enabled. Tue Feb 10 21:12:06 2004 -> RAR support disabled. Tue Feb 10 21:12:06 2004 -> Mail files support enabled. Tue Feb 10 21:12:06 2004 -> Self checking every 3600 seconds. Tue Feb 10 21:12:06 2004 -> Timeout set to 180 seconds. Tue Feb 10 21:12:06 2004 -> SelfCheck: Database status OK. Tue Feb 10 22:12:44 2004 -> SelfCheck: Database status OK. Tue Feb 10 23:13:23 2004 -> SelfCheck: Database status OK. Tue Feb 10 23:51:21 2004 -> /var/spool/MIMEDefang/mdefang-i1B7omll041275/Work/m sg-39331-137.zip: File size limit exceeded. ERROR ----- >From sendmail maillog: ----- Feb 10 23:51:21 domain mimedefang-multiplexor: Slave 0 stderr: Out of memory during request for Feb 10 23:51:21 domain mimedefang-multiplexor: Slave 0 stderr: 8228 bytes, total sbrk() is 30545920 bytes! Feb 10 23:51:21 domain mimedefang-multiplexor: Slave 0 died prematurely -- check your filter rules Feb 10 23:51:21 domain mimedefang-multiplexor: Reap: Idle slave 0 (pid 39331) exited normally with status 1 (SLAVE DIED UNEXPECTEDLY) Feb 10 23:51:21 domain mimedefang-multiplexor: Slave 0 resource usage: req=74, scans=74, user=41.775, sys=0.929, nswap=0, majflt=0, minflt=7534, maxrss=31216, bi=24, bo=1767 Feb 10 23:51:21 domain mimedefang[36261]: Error from multiplexor: ERR No response from slave Feb 10 23:51:21 domain sendmail[41275]: i1B7omll041275: Milter: data, reject=451 4.7.1 Please try again later ----- Where can I start troubleshooting this? I've recompiled/installed mimedefang, clamav, and spamassasing from the latest ports tree in fbsd, and installed the latest perl and still have the same issue. Help! -gvb ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users