Last Snapshot seems ok but in case of here is my solution :-))
#!/usr/local/bin/bash
# clamwatch is getting an eye on clamd for you !
i=0
count=0
while [ $i -ne 1 ]
do
count=`ps aux | grep amavis | grep clamd | wc -l`
while [ $count -ne 1 ]
do
date=`date`
echo "$date : Process CLAMD redemarre sur gw-smtp-75" | mail
[EMAIL PROTECTED]
echo "$date : Process CLAMD redemarre sur gw-smtp-75" | wall
/usr/local/sbin/clamd -c /etc/clamav.conf
count=`ps aux | grep amavis | grep clamd | wc -l`
done
sleep 10
done
Nicolas
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] la part de Kelsey
> Cummings
> Envoye : mardi 23 mars 2004 02:54
> A : [EMAIL PROTECTED]
> Objet : Re: [Clamav-users] memory leak?
>
>
> On Sun, Mar 21, 2004 at 01:14:53PM -0600, John Jolet wrote:
> > If anything, i'd say it leaked less...course, i jumped from .65 to .7.
>
> It seems to be worse for me. Much worse. I had archive scanning off
> before the jump to 67, and then to 70-rc from 65. Both of these appear
> to have the problem. I can cron a daily restart to clear it up but
> that's kind a jenky.
>
> --
> Kelsey Cummings - [EMAIL PROTECTED] sonic.net, inc.
> System Administrator 2260 Apollo Way
> 707.522.1000 (Voice) Santa Rosa, CA 95407
> 707.547.2199 (Fax) http://www.sonic.net/
> Fingerprint = D5F9 667F 5D32 7347 0B79 8DB7 2B42 86B6 4E2C 3896
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users