On 2009-07-07 17:08, Alex Gavriloff wrote:
> hi there
>
> can anyone tell me is that normal for clamd to allocate so much memory?
> 0.95.1 wasnt so greed :)
>
> FreeBSD grand.ins.dn.ua 6.3-STABLE FreeBSD 6.3-STABLE #0: Tue Feb  5 11:44:01 
> EET 2008     
>
> ================
> last pid: 57290;  load averages:  0.01,  0.04,  0.06                          
>                                                                              
> up 192+05:53:29 17:00:29
> 107 processes: 1 running, 106 sleeping
> CPU states:  2.3% user,  0.0% nice,  0.0% system,  0.0% interrupt, 97.7% idle
> Mem: 1307M Active, 347M Inact, 237M Wired, 56M Cache, 112M Buf, 53M Free
> Swap: 4096M Total, 308K Used, 4096M Free
>
>   PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
> 31286 clamav      3  96    0   865M   715M ucond   14:49  0.00% clamd
>
>
> =============
>   ClamdTOP version 0.95.2   Tue Jul  7 17:01:09 2009                          
>              
> NO CONNTIME LIV IDL QUEUE  MAXQ   MEM HOST           ENGINE DBVER DBTIME      
>              
>  1 00:00:10   1   0     0     0   N/A local          0.95.2  9540 2009-07-07 
> 13h           
> Details for Clamd version:  ClamAV 0.95.2/9540/Tue Jul  7 13:52:52 2009       
>              
> Primary threads: live   1 idle   0 max  10        
> lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
>  [||||                                ]           xMem:  heap   N/A mmap   
> N/A unused  N/Ax
> Queue:     0 items      0 max                     xLibc: used   N/A free   
> N/A total   N/Ax
>  [                                    ]           xPool: count    1 used  
> 589M total  591M
>
>   

No, using 589M memory for the DB is not OK.

Are you using only the official DBs, or are you also using 3rdparty DBs?

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to