On Wed, Jul 05, 2006 at 10:08:22AM +0100, Beginner said:
> Hi,
> 
> Debian 3.1, Alpha GNU/Linux 2.4.27-2, clamd daemon 0.88.2 
> 
> I am using clamd with exim (exiscan) to scan emails. The other day the 
> systems became un-
> responsive and would not accept input from the console. It was getting the 
> error "fork: Resource 
> temporarily unavailable (35)".
> 
> The only reason I can find for this is the  large number of defunct clamd 
> processes. I restart clamd 
> yesterday and I already have 622
> ......
> clamav   21062 10100  0 09:45 ?        00:00:00 [clamd] <defunct>
> clamav   21081 10100  0 09:45 ?        00:00:00 [clamd] <defunct>
> clamav   21209 10100  0 09:46 ?        00:00:00 [clamd] <defunct>
> clamav   21275 10100  0 09:47 ?        00:00:00 [clamd] <defunct>
> clamav   21444 10100  0 09:50 ?        00:00:00 [clamd] <defunct>
> clamav   21579 10100  0 09:52 ?        00:00:00 [clamd] <defunct>
> clamav   21714 10100  0 09:53 ?        00:00:00 [clamd] <defunct>
> clamav   21831 10100  0 09:55 ?        00:00:00 [clamd] <defunct>
> clamav   21913 10100  1 09:56 ?        00:00:03 [clamd] <defunct>
> clamav   22024 10100  0 09:57 ?        00:00:00 [clamd] <defunct>
> clamav   22113 10100  0 09:58 ?        00:00:00 [clamd] <defunct>

I have another report of problems on alpha (unaligned traps) - do you
see anything in kern.log?  Can you debug this a bit (strace, gdb, etc)?

> The only potential cause for this that I can find is the ScanArchive 
> directive in clamd.conf. I have 
> tried to comment it out but when I re-start clamav the log shows "Archive 
> support enabled"
> 
> Is there something I can do to stop these zombie processes from growing (a 
> part from re-starting 
> clamd)? Is there some reason why the ScanArcive option is still enabled when 
> I have asked not 
> specified it?

ScanArchive is one fo the default options, and in order to disable it,
you need to add DisableDefaultScanOptions (I think I got the option
right - check the man page), and then readd the defaults you do want.

Take care,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Keep emotionally active.  Cater to your |
|  [EMAIL PROTECTED]             | favorite neurosis.                      |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

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

Reply via email to