[Aide] AIDE memory leak [Re: AIDE performance problems]

Paul Hessels paul at hessels.ca
Sat Apr 11 02:54:15 EEST 2015


Okay, valgrind is done.  It didn't report any memory leaks.

On Fri, Apr 10, 2015 at 4:01 PM, Paul Hessels <paul at hessels.ca> wrote:

> I am in no way a valgrind expert, but I have it running on a subset of
> files with memcheck enabled. We'll see how it does.
>
> Is it possible that 12G of ram is how much memory is required and this
> isn't a memory leak?
>
> On Fri, Apr 10, 2015 at 1:50 PM, David V Duccini <david at backpack.com>
> wrote:
>
>>
>> We could try running aide against valgrind to see if there is a leak
>>
>> -dvd
>>
>> On Apr 10, 2015, at 12:40, Paul Hessels <paul at hessels.ca> wrote:
>>
>> Okay, so I don't have enough memory to run an aide init.  The machine has
>> 12G of memory and its running against 2.5TB and about 20 million files.
>>
>> Over the 12 hour period it comes very close to finishing but doesn't make
>> it.  Here is an process listing and memory stats right before it died.
>>
>> root     13396 58.7 97.3 12047724 12003268 pts/1 D  Apr09 536:49
>> /usr/bin/aide --config /var/lib/aide/aide.conf.autogenerated --init
>> root     13651  0.0  0.0   7832   868 pts/1    S+   13:11   0:00 grep
>> autog
>>
>>              total       used       free     shared    buffers     cached
>> Mem:         12045      11928        116          0          3         61
>> -/+ buffers/cache:      11862        182
>> Swap:            0          0          0
>>
>> Here is the memory graph from munin
>>
>> https://www.dropbox.com/s/5i1jdtxa4922j18/Screenshot%202015-04-10%2013.38.09.png?dl=0
>>
>> Is this a memory leak? Or is there a legit reason to be using 12G of
>> memory to scan this number or size of files?
>>
>> Is this the wrong email list for this?
>>
>> On Thu, Apr 9, 2015 at 9:40 AM, Paul Hessels <paul at hessels.ca> wrote:
>>
>>> Thank you Hannes, I will give it a try.  It takes a long time to run my
>>> tests of course.
>>>
>>> With the old version I think I am encountering a memory leak, eventually
>>> the aide process is using at 12G of ram and the machine dies.  Hopefully
>>> the new version doesn't have this problem.
>>>
>>> On Wed, Apr 8, 2015 at 3:48 PM, Hannes von Haugwitz <
>>> hannes at vonhaugwitz.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> On Mon, Apr 06, 2015 at 01:30:18PM -0400, Paul Hessels wrote:
>>>> > Its from debian wheezy:
>>>> >
>>>> > # aide --version
>>>> > Aide 0.15.1
>>>>
>>>> Last night I uploaded the version of Debian jessie
>>>> (0.16~a2.git20130520-3) to wheezy-backports. Please give this version a
>>>> try. It might perform a bit better.
>>>>
>>>> Best regards
>>>>
>>>> Hannes
>>>> _______________________________________________
>>>> Aide mailing list
>>>> Aide at cs.tut.fi
>>>> https://mailman.cs.tut.fi/mailman/listinfo/aide
>>>>
>>>
>>>
>> _______________________________________________
>> Aide mailing list
>> Aide at cs.tut.fi
>> https://mailman.cs.tut.fi/mailman/listinfo/aide
>>
>>
>>
>> _______________________________________________
>> Aide mailing list
>> Aide at cs.tut.fi
>> https://mailman.cs.tut.fi/mailman/listinfo/aide
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cs.tut.fi/pipermail/aide/attachments/20150410/95bd855e/attachment.html>


More information about the Aide mailing list