[Clamav-users] ClamAV 0.96 and memory usage

2010-06-08 Thread Vivien Raoul
Hello, I use an old PC as a gateway at home ; with mail and web proxies using the clamAV socket. This machine only has 128MB of RAM. It worked very well until I install the 0.96 version (and more recently the 0.96.1 one). First of all, the startup takes more time ; it's not really a big problem si

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-08 Thread Vivien Raoul
2010/6/8 Török Edwin > On 06/08/2010 02:14 PM, Vivien Raoul wrote: > > Hello, > > > > I use an old PC as a gateway at home ; with mail and web proxies using > the > > clamAV socket. This machine only has 128MB of RAM. It worked very well > until > > I inst

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-09 Thread Vivien Raoul
a problem ; during the reload process, I can't browse ; as clamd is occupied to reload, it can't scan the streams. How could I do to still use it while it's reloading ? 2010/6/8 Török Edwin > On 06/08/2010 07:54 PM, Vivien Raoul wrote: > > 2010/6/8 Török Edwin > >

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-10 Thread Vivien Raoul
2010/6/10 Török Edwin > On 06/09/2010 11:34 AM, Vivien Raoul wrote: > > I tried to renice clamd with a priority of 19. It doesn't change the > > behaviour of scanning while I'm browsing, and the reload process doesn't > > take more time ; I'd even say it&#

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-10 Thread Vivien Raoul
Thank you for the patch. I applied it, the force-reload seems to be (really) faster. I'll tell you if I see changes on selfchecks. 2010/6/10 Török Edwin > On 06/10/2010 12:30 PM, Vivien Raoul wrote: > > What exactly do you mean by reload ? The fact is that I can't browse >

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-10 Thread Vivien Raoul
Actually, I'm not sure of what I did ; I couldn't apply the patch with "patch", and I made the changes manually ; but it seems that all the free() are in the #if 0 block. What is exactly your patch supposed to do ? 2010/6/10 Vivien Raoul > Thank you for the patch. I appli

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-10 Thread Vivien Raoul
2010/6/10 Török Edwin > On 2010-06-10 21:29, Vivien Raoul wrote: > > Actually, I'm not sure of what I did ; I couldn't apply the patch with > > "patch", and I made the changes manually ; but it seems that all the > free() > > are in the #if 0 block. &

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-16 Thread Vivien Raoul
mory usage : how could I do to make clamd use more RAM than it does now ? 2010/6/10 Török Edwin > On 2010-06-10 22:29, Vivien Raoul wrote: > > 2010/6/10 Török Edwin > > > >> On 2010-06-10 21:29, Vivien Raoul wrote: > >>> Actually, I'm not sure of what I

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-16 Thread Vivien Raoul
I will try it and I'll tell you. About RAM, I didn't explain well. I meant, how to do to make clamav use more RAM than swap ; i.e. how to reserve RAM to clamav in order to avoid swap. 2010/6/16 Török Edwin > On 06/16/2010 07:47 PM, Vivien Raoul wrote: > > I retried to ap

Re: [Clamav-users] ClamAV 0.96 and memory usage

2010-06-16 Thread Vivien Raoul
I probably didn't mention it, indeed ; the OS I use is Debian. And I can't add RAM in any way. It worked perfectly with the former version, that's why I asked this question here. Regards. 2010/6/16 Chuck Swiger > On Jun 16, 2010, at 11:26 AM, Vivien Raoul wrote: > > I w

[clamav-users] Database reload improvement

2011-03-10 Thread Vivien Raoul
Hello, I used to post here a few months ago about the engine's memory consumption. The newer versions give me satisfaction, but during the process of database reload (after a freshclam update), the network can be unreachable during a few minutes. To explain the situation quickly, I use a gateway u

Re: [clamav-users] Database reload improvement

2011-03-11 Thread Vivien Raoul
To answer to your questions, I use 0.97 too, and yes I am the one with the 128MB gateway. Concerning my first question, I disabled the mempool ; I should then have no problem having 2 databases at the same time. Do you think the functionality of asynchronous database reload could be added in the fu