On Wed, 2010-04-14 at 16:27 -0700, Jim Preston wrote: > On Apr 14, 2010, at 4:07 AM, Chris wrote: > > > On Tue, 2010-04-13 at 19:56 -0700, Jim Preston wrote: > >> Chris wrote: > >>> I'll admit I'm not too smart when it comes to how much memory an > >>> app is > >>> supposed to use but it seems to me that since I installed .96 on my > >>> Mandriva 2010 system it's using an excessive amount. > >>> > >>> > >>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > >>> 834 clamav 20 0 375m 344m 5420 S 0.0 45.6 0:25.13 clamd > >>> > >>> or am I incorrect in my assumption? If not what settings can I > >>> change to > >>> limit the amount of memory being used? > >>> > >>> Chris > >>> > >>> > >> The question is how much memory does it use on avg? Also, what OS are > >> you using? > > > > Mandriva 2010 Linux > > > >> > >> If it is actively scanning something then..... that still seems > >> excessive but...... how much memory do you have in the system? > >> > > Mem: 773232k total, 760964k used, 12268k free, 17156k > > buffers > > Swap: 1076312k total, 418044k used, 658268k free, 134416k > > cached > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > > COMMAND > > 834 clamav 20 0 375m 234m 844 S 0.0 31.0 2:49.72 clamd > > > >> Here is my usage: > >> PID PPID RSS VSZ %CPU %MEM CMD > >> 3264 1 93768 116336 0.0 6.0 > >> /usr/local/sbin/clamd > >> > > > > Clam is only running on a desktop, no mail server at all. > > Yeah, that is too much if it is not scanning AND it does not appear to > be since CPU usage is zero. > > If you stop clamd and restart, does the percentage change? > > I will take a more in-depth look at home and see what I find. > > Thanks, Jim Jim, when I did the restart I ran:
[r...@localhost ~]# time service clamd restart Stopping Clam AntiVirus Daemon: [ OK ] Starting Clam AntiVirus Daemon: [ OK ] 22.65user 2.26system 2:21.33elapsed 17%CPU (0avgtext+0avgdata 0maxresident)k 469928inputs+8outputs (2944major+199817minor)pagefaults 0swaps and it shows it took over 2 minutes for the restart. Memory usage shortly after the restart looks like this: Cpu(s): 13.3%us, 9.0%sy, 0.0%ni, 77.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 773232k total, 637480k used, 135752k free, 32496k buffers Swap: 1076312k total, 521596k used, 554716k free, 92860k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4137clamav 20 0 367m 155m 424 S 0.0 20.6 0:00.00 clamd Chris -- KeyID 0xE372A7DA98E6705C
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml