inotifyd - possible memory leak?

Piotr Grudzinski piotr at powersmiths.com
Tue Nov 17 16:25:51 UTC 2009


>> >> With bb-1.15.2 my system looses 40K to 52K of RAM as reported by the 
>> >> free
>> >> command.
>> >
>> > Loses 40K to 52K per what period of time? Memory leak is characterized
>> > by unlimited growth of used memory, not by fixed amount.
>>
>> In my case, the above sequence of 3 inotifyd is triggered every 5 minute;
>> and every 5 minutes an additional 40 to 52K of RAM is lost.
>
> Understood.
> Did you check that no processes are created and left running
> by every event? 50K is about right for, say, additional "sleep 9999"
> process.

There are no processes (visible with the ps command) left running.

>> >> bb-1.13.1 looses nothing. The problem seems to be related to bb-1.15.2
>> >> I am running hush shell.
>> >
>> > 1.13.1 - 1.15.2 interval is large.
>> > Can you narrow it down more?
>>
>> Would you suggest any particular release?
>
> 1.14.4

With 1.14.4 I can see free RAM going down in 40 to 56K chunks.
--
Piotr 



More information about the busybox mailing list