inotifyd - possible memory leak?

Denys Vlasenko vda.linux at googlemail.com
Tue Nov 17 15:57:31 UTC 2009


On Tuesday 17 November 2009 15:38, Piotr Grudzinski wrote:
> >> 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.

> >> 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

--
vda


More information about the busybox mailing list