Re: [Clamav-users] 0.93.3 memory doubling problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Russell Jones
Date:  
To: ClamAV users ML
Subject: Re: [Clamav-users] 0.93.3 memory doubling problem
Yay! I am happy to report that the patch has fixed the database
reloading / memory doubling problem beautifully:

Fri Jul 11 15:41:30 2008 -> Thread cleaning up. thr_alive(0)Fri Jul 11
15:42:01 2008 -> No stats for Database check - forcing reload
Fri Jul 11 15:42:01 2008 -> Active threads(1). Waking them, and enter wait.
Fri Jul 11 15:42:01 2008 -> Entering wait. Alive(1)
Fri Jul 11 15:42:01 2008 -> Accepted connection on port 1155, fd 8
Fri Jul 11 15:42:01 2008 -> stream 1155: Eicar-Test-Signature FOUND
Fri Jul 11 15:42:01 2008 -> Thread cleaning up. thr_alive(0)Fri Jul 11
15:42:01 2008 -> Received signal. Active threads(0)
Fri Jul 11 15:42:02 2008 -> Reading databases from /var/clamav
Fri Jul 11 15:42:04 2008 -> Database correctly reloaded (348878 signatures)

At this point it would usually be at ~130M. It is still sitting at 70M
and happily chugging along


Dennis Peterson wrote:
> Stephen Gran wrote:
>
>> On Fri, Jul 11, 2008 at 09:52:43AM -0700, Dennis Peterson said:
>>
>>> Tomasz Kojm wrote:
>>>
>>>> On Fri, 11 Jul 2008 09:48:01 -0500
>>>> Russell Jones <> wrote:
>>>>
>>>>
>>>>> .. the memory usage jumps to 131 megs and stays there. What is causing
>>>>> this, and how can I fix it?
>>>>>
>>>> Please have a look at
>>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1028
>>>>
>>>>
>>> Is this not a problem with Sparc processors, then? I've not witnessed it
>>> at all on my systems.
>>>
>> I can't remember - are you a solaris shop? A different c library could
>> certainly explain it, although I suspect a different cpu wouldn't make
>> much of a difference. It has to do with how memory is allocated and
>> garbage collected, and a different malloc/free/realloc/etc implementation
>> might make a difference there.
>>
>
> I'm all Solaris. It runs at around 73M all the time on all systems
> (Sol9). It has been running constantly since the day 9.3.3 came out.
>
> dp
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml