Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Dennis Peterson
Tomasz Papszun wrote: [...] It is important to start clamd with a user id that has enough privileges to scan the files that are submitted to it. In your case that would appear to be what ever user Amavisd runs as. Even better: create a separate user:group for clamav, add that user to amavisd'

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Tomasz Papszun
[...] > It is important to start clamd with a user id that has > enough privileges to scan the files that are submitted to it. In your > case that would appear to be what ever user Amavisd runs as. Even better: create a separate user:group for clamav, add that user to amavisd's group (by means

RE: [Clamav-users] clamscan resource hog

2006-09-20 Thread Nigel Horne
Two quick ways to improve performance: 1) use clamdscan not clamscan 2) use software that is not written in an interpreted language such as Perl. -Nigel ___ http://lurker.clamav.net/list/clamav-users.html

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Benjamin Adams
got error gone :P On Sep 20, 2006, at 11:22 AM, Benjamin Adams wrote: yep, clamscan is linked right with Amavisd. I'm going to change over to clamd. Just trying to find out how to do this. I'm guessing to disable I need to change something in Amavis and postfix/master.cf Currently I'm just

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Dennis Peterson
Benjamin Adams wrote: yep, clamscan is linked right with Amavisd. I'm going to change over to clamd. Just trying to find out how to do this. I'm guessing to disable I need to change something in Amavis and postfix/master.cf Currently I'm just trying to start clamd: ERROR: Please edit the examp

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Benjamin Adams
yep, clamscan is linked right with Amavisd. I'm going to change over to clamd. Just trying to find out how to do this. I'm guessing to disable I need to change something in Amavis and postfix/master.cf Currently I'm just trying to start clamd: ERROR: Please edit the example config file /privat

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Dennis Peterson
Benjamin Adams wrote: I'm trying to get the load down on my mail server but clamscan keeps coming up and using resources. [snippage] I'm not sure what to do to fix this problem, thanks for any help. Clamscan has to reload all the virus patterns each time it runs so there is a big startu

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread kwijibo
Benjamin Adams wrote: I'm trying to get the load down on my mail server but clamscan keeps coming up and using resources. clamav /usr/bin/clamscan --stdout --disable-summary -r /var/amavis/amavis-20060920T103310-24504/parts clamav amavisd (ch1-24545-01) clamav freshclam -d -D -pfreshcla

Re: [Clamav-users] clamscan resource hog

2006-09-20 Thread Rick Macdougall
Benjamin Adams wrote: I'm trying to get the load down on my mail server but clamscan keeps coming up and using resources. Load Avg: 1.65, 2.37, 2.22 CPU usage: 5.0% user, 10.9% sys, 84.0% idle SharedLibs: num = 176, resident = 33.0M code, 3.72M data, 13.9M LinkEdit MemRegions: num = 16

[Clamav-users] clamscan resource hog

2006-09-20 Thread Benjamin Adams
I'm trying to get the load down on my mail server but clamscan keeps coming up and using resources. Load Avg: 1.65, 2.37, 2.22 CPU usage: 5.0% user, 10.9% sys, 84.0% idle SharedLibs: num = 176, resident = 33.0M code, 3.72M data, 13.9M LinkEdit MemRegions: num = 16529, resident = 77