I tried softlimit but each clamscan process hangs.... :-/

----- Original Message ----- 
From: "Fajar A. Nugraha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 1:20 PM
Subject: Re: [Clamav-users] Clamd Leaking?


> Rich wrote:
> 
> >Is it advisable to use softlimits with clamd?
> >
> > exec /usr/local/bin/setuidgid qscand \
> >   /usr/local/bin/softlimit -a 40000000 /usr/local/sbin/clamd
> >
> >  
> >
> An immediate solution would be to use softlimit and clamdwatch.
> So,
> 
> clamd exceeds memory usage -> ulimit prevents allocationg memory ->
> scanning stops
> -> clamdwatch reports clamd dead -> kill clamd -> start clamd
> 
> Something like that.
> Although personally my clamd works great without leaks, I still use
> clamdwatch.
> http://mikecathey.com/code/clamdwatch/
> You might have to add script to kill & start clamd manually
> 
> Regards,
> 
> Fajar
> 
> 
> -- 
> Please avoid sending me Microsoft Office attachments.
> See http://www.newsforge.com/software/04/03/27/0134204.shtml
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
> deliver higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to